PkgRadar

Package evidence

@redonvn/[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
214
Versions published
29
First published
May 2026
Publisher
haianh123bgln

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":["@redonvn/[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":["@redonvn/[email protected]"],"fail_on":"review"}'
Publisherhaianh123bgln
Artifact bytes238,102
Previous version0.1.31
Published2026-05-30T03:27:54.271Z
SHA-25693f717f8e58c8179bab889c5b036a96fd24982ef4b91bc6880495d08ff0a5b5b

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
0.1.33Version
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

Scripts20
  • buildtsc -p tsconfig.json
  • build:devcross-env BUILD_ENV=dev npm run -s clean && cross-env BUILD_ENV=dev node scripts/write-build-info.cjs && tsc -p tsconfig.json && npm run build:ui
  • build:prodcross-env BUILD_ENV=prod npm run -s clean && cross-env BUILD_ENV=prod node scripts/write-build-info.cjs && tsc -p tsconfig.json && npm run build:ui
  • build:uicd ui && npm install && npm run build
  • build:watchtsc -p tsconfig.json --watch
  • cleanrimraf dist
  • devts-node --transpile-only src/cli/index.ts
  • dev:logints-node --transpile-only src/cli/index.ts login --env dev
  • dev:servets-node --transpile-only src/cli/index.ts serve --port 8317
  • dev:startts-node --transpile-only src/cli/index.ts start
  • install:localnpm run build:dev && npm install -g . && node -e "const{cpSync,mkdirSync}=require('fs');mkdirSync(require('os').homedir()+'/.redai/ui',{recursive:true});cpSync('ui/dist',require('os').homedir()+'/.redai/ui/dist',{recursive:true,force:true});console.log('UI copied to ~/.redai/ui/dist')"
  • postinstallnode scripts/postinstall.cjs
  • prebuildnode scripts/write-build-info.cjs
  • prepublishOnlynode -e "if(!process.env.SKIP_PREPUBLISH_GUARD){console.error('\nUse `npm run publish:prod` or `npm run publish:dev` to ensure correct BUILD_ENV is baked.\nIf you really want to publish directly, set SKIP_PREPUBLISH_GUARD=1.\n');process.exit(1)}"
  • prod:loginnode ./bin/redai.js login --env prod
  • prod:servenode ./bin/redai.js serve --port 8317
  • prod:startnode ./bin/redai.js start
  • publish:devnpm run build:dev && cross-env SKIP_PREPUBLISH_GUARD=1 npm publish --access public --tag dev
  • publish:prodnpm run build:prod && cross-env SKIP_PREPUBLISH_GUARD=1 npm publish --access public
  • startnode ./bin/redai.js
Dependencies12
  • @modelcontextprotocol/sdk^1.29.0
  • @redonvn/cli-protocol^0.1.5
  • @redonvn/redai-cli-sdk^0.1.7
  • @vscode/ripgrep^1.15.9
  • axios^1.7.7
  • chalk^4.1.2
  • fast-glob^3.3.2
  • prompts^2.4.2
  • socket.io-client^4.7.5
  • undici^6.19.7
  • ws^8.18.0
  • zod^3.23.8
Optional dependencies2
  • @nut-tree-fork/nut-js^4.2.6
  • screenshot-desktop^1.15.4