All @antv/l7-maps versions

@antv/l7-maps @2.26.10

rejected
This version was rejected. It did not pass GreenFlagged's security review and is not served by the registry. The findings and risk dispositions below explain why.
100
Risk Score
License
No
Install Scripts
11
Dependencies
7
Dev Dependencies
385.2 KB
Package Size
Published

Maintainers

lviseifreestyle21soundquietelaine.q.10sturubysakuya223serializedowenxdzhaoyangzhanmeiwjgogogoleungwensendoriiaaronyardsimaqdxq613intchoussusan_annjinke.lilzxuearmy8735atoolbaizndengfupingneoddishjeffy2012zqluafc163pomelo-nwukopiluwakyccnuzindexpanyuqibubkoozengyuekasmineboyu.zljl1ud0ngq1newbyvectorwinniexingchenlulikn9117xdddstsemious2020esoranadia_liubbsqqmxz96102openwaynepearminipddpdyiqianyaozhanbacxxxxxnlaixingui.lxgsusiwen8yanxiongzeyuwangrainy25ghzzhangjunjie-lokiflash1yisi.wangdreammy23biupiubiupiubasketduckxuying1027banxuanpearl_wangbqxbqxbqxalex_zjtduxinyue023wang1212leondt1gaofuhong

Dependencies (11)

PackageConstraintRegistry Status
pmtiles ^2.7.2 No greenflagged match
gl-matrix ^3.1.0 auto_approved
mapbox-gl ^1.2.1 auto_approved
maplibre-gl ^3.5.2 No greenflagged match
@antv/l7-map 2.25.10 auto_approved
@antv/l7-core 2.25.10 auto_approved
eventemitter3 ^4.0.0 auto_approved
@antv/l7-utils 2.25.10 auto_approved
@babel/runtime ^7.7.7 auto_approved
@amap/amap-jsapi-loader ^1.0.1 auto_approved
viewport-mercator-project ^6.2.1 No greenflagged match

Dev Dependencies (7)

PackageConstraintRegistry Status
@types/bmapgl ^0.0.7 Not imported
@types/gl-matrix ^2.4.5 auto_approved
@types/mapbox-gl ^1.11.2 No greenflagged match
@types/amap-js-api ^1.4.6 Not imported
@types/google.maps ^3.54.10 auto_approved
@map-component/tmap-types ^0.1.3 Not imported
@types/viewport-mercator-project ^6.1.0 No greenflagged match

Transitive Dependency Tree

40 transitive deps max depth 3
  ├─ @amap/amap-jsapi-loader ^1.0.1 → 1.0.1
  ├─ @antv/l7-core 2.25.10 → 2.25.10
  ├─ @antv/l7-map 2.25.10 → 2.25.10
  ├─ @antv/l7-utils 2.25.10 → 2.25.10
  ├─ @babel/runtime ^7.7.7 → 7.29.7
  ├─ eventemitter3 ^4.0.0 → 4.0.7
  ├─ gl-matrix ^3.1.0 → 3.4.4
  ├─ mapbox-gl ^1.2.1 → 1.13.1
  ├─ maplibre-gl ^3.5.2
  ├─ pmtiles ^2.7.2
├─ viewport-mercator-project ^6.2.1
  ├─ @antv/async-hook ^2.2.9 → 2.2.9
  ├─ @antv/l7-utils 2.25.10 → 2.25.10
  ├─ @babel/runtime ^7.7.7 → 7.29.7
  ├─ @mapbox/geojson-rewind ^0.5.0 → 0.5.2
  ├─ @mapbox/geojson-types ^1.0.2 → 1.0.2
  ├─ @mapbox/jsonlint-lines-primitives ^2.0.2 → 2.0.2
  ├─ @mapbox/mapbox-gl-supported ^1.5.0
  ├─ @mapbox/point-geometry ^0.1.0
  ├─ @mapbox/tiny-sdf 1.2.5
  ├─ @mapbox/tiny-sdf ^1.1.1
  ├─ @mapbox/unitbezier ^0.0.0
  ├─ @mapbox/unitbezier ^0.0.1 → 0.0.1
  ├─ @mapbox/vector-tile ^1.3.1
  ├─ @mapbox/whoots-js ^3.1.0 → 3.1.0
  ├─ @turf/bbox ^6.5.0
  ├─ @turf/bbox-polygon ^6.5.0
  ├─ @turf/helpers ^6.1.4
  ├─ csscolorparser ~1.0.3 → 1.0.3
  ├─ earcut ^2.2.2 → 2.2.4
  ├─ earcut ^2.1.0 → 2.2.4
  ├─ eventemitter3 ^4.0.4 → 4.0.7
  ├─ eventemitter3 ^4.0.0 → 4.0.7
  ├─ geojson-vt ^3.2.1
  ├─ gl-matrix ^3.1.0 → 3.4.4
  ├─ gl-matrix ^3.2.1 → 3.4.4
  ├─ grid-index ^1.1.0 → 1.1.0
  ├─ hammerjs ^2.0.8 → 2.0.8
  ├─ minimist ^1.2.5 → 1.2.8
  ├─ murmurhash-js ^1.0.0 → 1.0.0
  ├─ pbf ^3.2.1
  ├─ potpack ^1.0.1
  ├─ quickselect ^2.0.0
  ├─ rw ^1.3.3 → 1.3.3
  ├─ supercluster ^7.1.0
  ├─ tinyqueue ^2.0.3
  ├─ viewport-mercator-project ^6.2.1
├─ vt-pbf ^3.1.1 → 3.1.3
  ├─ @babel/runtime ^7.7.7 → 7.29.7
  ├─ @mapbox/point-geometry 0.1.0
  ├─ @mapbox/vector-tile ^1.3.1
  ├─ @turf/bbox ^6.5.0
  ├─ @turf/bbox-polygon ^6.5.0
  ├─ @turf/helpers ^6.1.4
  ├─ async ^3.1.1 → 3.2.6
  ├─ earcut ^2.1.0 → 2.2.4
  ├─ eventemitter3 ^4.0.0 → 4.0.7
  ├─ get-stream ^6.0.1 → 6.0.1
  ├─ gl-matrix ^3.1.0 → 3.4.4
  ├─ minimist ^1.2.6 → 1.2.8
  ├─ pbf ^3.2.1

Changes from v2.25.10

Dependency Changes

Script Changes

+ preinstall

File Changes

1 added 0 removed 1 modified size delta: +486.9 KB

SAST Findings (12)

CRITICAL MAL-2026-4045: Malicious code in @antv/l7-maps (npm) osv

Part of the **Mini Shai-Hulud** supply chain attack campaign in which a threat actor compromised the npm account `atool` and published 631 malicious versions across 314 npm packages in an automated 22-minute burst. Each malicious version injects a `preinstall` hook that executes a 498KB obfuscated Bun script, using the GitHub API as a covert exfiltration channel. Credentials are committed to attacker-controlled repositories following Dune-themed naming patterns (e.g., `harkonnen-melange-742`). Stolen data includes AWS keys, GitHub PATs, npm tokens, GCP service accounts, Azure credentials, Kubernetes service account tokens, SSH keys, Docker auth configs, database connection strings, Stripe keys, and Slack tokens. Malicious versions also establish persistence via CI/CD workflow injection (a GitHub Actions workflow named `Run Copilot` dumps all secrets via `toJSON(secrets)`), AI agent session hooks, and a system daemon named `kitty-monitor`. This specific package (`@antv/l7-maps`) was modified to include a malicious `preinstall` hook executing the obfuscated Bun payload. --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (bde7b6221196a2e88fe633b71ec130eb3009ab80f3a16133716bae3fd624764c) The package @antv/l7-maps was found to contain malicious code. ## Source: google-open-source-security (847ef6b381d410bf176f7414a6f0fbbcf46a5f39b6d9011e126b279bd2d781df) This package was compromised as part of the ongoing "Mini Shai-Hulud is back" worm by the TeamPCP threat actor. The package will steal credentials and then propogate it to every package it has access to. The package also attempts to remain persistent.

HIGH Package has 'preinstall' script install-scripts

Script: bun run index.js

HIGH SHA-pinned github dependency (optionalDependencies): @antv/setup npm-metadata

Dependency '@antv/setup' in `optionalDependencies` points to 'github:antvis/G2#1916faa365f2788b6e193514872d51a242876569' instead of a registry version. URL dependencies bypass the registry and can be swapped at any time. A 40-character commit SHA in a dependency URL is a strong supply-chain signal — the 2026-05-11 TanStack/Mini Shai-Hulud attack used this exact shape in `optionalDependencies` to smuggle a malicious payload past lifecycle-script and OSV checks.

HIGH Publisher changed: lzxue → atool (on 2026-05-19) provenance

This version was published by a different npm account than previous versions on 2026-05-19. This could indicate a legitimate maintainer transition or an account compromise.

HIGH New obfuscated file: index.js source-diff

Newly added source file contains lines over 3000 chars, suggesting minified or obfuscated code. New obfuscated files are a strong attack indicator.

HIGH New obfuscated file: es/maplibre/map.js source-diff

Newly added source file contains lines over 3000 chars, suggesting minified or obfuscated code. New obfuscated files are a strong attack indicator.

HIGH obfuscation-while-true: index.js:1 semgrep

while(!![]) loop is a signature of javascript-obfuscator output > 1 | const _0x5d6bea=_0x1169;(function(_0x3187cf,_0x895a8e){const _0x5f2282={_0x2bb395:0x3eb,_0x56f5b5:0x6c1,_0x24d254:0x85d,

HIGH obfuscation-hex-functions: index.js:1 semgrep

Hex-prefixed function names (_0x...) are generated by javascript-obfuscator > 1 | const _0x5d6bea=_0x1169;(function(_0x3187cf,_0x895a8e){const _0x5f2282={_0x2bb395:0x3eb,_0x56f5b5:0x6c1,_0x24d254:0x85d,

HIGH obfuscation-hex-functions: index.js:1 semgrep

Hex-prefixed function names (_0x...) are generated by javascript-obfuscator > 1 | const _0x5d6bea=_0x1169;(function(_0x3187cf,_0x895a8e){const _0x5f2282={_0x2bb395:0x3eb,_0x56f5b5:0x6c1,_0x24d254:0x85d,

HIGH env-spread: index.js:1 semgrep

Spreading entire process.env into an object — may capture all secrets > 1 | const _0x5d6bea=_0x1169;(function(_0x3187cf,_0x895a8e){const _0x5f2282={_0x2bb395:0x3eb,_0x56f5b5:0x6c1,_0x24d254:0x85d,

HIGH obfuscation-hex-functions: index.js:1 semgrep

Hex-prefixed function names (_0x...) are generated by javascript-obfuscator > 1 | const _0x5d6bea=_0x1169;(function(_0x3187cf,_0x895a8e){const _0x5f2282={_0x2bb395:0x3eb,_0x56f5b5:0x6c1,_0x24d254:0x85d,

LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

Review Summary

Risk score: 100 (capped from 313). Findings: 1 critical (+40), 10 high (+250), 2 medium (+20), 1 low (+3).

Published to npm: