PkgRadar

Package evidence

@trenchwork/[email protected]

Install-time lifecycle script: postinstall="node scripts/postinstall.cjs"

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
571
Versions published
17
First published
May 2026
Publisher
trenchwork

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":["@trenchwork/[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":["@trenchwork/[email protected]"],"fail_on":"review"}'
Publishertrenchwork
Artifact bytes599,030
Previous version1.1.55
Published2026-06-01T23:37:41.307Z
SHA-256df69512d6b1a716af5c48fbc017ac47e400758b0d68bf8ac9297a11a04bbe29e

Why flagged

What the scanner saw

Install-time lifecycle script: postinstall="node scripts/postinstall.cjs"

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

Availability ledger

available

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

Evidence

Static findings

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

No high-signal findings — see all findings below.

Show all 1 findings (low-signal and informational)
SeverityKindPathDetailPoints
lowInstall-time lifecycle scriptpackage.jsonpostinstall="node scripts/postinstall.cjs"5

Manifest

Package metadata

Scripts23
  • buildtsc
  • 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/deepseek.js
  • devnode --loader ts-node/esm src/bin/deepseek.ts
  • dev:watchnode --watch --loader ts-node/esm src/bin/deepseek.ts
  • linteslint src/**/*.ts --max-warnings 200
  • lint:fixeslint src/**/*.ts --fix
  • optimizenode scripts/optimize-build.mjs
  • postbuildnode scripts/postbuild.mjs
  • postinstallnode scripts/postinstall.cjs
  • prebuildnpm run clean
  • prepublishOnlynpm run build
  • pretestnpm run build
  • releasechmod +x scripts/create-release.sh && scripts/create-release.sh patch
  • release:majorchmod +x scripts/create-release.sh && scripts/create-release.sh major
  • release:minorchmod +x scripts/create-release.sh && scripts/create-release.sh minor
  • startnode dist/bin/deepseek.js
  • testjest --config jest.config.cjs
  • test:coveragejest --config jest.config.cjs --coverage
  • test:watchjest --config jest.config.cjs --watch
  • type-checktsc --noEmit
Dependencies13
  • boxen^8.0.1
  • chalk^5.6.2
  • cli-spinners^3.3.0
  • gradient-string^3.0.0
  • ink^7.0.1
  • ink-spinner^5.0.0
  • nanospinner1.2.2
  • open^11.0.0
  • openai^6.10.0
  • ora^9.0.0
  • react^19.2.0
  • react-devtools-core^7.0.1
  • typescript5.9.3