PkgRadar

Package evidence

@trenchwork/[email protected]

New Account With Lifecycle Hook: package first published 1 day(s) ago, 2 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
2
First published
Jun 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 bytes607,557
Previous version1.3.0
Published2026-06-12T03:06:28.590Z
SHA-2561ac2f9a204b64a8d54e14c82d6da2f30a0db5c6a2763f8d118acadab837db798

Why flagged

What the scanner saw

New Account With Lifecycle Hook: package first published 1 day(s) ago, 2 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
5Score
1.4.0Version
Status history (1 event)
  1. newavailable · risk high · score 5 · status changed

Evidence

Static findings

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

SeverityKindPathDetailPoints
highNew Account With Lifecycle Hookpackage.jsonpackage first published 1 day(s) ago, 2 total version(s), has lifecycle hook25
Show all 2 findings (low-signal and informational)
SeverityKindPathDetailPoints
highNew Account With Lifecycle Hookpackage.jsonpackage first published 1 day(s) ago, 2 total version(s), has lifecycle hook25
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