Package evidence
@balena/[email protected]
Install Lifecycle Remote Or Exec: postinstall="node scripts/fetch-binary.js || npm run build:go"
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
- 1,118Niche · −30% score
- Versions published
- 63Established · −30% score
- First published
- Sep 2025
- Publisher
- GitHub ActionsTrusted automation · −70% score
Effective trust discount applied: −70% (max across signals — discounts don’t stack). New install-lifecycle deltas vs the previous release would clear the discount.
Recommended action
Review before promotingMixed signals: the package has indicators worth reading before allowing the update in automated dependency flows.
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":["@balena/[email protected]"],"fail_on":"review"}'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":["@balena/[email protected]"],"fail_on":"review"}'Why flagged
What the scanner saw
Install Lifecycle Remote Or Exec: postinstall="node scripts/fetch-binary.js || npm run build:go"
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 review · score 10 · status changed
Evidence
Static findings
2 static · 0 from release diff · showing high-signal first.
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | Install Lifecycle Remote Or Exec | package.json | postinstall="node scripts/fetch-binary.js || npm run build:go" | 30 |
Show all 2 findings (low-signal and informational)
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | Install Lifecycle Remote Or Exec | package.json | postinstall="node scripts/fetch-binary.js || npm run build:go" | 30 |
| low | Install-time lifecycle script | package.json | postinstall="node scripts/fetch-binary.js || npm run build:go" | 5 |
Manifest
Package metadata
Scripts12
buildnpm run clean && tsc --project tsconfig.release.jsonbuild:goecho 'Building Go binary from source...' && CGO_ENABLED=0 go build -C lib -ldflags='-s -w' -o "../bin/balena-compose-parser$(go env GOEXE)"cleanrimraf distcompose:downdocker compose -f docker-compose.test.yml down --volumeslintbalena-lint lib/ test/ scripts/*.js && tsc --noEmitlint-fixbalena-lint --fix lib/ test/ scripts/*.jspostinstallnode scripts/fetch-binary.js || npm run build:goprepacknpm run buildtestnpm run lint && npm run test:unittest:compose(docker compose -f docker-compose.test.yml run --build --rm sut || docker compose -f docker-compose.test.yml logs); npm run compose:downtest:integrationts-mocha 'test/**/*.spec.ts'test:unitts-mocha 'test/**/*unit.spec.ts'
Dependencies3
semver^7.7.2tar^7.5.1typed-error^3.2.2