PkgRadar

Package evidence

@devcortex/[email protected]

Install Lifecycle Remote Or Exec: postinstall="node -e \"var fs=require('fs'),path=require('path');['dist/index.js','bin/dcx.cjs'].forEach(function(f){try{fs.chmodSync(path.join(__dirname,f),0o755)}catch(e){}});\" 2>/dev/null || true"

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
15
First published
May 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 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":["@devcortex/[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":["@devcortex/[email protected]"],"fail_on":"high"}'
Artifact bytes54,116
Previous version1.5.1
Published2026-06-01T09:20:02.554Z
SHA-256f510f07f51f819f52e1c1c4b9336637585436b305621c3c309c7952b3d064abe

Why flagged

What the scanner saw

New Lifecycle Script Vs Previous: postinstall added in 1.5.3 vs 1.5.1: "node -e \"var fs=require('fs'),path=require('path');['dist/index.js','bin/dcx.cjs'].forEach(function(f){try{fs.chmodSync(path.join(__dirname,f),0o755)}catch(e){}});\" 2>/dev/null || true"

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

Availability ledger

available

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

Evidence

Static findings

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

SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 1.5.3 vs 1.5.1: "node -e \"var fs=require('fs'),path=require('path');['dist/index.js','bin/dcx.cjs'].forEach(function(f){try{fs.chmodSync(path.join(__dirname,f),0o755)}catch(e){}});\" 2>/dev/null || true"40
highInstall Lifecycle Remote Or Execpackage.jsonpostinstall="node -e \"var fs=require('fs'),path=require('path');['dist/index.js','bin/dcx.cjs'].forEach(function(f){try{fs.chmodSync(path.join(__dirname,f),0o755)}catch(e){}});\" 2>/dev/null || true"30
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="node -e \"var fs=require('fs'),path=require('path');['dist/index.js','bin/dcx.cjs'].forEach(function(f){try{fs.chmodSync(path.join(__dirname,f),0o755)}catch(e){}});\" 2>/dev/null || true"20
Show all 4 findings (low-signal and informational)
SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 1.5.3 vs 1.5.1: "node -e \"var fs=require('fs'),path=require('path');['dist/index.js','bin/dcx.cjs'].forEach(function(f){try{fs.chmodSync(path.join(__dirname,f),0o755)}catch(e){}});\" 2>/dev/null || true"40
highInstall Lifecycle Remote Or Execpackage.jsonpostinstall="node -e \"var fs=require('fs'),path=require('path');['dist/index.js','bin/dcx.cjs'].forEach(function(f){try{fs.chmodSync(path.join(__dirname,f),0o755)}catch(e){}});\" 2>/dev/null || true"30
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="node -e \"var fs=require('fs'),path=require('path');['dist/index.js','bin/dcx.cjs'].forEach(function(f){try{fs.chmodSync(path.join(__dirname,f),0o755)}catch(e){}});\" 2>/dev/null || true"20
lowInstall-time lifecycle scriptpackage.jsonpostinstall="node -e \"var fs=require('fs'),path=require('path');['dist/index.js','bin/dcx.cjs'].forEach(function(f){try{fs.chmodSync(path.join(__dirname,f),0o755)}catch(e){}});\" 2>/dev/null || true"5

Manifest

Package metadata

Scripts6
  • buildtsc && node scripts/add-shebang.mjs && chmod +x dist/index.js && chmod +x bin/dcx.cjs
  • devtsc --watch
  • linteslint src --ext .ts
  • postinstallnode -e "var fs=require('fs'),path=require('path');['dist/index.js','bin/dcx.cjs'].forEach(function(f){try{fs.chmodSync(path.join(__dirname,f),0o755)}catch(e){}});" 2>/dev/null || true
  • testvitest run
  • typechecktsc --noEmit
Dependencies5
  • @clack/prompts^0.7.0
  • chalk^5.3.0
  • commander^12.0.0
  • conf^12.0.0
  • socket.io-client^4.7.0