PkgRadar

Package evidence

@trenchwork/[email protected]

New Account With Lifecycle Hook: package first published 16 day(s) ago, 5 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.

Weekly downloads
6
Versions published
5
First published
May 2026
Publisher
trenchwork

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":["@trenchwork/[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":["@trenchwork/[email protected]"],"fail_on":"high"}'
Publishertrenchwork
Artifact bytes981,559
Previous version2.0.3
Published2026-06-15T21:16:36.264Z
SHA-256087959ee5da678f4e98674b5b5a90e3fd6d9e7cd2a0ff04abbfe32811996150a

Why flagged

What the scanner saw

New Account With Lifecycle Hook: package first published 16 day(s) ago, 5 total version(s), has lifecycle hook

Not observed: package install, lifecycle script execution, or sandbox execution. PkgRadar only inspects on-disk artifacts.

Availability ledger

available

high
Last checked
highRisk
15Score
2.0.4Version
Status history (1 event)
  1. newavailable · risk high · score 15 · status changed

Evidence

Static findings

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

SeverityKindPathDetailPoints
highNew Account With Lifecycle Hookpackage.jsonpackage first published 16 day(s) ago, 5 total version(s), has lifecycle hook25
Show all 4 findings (low-signal and informational)
SeverityKindPathDetailPoints
highNew Account With Lifecycle Hookpackage.jsonpackage first published 16 day(s) ago, 5 total version(s), has lifecycle hook25
lowCredential file accesspackage/dist/core/cndPolicy.jsmatched "AWS_ACCESS_KEY"5
lowCredential file accesspackage/dist/headless/interactiveShell.jsmatched ".ssh/"5
lowInstall-time lifecycle scriptpackage.jsonpostinstall="node scripts/postinstall.cjs"5

Manifest

Package metadata

Scripts84
  • advisorynode scripts/vigil-run.mjs scripts/_advisory-investigation.mjs
  • analyzenode scripts/vigil-run.mjs scripts/security-analysis.mjs
  • analyze:localnode scripts/vigil-run.mjs scripts/security-analysis.mjs --local
  • api:mcpnode scripts/vigil-run.mjs scripts/api-security-mcp.mjs
  • api:scannode scripts/vigil-run.mjs scripts/api-security-mcp.mjs
  • autofixnode scripts/vigil-autofix.mjs
  • autofix:applynode scripts/vigil-autofix.mjs --commit
  • autofix:drynode scripts/vigil-autofix.mjs --dry-run
  • aws:deploybash aws/scripts/deploy.sh
  • buildtsc -p tsconfig.json --skipLibCheck || true
  • build:prodNODE_ENV=production MINIFY=true npm run build
  • build:watchtsc --watch
  • cleannode -e "const { rmSync } = require('fs'); for (const target of ['dist', '.tsbuildinfo']) { try { rmSync(target, { recursive: true, force: true, maxRetries: 10 }); } catch (error) { console.warn('Clean warning:', error.code, 'for', target); } }"
  • clinode dist/bin/vigil.js
  • cloud:awsnode scripts/vigil-run.mjs scripts/cloud-security-mcp.mjs
  • cloud:k8snode scripts/vigil-run.mjs scripts/cloud-security-mcp.mjs
  • cloud:mcpnode scripts/vigil-run.mjs scripts/cloud-security-mcp.mjs
  • code:riskynode scripts/vigil-run.mjs scripts/_risky-code-scan.mjs
  • cvenode scripts/vigil-run.mjs scripts/_cve-lookup.mjs --text
  • cve:jsonnode scripts/vigil-run.mjs scripts/_cve-lookup.mjs --json
  • daemonnode scripts/vigil-daemon.mjs
  • daemon:watchnode scripts/vigil-daemon.mjs --interval 30
  • devnode --loader ts-node/esm src/bin/vigil.ts
  • dev:watchnode --watch --loader ts-node/esm src/bin/vigil.ts
  • dnsnode scripts/vigil-run.mjs scripts/_dns-recon.mjs --emit-vigil-findings
  • dns:jsonnode scripts/vigil-run.mjs scripts/_dns-recon.mjs --json
  • docker:builddocker build -t trenchwork/vigil:latest .
  • docker:rundocker run -it -v $(pwd):/workspace trenchwork/vigil:latest vigil
  • ec2:deploybash aws/scripts/deploy-ec2-scheduler.sh
  • ec2:runbash aws/scripts/deploy-ec2-scheduler.sh erosolar-api --run-now
  • …and 54 more.
Dependencies15
  • @modelcontextprotocol/sdk^1.29.0
  • boxen^8.0.1
  • chalk^5.6.2
  • cli-spinners^3.4.0
  • gradient-string^3.0.0
  • ink^6.8.0
  • ink-spinner^5.0.0
  • nanospinner1.2.2
  • open^11.0.0
  • openai^6.42.0
  • ora^9.4.0
  • react^19.2.7
  • react-devtools-core^7.0.1
  • typescript5.9.3
  • zod^3.25.76
Optional dependencies1
  • playwright^1.60.0