Skip to main content
Scans/pypi/inspect-swe

inspect-swe

pypi

Share

Summary

inspect-swe v0.2.45 was classified as CRITICAL RISK with a risk score of 698. Sigil detected 30 findings across 66 files, covering phases including provenance, code patterns, install hooks, network exfiltration. Review the findings below before installing this package.

Package description: Software engineering agents for Inspect AI.

CRITICAL RISK(698)

v0.2.45

20 March 2026, 20:52 UTC

by Sigil Bot

Risk Score

698

Findings

30

Files Scanned

66

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

CRITICAL

setup.py executes code at install time

inspect_swe-0.2.45/src/inspect_swe/_gemini_cli/agentbinary.py:20


async def ensure_gemini_cli_setup(
    sandbox: SandboxEnvironment,
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

CRITICAL

setup.py executes code at install time

inspect_swe-0.2.45/src/inspect_swe/_gemini_cli/gemini_cli.py:134

            # install node and gemini-cli in sandbox
            gemini_binary, node_binary = await ensure_gemini_cli_setup(
                sbox, version, user
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

CRITICAL

setup.py executes code at install time

inspect_swe-0.2.45/src/inspect_swe/acp/_agents/claude_code/agentbinary.py:29


async def ensure_claude_code_acp_setup(
    sandbox: SandboxEnvironment,
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

CRITICAL

setup.py executes code at install time

inspect_swe-0.2.45/src/inspect_swe/acp/_agents/codex_cli/agentbinary.py:29


async def ensure_codex_acp_setup(
    sandbox: SandboxEnvironment,
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

CRITICAL

setup.py executes code at install time

inspect_swe-0.2.45/src/inspect_swe/acp/_agents/codex_cli/codex_cli.py:35


    Subclasses :class:`ACPAgent` to provide Codex-specific setup
    (bridge, env vars, AGENTS.md, skills).
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

CRITICAL

setup.py executes code at install time

inspect_swe-0.2.45/src/inspect_swe/acp/_agents/gemini_cli/gemini_cli.py:72

            # Install node and gemini CLI in the sandbox.
            gemini_binary, node_binary = await ensure_gemini_cli_setup(
                sbox, self._version, self.user
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

Sigil scan badge for pypi/inspect-swe

Markdown

[![Sigil Scan](https://sigilsec.ai/badge/pypi/inspect-swe)](https://sigilsec.ai/scans/B36E7207-E461-4B2A-991D-E25BBEACAFFF)

HTML

<a href="https://sigilsec.ai/scans/B36E7207-E461-4B2A-991D-E25BBEACAFFF"><img src="https://sigilsec.ai/badge/pypi/inspect-swe" alt="Sigil Scan"></a>

Run This Scan Yourself

Scan your own packages

Run Sigil locally to audit any package before it touches your codebase.

curl -sSL https://sigilsec.ai/install.sh | sh
Read the docs →Free. Apache 2.0.

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.

Scanned bySigil Bot