Summary
@anthropic-ai/claude-code v2.1.85 was classified as CRITICAL RISK with a risk score of 5615. Sigil detected 373 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.85
27 March 2026, 03:34 UTC
by Sigil Bot
Risk Score
5615
Findings
373
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:440
See the troubleshooting guide for more information: https://aka.ms/azsdk/js/identity/azurepipelinescredential/troubleshoot`;throw rh.error(_),new fq(_)}return rh.info("Invoking getToken() of Client Assertion Credential"),this.clientAssertionCredential.getToken(q,K)}async requestOidcToken(q,K){rh.info("Requesting OIDC token from Azure Pipelines..."),rh.info(q);let _=PE({url:q,method:"POST",headers:gl({"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:2867
`+_.join(`
`)+`
}`}return z.toString=Y,z}pc1.verbose=!1});var ssq=m((AmA,asq)=>{asq.exports=Is6;var wLz=ZQ1(),jLz=vQ1(),gc1=jLz("fs");function Is6(q,K,_){if(typeof K==="function")_=K,K={};else if(!K)K={};if(!_)return wLz(Is6,this,q,K);if(!K.xhr&&gc1&&gc1.readFile)return gc1.readFile(q,function(Y,$){return Y&&typeof XMLHttpRequest<"u"?Is6.xhr(q,K,_):Y?_(Y):_(null,K.binary?$:$.toString("utf8"))});return Is6.xhr(q,K,_)}Is6.xhr=function(K,_,z){var Y=new XMLHttpRequest;if(Y.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:2880
`+K);let _;try{_=Ho.Metadata.fromHttp2Headers(q)}catch($){_=new Ho.Metadata}let z=_.getMap(),Y;if(typeof z["grpc-status"]==="string"){let $=Number(z["grpc-status"]);this.trace("received status code "+$+" from server"),_.remove("grpc-status");let A="";if(typeof z["grpc-message"]==="string"){try{A=decodeURI(z["grpc-message"])}catch(O){A=z["grpc-message"]}_.remove("grpc-message"),this.trace('received status details string "'+A+'" from server')}Y={code:$,details:A,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:1448
]`,`[\\[\\]\\.,\\+\\-<> \r
]`,{returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?:\+\+|--)/,contains:[K]},K]}}HDq.exports=Pr_});var MDq=m((os$,XDq)=>{function Wr_(q){if(!q)return null;if(typeof q==="string")return q;return q.source}function Zr_(q){return _x1("(?=",q,")")}function oV8(q){return _x1("(",q,")?")}function _x1(...q){return q.map((_)=>Wr_(_)).join("")}function fr_(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/4996B8DB-F948-4465-B0CB-1E4B30C7B437)HTML
<a href="https://sigilsec.ai/scans/4996B8DB-F948-4465-B0CB-1E4B30C7B437"><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.