Package evidence
@egchq/[email protected]
New Account With Lifecycle Hook: package first published 3 day(s) ago, 7 total version(s), has lifecycle hook
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
- 7
- First published
- Jun 2026
- 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
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":["@egchq/[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":["@egchq/[email protected]"],"fail_on":"high"}'Why flagged
What the scanner saw
New Lifecycle Script Vs Previous: preinstall added in 1.0.8 vs 1.0.7: "node scripts/preinstall.js"
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 45 · status changed
Evidence
Static findings
2 static · 1 from release diff · showing high-signal first.
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | New Lifecycle Script Vs Previous | package.json | preinstall added in 1.0.8 vs 1.0.7: "node scripts/preinstall.js" | 40 |
| medium | New Account With Lifecycle Hook | package.json | package first published 3 day(s) ago, 7 total version(s), has lifecycle hook | 10 |
Show all 3 findings (low-signal and informational)
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | New Lifecycle Script Vs Previous | package.json | preinstall added in 1.0.8 vs 1.0.7: "node scripts/preinstall.js" | 40 |
| medium | New Account With Lifecycle Hook | package.json | package first published 3 day(s) ago, 7 total version(s), has lifecycle hook | 10 |
| low | Install-time lifecycle script | package.json | preinstall="node scripts/preinstall.js" | 5 |
Manifest
Package metadata
Scripts12
bootstrapnode scripts/bootstrap-state-db.jsbuildnpm run build:opencode && npm run build:mcpbuild:mcpcd mcp/servers/egc-guardian && npm ci --silent && npm run build && cd ../egc-memory && npm ci --silent && npm run buildbuild:opencodenode scripts/build-opencode.jsdoctornode scripts/doctor.jslinteslint .preinstallnode scripts/preinstall.jsprepacknpm run build:opencode && npm run build:mcppromptnode scripts/gemini.jstestnode tests/run-all.jstest:hooksnode tests/hooks/hooks.test.jstest:state-storenode tests/lib/state-store.test.js
Dependencies4
ajv^8.12.0argparse^2.0.1better-sqlite3^12.10.0js-yaml^4.2.0