PkgRadar

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 promoting

Mixed 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"}'
Artifact bytes25,332
Previous version0.2.6-build-support-unconfined-security-opt-8b8f9c20f451d078c715d3a7cc55df0611efef8c-1
Published2026-05-28T19:40:11.529Z
SHA-25677d623f6939b1a24d662f80c57f56a38f24c48eec0ce9a33f63cb1e3e07e7b9a

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

review
Last checked
reviewRisk
10Score
0.2.6Version
Status history (1 event)
  1. newavailable · risk review · score 10 · status changed

Evidence

Static findings

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

SeverityKindPathDetailPoints
highInstall Lifecycle Remote Or Execpackage.jsonpostinstall="node scripts/fetch-binary.js || npm run build:go"30
Show all 2 findings (low-signal and informational)
SeverityKindPathDetailPoints
highInstall Lifecycle Remote Or Execpackage.jsonpostinstall="node scripts/fetch-binary.js || npm run build:go"30
lowInstall-time lifecycle scriptpackage.jsonpostinstall="node scripts/fetch-binary.js || npm run build:go"5

Manifest

Package metadata

Scripts12
  • buildnpm run clean && tsc --project tsconfig.release.json
  • build: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 dist
  • compose:downdocker compose -f docker-compose.test.yml down --volumes
  • lintbalena-lint lib/ test/ scripts/*.js && tsc --noEmit
  • lint-fixbalena-lint --fix lib/ test/ scripts/*.js
  • postinstallnode scripts/fetch-binary.js || npm run build:go
  • prepacknpm run build
  • testnpm run lint && npm run test:unit
  • test:compose(docker compose -f docker-compose.test.yml run --build --rm sut || docker compose -f docker-compose.test.yml logs); npm run compose:down
  • test:integrationts-mocha 'test/**/*.spec.ts'
  • test:unitts-mocha 'test/**/*unit.spec.ts'
Dependencies3
  • semver^7.7.2
  • tar^7.5.1
  • typed-error^3.2.2