All @antv/l7 versions

@antv/l7 @2.27.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
9
Dependencies
0
Dev Dependencies
557.2 KB
Package Size
Published

Maintainers

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

Dependencies (9)

PackageConstraintRegistry Status
bun ^1.3.13 auto_approved
@antv/l7-core 2.25.10 auto_approved
@antv/l7-maps 2.25.10 auto_approved
@antv/l7-scene 2.25.10 auto_approved
@antv/l7-utils 2.25.10 auto_approved
@babel/runtime ^7.7.7 auto_approved
@antv/l7-layers 2.25.10 No greenflagged match
@antv/l7-source 2.25.10 auto_approved
@antv/l7-component 2.25.10 auto_approved

Transitive Dependency Tree

55 transitive deps max depth 5
  ├─ @antv/l7-component 2.25.10 → 2.25.10
  ├─ @antv/l7-core 2.25.10 → 2.25.10
  ├─ @antv/l7-layers 2.25.10
  ├─ @antv/l7-maps 2.25.10 → 2.25.10
  ├─ @antv/l7-scene 2.25.10 → 2.25.10
  ├─ @antv/l7-source 2.25.10 → 2.25.10
  ├─ @antv/l7-utils 2.25.10 → 2.25.10
  ├─ @babel/runtime ^7.7.7 → 7.29.7
├─ bun ^1.3.13 → 1.3.14
  ├─ @amap/amap-jsapi-loader ^1.0.1 → 1.0.1
  ├─ @antv/async-hook ^2.2.9 → 2.2.9
  ├─ @antv/l7-component 2.25.10 → 2.25.10
  ├─ @antv/l7-core 2.25.10 → 2.25.10
  ├─ @antv/l7-layers 2.25.10
  ├─ @antv/l7-map 2.25.10 → 2.25.10
  ├─ @antv/l7-maps 2.25.10 → 2.25.10
  ├─ @antv/l7-renderer 2.25.10 → 2.25.10
  ├─ @antv/l7-utils 2.25.10 → 2.25.10
  ├─ @babel/runtime ^7.7.7 → 7.29.7
  ├─ @mapbox/geojson-rewind ^0.5.2 → 0.5.2
  ├─ @mapbox/tiny-sdf 1.2.5
  ├─ @mapbox/vector-tile ^1.3.1
  ├─ @turf/bbox ^6.5.0
  ├─ @turf/bbox-polygon ^6.5.0
  ├─ @turf/helpers ^6.1.4
  ├─ @turf/invariant ^6.1.2
  ├─ @turf/meta ^6.0.2
  ├─ earcut ^2.1.0 → 2.2.4
  ├─ eventemitter3 ^4.0.0 → 4.0.7
  ├─ eventemitter3 ^4.0.7 → 4.0.7
  ├─ geojson-vt ^3.2.1
  ├─ gl-matrix ^3.1.0 → 3.4.4
  ├─ hammerjs ^2.0.8 → 2.0.8
  ├─ mapbox-gl ^1.2.1 → 1.13.1
  ├─ maplibre-gl ^3.5.2
  ├─ pbf ^3.2.1
  ├─ pmtiles ^2.7.2
  ├─ supercluster ^7.0.0
├─ viewport-mercator-project ^6.2.1
  ├─ @amap/amap-jsapi-loader ^1.0.1 → 1.0.1
  ├─ @antv/async-hook ^2.2.9 → 2.2.9
  ├─ @antv/g-device-api ^1.6.4 → 1.6.13
  ├─ @antv/l7-core 2.25.10 → 2.25.10
  ├─ @antv/l7-layers 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
  ├─ @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.1 → 0.0.1
  ├─ @mapbox/unitbezier ^0.0.0
  ├─ @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
  ├─ async ^3.1.1 → 3.2.6
  ├─ csscolorparser ~1.0.3 → 1.0.3
  ├─ earcut ^2.2.2 → 2.2.4
  ├─ earcut ^2.1.0 → 2.2.4
  ├─ eventemitter3 ^4.0.0 → 4.0.7
  ├─ eventemitter3 ^4.0.4 → 4.0.7
  ├─ geojson-vt ^3.2.1
  ├─ get-stream ^6.0.1 → 6.0.1
  ├─ gl-matrix ^3.2.1 → 3.4.4
  ├─ gl-matrix ^3.1.0 → 3.4.4
  ├─ grid-index ^1.1.0 → 1.1.0
  ├─ hammerjs ^2.0.8 → 2.0.8
  ├─ mapbox-gl ^1.2.1 → 1.13.1
  ├─ maplibre-gl ^3.5.2
  ├─ minimist ^1.2.6 → 1.2.8
  ├─ minimist ^1.2.5 → 1.2.8
  ├─ murmurhash-js ^1.0.0 → 1.0.0
  ├─ pbf ^3.2.1
  ├─ pmtiles ^2.7.2
  ├─ potpack ^1.0.1
  ├─ quickselect ^2.0.0
  ├─ regl 1.6.1
  ├─ rw ^1.3.3 → 1.3.3
  ├─ supercluster ^7.0.0
  ├─ supercluster ^7.1.0
  ├─ tinyqueue ^2.0.3
  ├─ viewport-mercator-project ^6.2.1
├─ vt-pbf ^3.1.1 → 3.1.3
  ├─ @antv/async-hook ^2.2.9 → 2.2.9
  ├─ @antv/l7-utils 2.25.10 → 2.25.10
  ├─ @antv/util ^3.3.4 → 3.3.11
  ├─ @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/point-geometry ^0.1.0
  ├─ @mapbox/tiny-sdf ^1.1.1
  ├─ @mapbox/tiny-sdf 1.2.5
  ├─ @mapbox/unitbezier ^0.0.1 → 0.0.1
  ├─ @mapbox/unitbezier ^0.0.0
  ├─ @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
  ├─ @webgpu/types ^0.1.34 → 0.1.70
  ├─ async ^3.1.1 → 3.2.6
  ├─ csscolorparser ~1.0.3 → 1.0.3
  ├─ earcut ^2.2.2 → 2.2.4
  ├─ earcut ^2.1.0 → 2.2.4
  ├─ eventemitter3 ^4.0.0 → 4.0.7
  ├─ eventemitter3 ^5.0.1 → 5.0.4
  ├─ eventemitter3 ^4.0.4 → 4.0.7
  ├─ geojson-vt ^3.2.1
  ├─ get-stream ^6.0.1 → 6.0.1
  ├─ gl-matrix ^3.4.3 → 3.4.4
  ├─ 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.6 → 1.2.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
  ├─ tslib ^2.5.3 → 2.8.1
  ├─ 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
  ├─ fast-deep-equal ^3.1.3 → 3.1.3
  ├─ get-stream ^6.0.1 → 6.0.1
  ├─ gl-matrix ^3.3.0 → 3.4.4
  ├─ gl-matrix ^3.1.0 → 3.4.4
  ├─ minimist ^1.2.6 → 1.2.8
  ├─ pbf ^3.2.1
  ├─ tslib ^2.3.1 → 2.8.1

Changes from v2.25.10

Dependency Changes

ChangePackageVersion
added bun ^1.3.13

Script Changes

+ preinstall

File Changes

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

SAST Findings (11)

CRITICAL MAL-2026-4033: Malicious code in @antv/l7 (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`) 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 (ec0d1ac3282b34bc6e8253b2d70891043fbbd2189c49a5ae153f91ded5d1c820) The package @antv/l7 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 obfuscation-while-true: index.js:1 semgrep

while(!![]) loop is a signature of javascript-obfuscator output > 1 | const _0x192368=_0x2a3a;(function(_0x44be0e,_0x3ff020){const _0x46b694={_0x4a8b2d:0x5bf,_0x1acf94:0x3d9,_0x2ef3d3:0x527,

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

Hex-prefixed function names (_0x...) are generated by javascript-obfuscator > 1 | const _0x192368=_0x2a3a;(function(_0x44be0e,_0x3ff020){const _0x46b694={_0x4a8b2d:0x5bf,_0x1acf94:0x3d9,_0x2ef3d3:0x527,

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

Hex-prefixed function names (_0x...) are generated by javascript-obfuscator > 1 | const _0x192368=_0x2a3a;(function(_0x44be0e,_0x3ff020){const _0x46b694={_0x4a8b2d:0x5bf,_0x1acf94:0x3d9,_0x2ef3d3:0x527,

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

Hex-prefixed function names (_0x...) are generated by javascript-obfuscator > 1 | const _0x192368=_0x2a3a;(function(_0x44be0e,_0x3ff020){const _0x46b694={_0x4a8b2d:0x5bf,_0x1acf94:0x3d9,_0x2ef3d3:0x527,

HIGH env-spread: index.js:1 semgrep

Spreading entire process.env into an object — may capture all secrets > 1 | const _0x192368=_0x2a3a;(function(_0x44be0e,_0x3ff020){const _0x46b694={_0x4a8b2d:0x5bf,_0x1acf94:0x3d9,_0x2ef3d3:0x527,

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 311). Findings: 1 critical (+40), 9 high (+225), 4 medium (+40), 2 low (+6), 1 info (+0).

Published to npm: