PkgRadar

Package evidence

@figma/[email protected]

Native Addon Gyp Action: binding.gyp runs a script or chains shell during node-gyp build (executes outside package.json lifecycle)

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.

Versions published
8
First published
Feb 2022
Publisher
jfirebaugh

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":["@figma/[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":["@figma/[email protected]"],"fail_on":"high"}'
Publisherjfirebaugh
Artifact bytes62,423
Previous version0.28.0-figma.3
Published2023-07-20T00:24:01.828Z
SHA-256ecb83d1914dcbe1b7c9287b9a0ac6eea805833055d0dc9670f002fda10217fd6

Why flagged

What the scanner saw

New Lifecycle Script Vs Previous: install added in 0.28.0-figma.4 vs 0.28.0-figma.3: "node lifecycleScripts/preinstall && node lifecycleScripts/install"

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
125Score
0.28.0-figma.4Version
Status history (2 events)
  1. availableavailable · risk high · score 125 · status available -> available, risk high -> high, score 90 -> 125
  2. newavailable · risk high · score 90 · status changed

Related candidates

Linked campaigns and clusters

Repeated static TTPactive

Native Addon Gyp Action — binding.gyp runs a script or chains shell during node-gyp build (executes outside package.json lifecycle)

44 members · evidence strength 90
Repeated static TTPcandidate

Native Addon Gyp Action — binding.gyp runs a script or chains shell during node-gyp build (executes outside package.json lifecycle)

44 members · max score 147

Evidence

Static findings

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

SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsoninstall added in 0.28.0-figma.4 vs 0.28.0-figma.3: "node lifecycleScripts/preinstall && node lifecycleScripts/install"40
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 0.28.0-figma.4 vs 0.28.0-figma.3: "node lifecycleScripts/postinstall"40
highNative Addon Gyp Actionpackage/binding.gypbinding.gyp runs a script or chains shell during node-gyp build (executes outside package.json lifecycle)35
Show all 5 findings (low-signal and informational)
SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsoninstall added in 0.28.0-figma.4 vs 0.28.0-figma.3: "node lifecycleScripts/preinstall && node lifecycleScripts/install"40
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 0.28.0-figma.4 vs 0.28.0-figma.3: "node lifecycleScripts/postinstall"40
highNative Addon Gyp Actionpackage/binding.gypbinding.gyp runs a script or chains shell during node-gyp build (executes outside package.json lifecycle)35
lowInstall-time lifecycle scriptpackage.jsoninstall="node lifecycleScripts/preinstall && node lifecycleScripts/install"5
lowInstall-time lifecycle scriptpackage.jsonpostinstall="node lifecycleScripts/postinstall"5

Manifest

Package metadata

Scripts20
  • covnpm run cppcov && npm run filtercov && npm run mergecov
  • coverallscat ./test/coverage/merged.lcov | coveralls
  • cppcovmkdir -p test/coverage/cpp && ./lcov-1.10/bin/lcov --gcov-tool /usr/bin/gcov-4.9 --capture --directory build/Release/obj.target/nodegit/src --output-file test/coverage/cpp/lcov_full.info
  • filtercov./lcov-1.10/bin/lcov --extract test/coverage/cpp/lcov_full.info $(pwd)/src/* $(pwd)/src/**/* $(pwd)/include/* $(pwd)/include/**/* --output-file test/coverage/cpp/lcov.info && rm test/coverage/cpp/lcov_full.info
  • generateJsonnode generate/scripts/generateJson
  • generateMissingTestsnode generate/scripts/generateMissingTests
  • generateNativeCodenode generate/scripts/generateNativeCode
  • installnode lifecycleScripts/preinstall && node lifecycleScripts/install
  • installDebugBUILD_DEBUG=true npm install
  • lintjshint lib test/tests test/utils lifecycleScripts
  • mergecovlcov-result-merger 'test/**/*.info' 'test/coverage/merged.lcov' && ./lcov-1.10/bin/genhtml test/coverage/merged.lcov --output-directory test/coverage/report
  • mochamocha --expose-gc test/runner test/tests --timeout 15000
  • mochaDebugmocha --expose-gc --inspect-brk test/runner test/tests --timeout 15000
  • postinstallnode lifecycleScripts/postinstall
  • rebuildnode generate && node-gyp configure build
  • rebuildDebugnode generate && node-gyp configure --debug build
  • recompilenode-gyp configure build
  • recompileDebugnode-gyp configure --debug build
  • testnpm run lint && node --expose-gc test
  • xcodeDebugnode-gyp configure -- -f xcode
Dependencies9
  • @axosoft/nan^2.18.0-gk.1
  • @mapbox/node-pre-gyp^1.0.8
  • fs-extra^7.0.0
  • got^11.8.6
  • json5^2.1.0
  • lodash^4.17.14
  • node-gyp^9.3.0
  • ramda^0.25.0
  • tar-fs^2.1.1