Summary
ms-agent v1.6.0 was classified as CRITICAL RISK with a risk score of 718. Sigil detected 48 findings across 463 files, covering phases including code patterns, network exfiltration, credential access, install hooks, obfuscation, provenance. Review the findings below before installing this package.
v1.6.0
23 March 2026, 15:44 UTC
by Sigil Bot
Risk Score
718
Findings
48
Files Scanned
463
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
ms_agent-1.6.0/ms_agent/skill/container.py:666
# Generate environment setup
env_setup = self._generate_local_env_setup(input_spec)
full_code = env_setup + '\n' + codeWhy 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
ms_agent-1.6.0/ms_agent/skill/container.py:748
# Generate environment setup
env_setup = self._generate_local_js_env_setup(input_spec)
full_code = env_setup + '\n' + js_codeWhy 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
ms_agent-1.6.0/projects/code_genesis/tools/build_sandbox_image.sh:25
build-essential \
&& curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
&& apt-get install -y --no-install-recommends nodejs \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.
install-setup-py-cmdclass
CRITICALsetup.py overrides cmdclass — may execute code during install
ms_agent-1.6.0/setup.py:260
include_package_data=True,
cmdclass={'build_py': build_py},
package_data={Why was this flagged?
This package overrides Python's setup.py cmdclass, which allows arbitrary code to execute during pip install. This is the primary attack vector for malicious PyPI packages — attackers use it to steal credentials, install backdoors, or download additional payloads before the developer ever runs the code. Rated CRITICAL because it executes automatically with no user interaction required.
Badge
Markdown
[](https://sigilsec.ai/scans/E066F026-688B-474F-B7A2-4014BA705E07)HTML
<a href="https://sigilsec.ai/scans/E066F026-688B-474F-B7A2-4014BA705E07"><img src="https://sigilsec.ai/badge/pypi/ms-agent" 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 pypi scans
Believe this result is incorrect? Request a review or see our Terms of Service and Methodology.