Summary
@agentstep/agent-sdk v0.3.8 was classified as CRITICAL RISK with a risk score of 2843. Sigil detected 218 findings across 135 files, covering phases including code patterns, network exfiltration, install hooks, obfuscation. Review the findings below before installing this package.
v0.3.8
30 April 2026, 07:57 UTC
by Sigil Bot
Risk Score
2843
Findings
218
Files Scanned
135
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/src/handlers/ui.ts:68
\${JSON.stringify(l)}
\`),typeof u=="string"||u instanceof Uint8Array)o(u);else{let d;try{d=JSON.stringify(u)}catch{d=JSON.stringify(No(u))}o(d)}}return typeof r=="string"?r:fz(r)}function fz(e){const t=e.reduce((o,a)=>o+a.length,0),n=new Uint8Array(t);let r=0;for(const o of e)n.set(o,r),r+=o.length;return n}function hz(e){const t=typeof e.data=="string"?bb(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]Why 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/src/handlers/ui.ts:76
Event: \${Ma(e)}.
Url: \${jp(e)}\`),!0}return!1}function NL(e,t){return t?.length?IN(e).some(n=>lm(n,t)):!1}function jL(e,t){if(!t?.length)return!1;const n=e.transaction;return n?lm(n,t):!1}function ML(e,t){if(!t?.length)return!1;const n=jp(e);return n?lm(n,t):!1}function AL(e,t){if(!t?.length)return!0;const n=jp(e);return n?lm(n,t):!0}function OL(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&n.filename!=="<anonymous>"&&n.filename!=="[native code]")return n.filename||null}return null}fWhy 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/src/providers/types.ts:63
* One-shot execution: run argv in a container and wait for exit.
* Used by backend setup (install wrapper, install CLI, etc.)
*/Why 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.
Badge
Markdown
[](https://sigilsec.ai/scans/332570D9-30BC-4E31-9867-18467F67F8B4)HTML
<a href="https://sigilsec.ai/scans/332570D9-30BC-4E31-9867-18467F67F8B4"><img src="https://sigilsec.ai/badge/npm/@agentstep/agent-sdk" 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.