Summary
@anthropic-ai/claude-code v2.1.87 was classified as CRITICAL RISK with a risk score of 5667.5. Sigil detected 376 findings across 20 files, covering phases including install hooks, code patterns, network exfiltration, credential access, obfuscation, provenance. Review the findings below before installing this package.
v2.1.87
29 March 2026, 02:43 UTC
by Sigil Bot
Risk Score
5667.5
Findings
376
Files Scanned
20
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-pip-setup-exec
CRITICALsetup.py executes code at install time
package/cli.js:404
See the troubleshooting guide for more information: https://aka.ms/azsdk/js/identity/azurepipelinescredential/troubleshoot`;throw ih.error(_),new kq(_)}return ih.info("Invoking getToken() of Client Assertion Credential"),this.clientAssertionCredential.getToken(q,K)}async requestOidcToken(q,K){ih.info("Requesting OIDC token from Azure Pipelines..."),ih.info(q);let _=WE({url:q,method:"POST",headers:vl({"Content-Type":"application/json",Authorization:`Bearer ${K}`,"X-TFS-FedAuthRedirect":"SupWhy was this flagged?
This setup.py calls subprocess, os.system, exec, or eval during package installation. Legitimate packages rarely need to execute arbitrary commands at install time. This pattern is commonly used by malicious packages to download and run payloads, exfiltrate environment variables, or establish persistence. Rated CRITICAL because it runs with the installer's full permissions.
install-pip-setup-exec
CRITICALsetup.py executes code at install time
package/cli.js:2916
`+_.join(`
`)+`
}`}return Y.toString=z,Y}Oc1.verbose=!1});var Raq=u((AFO,Laq)=>{Laq.exports=Ws6;var ghY=lQ1(),UhY=rQ1(),$c1=UhY("fs");function Ws6(q,K,_){if(typeof K==="function")_=K,K={};else if(!K)K={};if(!_)return ghY(Ws6,this,q,K);if(!K.xhr&&$c1&&$c1.readFile)return $c1.readFile(q,function(z,A){return z&&typeof XMLHttpRequest<"u"?Ws6.xhr(q,K,_):z?_(z):_(null,K.binary?A:A.toString("utf8"))});return Ws6.xhr(q,K,_)}Ws6.xhr=function(K,_,Y){var z=new XMLHttpRequest;if(z.onreadystatechange=funWhy was this flagged?
This setup.py calls subprocess, os.system, exec, or eval during package installation. Legitimate packages rarely need to execute arbitrary commands at install time. This pattern is commonly used by malicious packages to download and run payloads, exfiltrate environment variables, or establish persistence. Rated CRITICAL because it runs with the installer's full permissions.
install-pip-setup-exec
CRITICALsetup.py executes code at install time
package/cli.js:2929
`+K);let _;try{_=Ko.Metadata.fromHttp2Headers(q)}catch(A){_=new Ko.Metadata}let Y=_.getMap(),z;if(typeof Y["grpc-status"]==="string"){let A=Number(Y["grpc-status"]);this.trace("received status code "+A+" from server"),_.remove("grpc-status");let O="";if(typeof Y["grpc-message"]==="string"){try{O=decodeURI(Y["grpc-message"])}catch($){O=Y["grpc-message"]}_.remove("grpc-message"),this.trace('received status details string "'+O+'" from server')}z={code:A,details:O,metadata:_}}else if(this.httpStatusWhy was this flagged?
This setup.py calls subprocess, os.system, exec, or eval during package installation. Legitimate packages rarely need to execute arbitrary commands at install time. This pattern is commonly used by malicious packages to download and run payloads, exfiltrate environment variables, or establish persistence. Rated CRITICAL because it runs with the installer's full permissions.
install-makefile-curl
HIGHMakefile/script pipes remote content to shell
package/cli.js:1563
]`,`[\\[\\]\\.,\\+\\-<> \r
]`,{returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?:\+\+|--)/,contains:[K]},K]}}FXq.exports=Qn_});var QXq=u((koA,UXq)=>{function dn_(q){if(!q)return null;if(typeof q==="string")return q;return q.source}function cn_(q){return $I1("(?=",q,")")}function dv8(q){return $I1("(",q,")?")}function $I1(...q){return q.map((_)=>dn_(_)).join("")}function ln_(q){let K=q.COMMENT("//","$",{contains:Why was this flagged?
A script or Makefile pipes content from a remote URL directly into a shell (curl | sh or wget | bash). This is inherently dangerous because the remote content can change at any time, and the command runs with the current user's permissions. Rated HIGH because it requires manual execution (unlike install hooks) but still executes arbitrary remote code.
Badge
Markdown
[](https://sigilsec.ai/scans/640AAC67-0082-4593-BFDB-84FCD1051DBB)HTML
<a href="https://sigilsec.ai/scans/640AAC67-0082-4593-BFDB-84FCD1051DBB"><img src="https://sigilsec.ai/badge/npm/@anthropic-ai/claude-code" 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.