Skip to main content
Scans/pypi/codeguard-pro

codeguard-pro

pypi

Share

Summary

codeguard-pro v0.3.1 was classified as CRITICAL RISK with a risk score of 609. Sigil detected 44 findings across 22 files, covering phases including code patterns, network exfiltration, credential access, obfuscation, install hooks. Review the findings below before installing this package.

Package description: Inline security gate for AI coding agents: secrets, supply chain, OWASP, and MiniMax-assisted deep analysis.

CRITICAL RISK(609)

v0.3.1

28 March 2026, 04:07 UTC

by Sigil Bot

Risk Score

609

Findings

44

Files Scanned

22

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

codeguard_pro-0.3.1/agent_analyzer.py:83

    indicators = (
        "setup(",
        "pyproject",
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-setup-py-cmdclass

CRITICAL

setup.py overrides cmdclass — may execute code during install

codeguard_pro-0.3.1/cli.py:416


setup(name="totally-legit", version="1.0", cmdclass={"install": PostInstall})
"""
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.

install-setup-py-cmdclass

CRITICAL

setup.py overrides cmdclass — may execute code during install

codeguard_pro-0.3.1/demo.py:20


setup(name="totally-legit", version="1.0", cmdclass={"install": PostInstall})
"""
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

Sigil scan badge for pypi/codeguard-pro

Markdown

[![Sigil Scan](https://sigilsec.ai/badge/pypi/codeguard-pro)](https://sigilsec.ai/scans/FB7C5973-7181-4F55-A815-DD28DF4065A0)

HTML

<a href="https://sigilsec.ai/scans/FB7C5973-7181-4F55-A815-DD28DF4065A0"><img src="https://sigilsec.ai/badge/pypi/codeguard-pro" 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