Skip to main content
Scans/pypi/codescalpel

codescalpel

pypi

Share

Summary

codescalpel v2.1.4 was classified as CRITICAL RISK with a risk score of 4769. Sigil detected 336 findings across 503 files, covering phases including provenance, code patterns, network exfiltration, obfuscation, install hooks. Review the findings below before installing this package.

Package description: MCP server toolkit for AI agents - surgical code analysis and modification

CRITICAL RISK(4769)

v2.1.4

12 March 2026, 23:42 UTC

by Sigil Bot

Risk Score

4769

Findings

336

Files Scanned

503

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

codescalpel-2.1.4/src/code_scalpel/policy_engine/README.md:712


# 1. Setup (one-time)
gov = UnifiedGovernance(".code-scalpel")
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/codescalpel

Markdown

[![Sigil Scan](https://sigilsec.ai/badge/pypi/codescalpel)](https://sigilsec.ai/scans/3B743EE2-ECF5-4E09-B13E-000398AEFA87)

HTML

<a href="https://sigilsec.ai/scans/3B743EE2-ECF5-4E09-B13E-000398AEFA87"><img src="https://sigilsec.ai/badge/pypi/codescalpel" 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