PkgRadar

Package evidence

@antv/[email protected]

Install Lifecycle Remote Or Exec: postinstall="node -e \"try{require('./postinstall')}catch(e){}\" || exit 0"

Trust signals

Why this verdict

PkgRadar discounts a release’s score when public reputation argues against novel malware. The verdict above already reflects these — the panel just explains what was applied.

Weekly downloads
7,584Niche · −30% score
Versions published
91Mature · −50% score
First published
Feb 2020
Publisher
lviser

Effective trust discount applied: 50% (max across signals — discounts don’t stack). New install-lifecycle deltas vs the previous release would clear the discount.

Recommended action

Block this update

Static evidence trips multiple high-signal indicators. Quarantine the release until the publisher validates the change or you can rule out the indicators below.

Block this release in CIcurl · GitHub Actions

Fail the build when this package version is added or upgraded. Replace $PKGRADAR_TOKEN with a Pro / Team API key from your dashboard.

curl -fsS https://pkgradar.com/gate/npm \
  -H "Authorization: Bearer $PKGRADAR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"specs":["@antv/[email protected]"],"fail_on":"high"}'

GitHub Actions step:

- name: PkgRadar gate
  run: |
    curl -fsS https://pkgradar.com/gate/npm \
      -H "Authorization: Bearer ${{ secrets.PKGRADAR_TOKEN }}" \
      -H "Content-Type: application/json" \
      -d '{"specs":["@antv/[email protected]"],"fail_on":"high"}'
Publisherlviser
Artifact bytes19,318
Previous version2.4.0
Published2022-12-22T07:14:16.447Z
SHA-25667434931a23dc0ecb7e4f47ae3155b500579ae5bba89dc91e06d0e8168118404

Why flagged

What the scanner saw

New Lifecycle Script Vs Previous: postinstall added in 2.4.1 vs 2.4.0: "node -e \"try{require('./postinstall')}catch(e){}\" || exit 0"

1 candidate cluster(s) currently reference this release.

Not observed: package install, lifecycle script execution, or sandbox execution. PkgRadar only inspects on-disk artifacts.

Availability ledger

available

high
Last checked
highRisk
95Score
2.4.1Version
Status history (1 event)
  1. newavailable · risk high · score 95 · status changed

Related candidates

Linked campaigns and clusters

Publisher / release actor burstactive

lviser

3 members · evidence strength 67
Publisher / release actor burstcandidate

lviser

3 members · max score 95

Evidence

Static findings

3 static · 1 from release diff · showing high-signal first.

SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 2.4.1 vs 2.4.0: "node -e \"try{require('./postinstall')}catch(e){}\" || exit 0"40
highInstall Lifecycle Remote Or Execpackage.jsonpostinstall="node -e \"try{require('./postinstall')}catch(e){}\" || exit 0"30
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="node -e \"try{require('./postinstall')}catch(e){}\" || exit 0"20
Show all 4 findings (low-signal and informational)
SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 2.4.1 vs 2.4.0: "node -e \"try{require('./postinstall')}catch(e){}\" || exit 0"40
highInstall Lifecycle Remote Or Execpackage.jsonpostinstall="node -e \"try{require('./postinstall')}catch(e){}\" || exit 0"30
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="node -e \"try{require('./postinstall')}catch(e){}\" || exit 0"20
lowInstall-time lifecycle scriptpackage.jsonpostinstall="node -e \"try{require('./postinstall')}catch(e){}\" || exit 0"5

Manifest

Package metadata

Scripts10
  • buildfather-build
  • deploynpm run docs:build && npm run docs:deploy
  • docs:builddumi build
  • docs:deploygh-pages -d docs-dist
  • postinstallnode -e "try{require('./postinstall')}catch(e){}" || exit 0
  • prettierprettier --write "src/**/*.{js,jsx,tsx,ts,less,md,json}"
  • releasenpm run build && npm publish
  • startdumi dev
  • testumi-test
  • test:coverageumi-test --coverage
Dependencies7
  • @babel/runtime^7.7.7
  • @types/eslint^8.4.1
  • @types/lodash^4.14.180
  • @types/mapbox-gl^1.11.2
  • ahooks^2.6.1
  • load-styles^2.0.0
  • lodash^4.17.21