Summary
@cooperagent/cooper v was classified as CRITICAL RISK with a risk score of 990. Sigil detected 64 findings across 24 files, covering phases including code patterns, obfuscation, install hooks. Review the findings below before installing this package.
v
16 March 2026, 15:54 UTC
by Sigil Bot
Risk Score
990
Findings
64
Files Scanned
24
Provenance
Findings by Phase
Phase Ordering
Phases are ordered by criticality, with the most dangerous at the top. Click any phase header to expand or collapse its findings. Critical phases are expanded by default.
install-npm-postinstall
CRITICALnpm lifecycle script — runs automatically on install
package/package.json:40
"test:all": "npm run test && npm run test:e2e",
"postinstall": "npx patch-package && node scripts/rebuild-node-pty.js && node -e \"if(process.platform==='darwin'){require('child_process').execSync('codesign --force --deep --sign - --entitlements build/entitlements.mac.plist node_modules/electron/dist/Electron.app',{stdio:'inherit'})}\"",
"rebuild-pty": "node scripts/rebuild-node-pty.js -f",Why was this flagged?
npm lifecycle scripts like postinstall run automatically during package installation with no user interaction required. This is the #1 attack vector for malicious npm packages — attackers embed data theft or backdoor installation in these hooks. Rated CRITICAL because code executes before the developer can review it.
Badge
Markdown
[](https://sigilsec.ai/scans/21B0E01A-9B26-41F9-8A14-010BB86CE519)HTML
<a href="https://sigilsec.ai/scans/21B0E01A-9B26-41F9-8A14-010BB86CE519"><img src="https://sigilsec.ai/badge/npm/@cooperagent/cooper" alt="Sigil Scan"></a>Run This Scan Yourself
Scan your own packages
Run Sigil locally to audit any package before it touches your codebase.
Early Access
Get cloud scanning, threat intel, and CI/CD integration.
Join 150+ developers on the waitlist.
Get threat intelligence and product updates
Security research, new threat signatures, and product updates. No spam.
Other npm scans
Believe this result is incorrect? Request a review or see our Terms of Service and Methodology.