All @antv/algorithm versions

@antv/algorithm @0.2.26

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
MIT
License
Yes
Install Scripts
2
Dependencies
18
Dev Dependencies
483.3 KB
Package Size
Published

graph algorithm

Maintainers

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

Keywords

graphalgorithmantvG6

Dependencies (2)

PackageConstraintRegistry Status
tslib ^2.0.0 auto_approved
@antv/util ^2.0.13 No greenflagged match

Dev Dependencies (18)

PackageConstraintRegistry Status
jest ^26.6.3 auto_approved
father ^2.30.0 No greenflagged match
rimraf ^3.0.2 auto_approved
tslint ^6.1.3 auto_approved
ts-jest ^26.4.4 No greenflagged match
webpack ^5.17.0 auto_approved
ts-loader ^8.0.14 No greenflagged match
typescript ^4.1.3 auto_approved
@babel/core ^7.12.10 auto_approved
@types/jest ^26.0.18 No greenflagged match
webpack-cli ^4.9.1 No greenflagged match
babel-loader ^8.2.2 No greenflagged match
@umijs/fabric ^2.5.6 auto_approved
jest-electron ^0.1.11 Not imported
worker-loader ^3.0.7 auto_approved
@babel/preset-env ^7.12.7 auto_approved
@babel/preset-typescript ^7.12.7 auto_approved
@babel/plugin-proposal-class-properties ^7.12.1 auto_approved

Transitive Dependency Tree

2 transitive deps max depth 1
  ├─ @antv/util ^2.0.13
  ├─ tslib ^2.0.0 → 2.8.1

Changes from v0.1.26

Dependency Changes

Script Changes

+ preinstall

File Changes

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

Risk Dispositions (6 applicable to this version, 0 other)

Accepted rules are downgraded to INFO on future analyses; rejected rules escalate to CRITICAL.

Rule Source Disposition Author Reason
install-script:preinstall install-scripts reject AI AI (install-scripts): Malicious preinstall running obfuscated payload; generalizes to all versions with this script.
obfuscated-file:index.js source-diff reject AI AI (source-diff): Obfuscated malicious payload; not legitimate for this graph-algorithm package.
url-dep:@antv/setup npm-metadata reject AI AI (npm-metadata): SHA-pinned GitHub dep in optionalDependencies used to smuggle payload.
semgrep:env-spread semgrep reject AI AI (semgrep): Credential harvesting via process.env spread in obfuscated code.
semgrep:obfuscation-while-true semgrep reject AI AI (semgrep): javascript-obfuscator output in a graph algorithm library is malicious.
semgrep:obfuscation-hex-functions semgrep reject AI AI (semgrep): Hex-named functions from javascript-obfuscator; malicious payload.

SAST Findings (11)

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 Missing gitHead — previous versions had it provenance

This version has no gitHead field linking it to a source commit, but previous versions did. This suggests the publish environment changed. Published by: atool.

HIGH Publisher changed: kopiluwaky → 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 _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 273). Findings: 10 high (+250), 2 medium (+20), 1 low (+3).

Published to npm: