Package evidence
@sf-agentscript/[email protected]
Install Lifecycle Suppresses Failure: postinstall="pnpm rebuild tree-sitter 2>/dev/null || true"
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
- 228
- Versions published
- 3
- First published
- May 2026
- Publisher
- nasiruddin.khan
Recommended action
Block this updateStatic 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":["@sf-agentscript/[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":["@sf-agentscript/[email protected]"],"fail_on":"high"}'Why flagged
What the scanner saw
Install Lifecycle Suppresses Failure: postinstall="pnpm rebuild tree-sitter 2>/dev/null || true"
Not observed: package install, lifecycle script execution, or sandbox execution. PkgRadar only inspects on-disk artifacts.
Availability ledger
available
Status history (1 event)
- new → available · risk high · score 35 · status changed
Evidence
Static findings
5 static · 0 from release diff · showing high-signal first.
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | Install Lifecycle Suppresses Failure | package.json | postinstall="pnpm rebuild tree-sitter 2>/dev/null || true" | 20 |
| medium | New Account With Lifecycle Hook | package.json | package first published 34 day(s) ago, 3 total version(s), has lifecycle hook | 10 |
Show all 5 findings (low-signal and informational)
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | Install Lifecycle Suppresses Failure | package.json | postinstall="pnpm rebuild tree-sitter 2>/dev/null || true" | 20 |
| medium | New Account With Lifecycle Hook | package.json | package first published 34 day(s) ago, 3 total version(s), has lifecycle hook | 10 |
| low | Install-time lifecycle script | package.json | preinstall="node scripts/preinstall.cjs" | 5 |
| low | Install-time lifecycle script | package.json | install="node-gyp-build" | 5 |
| low | Install-time lifecycle script | package.json | postinstall="pnpm rebuild tree-sitter 2>/dev/null || true" | 5 |
Manifest
Package metadata
Scripts20
buildpnpm run generate && pnpm run build:nodebuild:allpnpm run build && pnpm run build:pythonbuild:fullpnpm run generate && pnpm run build:node && pnpm run build:wasmbuild:nodenode-gyp rebuildbuild:pythonpip install -e . || echo 'Python build requires pip in PATH'build:wasmtree-sitter build --wasmcleanrm -rf build prebuilds *.wasmgeneratetree-sitter generateinstallnode-gyp-buildparsetree-sitter parsepostinstallpnpm rebuild tree-sitter 2>/dev/null || trueprebuildpnpm run generate && prebuildify --napi --stripprebuild:linux-x64./scripts/build-prebuilds-linux-x64.shpreinstallnode scripts/preinstall.cjsprestartpnpm run build:wasmstarttree-sitter playgroundtestrm -rf coverage && mkdir -p coverage && NODE_V8_COVERAGE=coverage/node node --test bindings/node/*_test.js && CC=gcc tree-sitter testtest:allpnpm test && pnpm run test:wasmtest:corpus:updatetree-sitter test --updatetest:wasmnode test_wasm.mjs
Dependencies2
node-addon-api^8.5.0node-gyp-build^4.8.4