PkgRadar

Package evidence

@agent-spaces/[email protected]

Install Lifecycle Remote Or Exec: postinstall="node -e \"try{require('node-pty')}catch(e){if(!require('fs').existsSync('node_modules/node-pty/prebuilds')){process.exit(1)}}\""

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
260
Versions published
24
First published
May 2026
Publisher
hunmer

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":["@agent-spaces/[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":["@agent-spaces/[email protected]"],"fail_on":"high"}'
Publisherhunmer
Artifact bytes14,511,497
Previous version0.3.64
Published2026-05-24T08:32:19.951Z
SHA-256fbc0583ad40c7bdc345cf66bfb7dd9ac26e12ecc78eb7ed6b06e84f35072b7de

Why flagged

What the scanner saw

Install Lifecycle Remote Or Exec: postinstall="node -e \"try{require('node-pty')}catch(e){if(!require('fs').existsSync('node_modules/node-pty/prebuilds')){process.exit(1)}}\""

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

Availability ledger

available

high
Last checked
highRisk
60Score
0.3.65Version
Status history (5 events)
  1. availableavailable · risk high · score 60 · status available -> available, risk high -> high, score 133 -> 60
  2. availableavailable · risk high · score 133 · status available -> available, risk high -> high, score 136 -> 133
  3. availableavailable · risk high · score 136 · status available -> available, risk high -> high, score 220 -> 136
  4. availableavailable · risk high · score 220 · status available -> available, risk high -> high, score 573 -> 220
  5. newavailable · risk high · score 573 · status changed

Related candidates

Linked campaigns and clusters

Publisher / release actor burststale

hunmer

2 members · evidence strength 64
Repeated static TTPstale

Install-time lifecycle script — postinstall="node -e \"try{require('node-pty')}catch(e){if(!require('fs').existssync('node_modules/node-pty/prebuilds')){process.exit(1)}}\""

2 members · evidence strength 70
Repeated static TTPstale

Install-time lifecycle script — postinstall="node -e \"try{require('node-pty')}catch(e){if(!require('fs').existsSync('node_modules/node-pty/prebuilds')){process.exit(1)}}\""

2 members · evidence strength 70

Evidence

Static findings

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

SeverityKindPathDetailPoints
highInstall Lifecycle Remote Or Execpackage.jsonpostinstall="node -e \"try{require('node-pty')}catch(e){if(!require('fs').existsSync('node_modules/node-pty/prebuilds')){process.exit(1)}}\""30
mediumCredential file accesspackage/dist/install.shmatched ".npmrc"10
Show all 12 findings (low-signal and informational)
SeverityKindPathDetailPoints
highInstall Lifecycle Remote Or Execpackage.jsonpostinstall="node -e \"try{require('node-pty')}catch(e){if(!require('fs').existsSync('node_modules/node-pty/prebuilds')){process.exit(1)}}\""30
mediumCredential file accesspackage/dist/install.shmatched ".npmrc"10
lowCredential file accesspackage/dist/web/_next/static/chunks/0d6~~lv0-6kex.jsmatched ".npmrc"5
lowCredential file accesspackage/dist/web/_next/static/chunks/0vis~lx0nxgn-.jsmatched ".npmrc"5
lowCredential file accesspackage/dist/web/_next/static/chunks/0yd.m1afqg.2t.jsmatched ".npmrc"5
lowInstall-time lifecycle scriptpackage.jsonpostinstall="node -e \"try{require('node-pty')}catch(e){if(!require('fs').existsSync('node_modules/node-pty/prebuilds')){process.exit(1)}}\""5
lowLarge Javascript Payloadpackage/dist/web/_next/static/chunks/0_8dm7bxp18xo.js2532746 bytes0
lowLarge Javascript Payloadpackage/dist/web/_next/static/chunks/0-utii~i2fncd.js3378932 bytes0
lowLarge Javascript Payloadpackage/dist/web/_next/static/chunks/0.006.ycpe92w.js2062749 bytes0
lowLarge Javascript Payloadpackage/dist/web/_next/static/chunks/178fuwl3hg67c.js6665094 bytes0
lowLarge Javascript Payloadpackage/dist/web/monaco/vs/editor.api-CalNCsUg.js3669759 bytes0
lowLarge Javascript Payloadpackage/dist/web/monaco/vs/assets/ts.worker-CMbG-7ft.js7011550 bytes0

Manifest

Package metadata

Scripts4
  • buildtsc
  • devtsx watch src/app.ts
  • postinstallnode -e "try{require('node-pty')}catch(e){if(!require('fs').existsSync('node_modules/node-pty/prebuilds')){process.exit(1)}}"
  • startnode dist/app.js
Dependencies20
  • @agent-spaces/shared0.2.1
  • @anthropic-ai/claude-agent-sdk^0.2.126
  • @codeany/open-agent-sdk^0.2.1
  • @langchain/anthropic^1.3.29
  • @langchain/google-genai^2.1.30
  • @langchain/openai^1.4.5
  • @larksuiteoapi/node-sdk^1.62.1
  • @openai/codex-sdk^0.128.0
  • cors^2.8.5
  • dotenv^17.4.2
  • express^5.1.0
  • langchain^1.4.0
  • minimatch^10.2.5
  • node-pty^1.1.0
  • simple-git^3.36.0
  • typescript-language-server^5.2.0
  • uuid^11.1.0
  • vscode-ws-jsonrpc^3.5.0
  • ws^8.18.2
  • zod^4.0.0