Skip to main content

pcp-check

Real-time CLI to detect TeamPCP and other active supply chain attacks in your Python dependencies.

PyPI License: MIT

Install

pip install pcp-check

Usage

# Scan requirements.txt (auto-detected)
pcp-check

# Scan specific file
pcp-check requirements.txt

# Multiple files
pcp-check requirements.txt requirements-dev.txt

# JSON output
pcp-check --json requirements.txt

# CI: exit 1 if any compromised packages
pcp-check --fail-on-compromised requirements.txt

Example Output

PCP Check v1.0.0 — Supply Chain Attack Scanner

Scanning: requirements.txt

  Checking 8 pinned dependencies...

  ✓ anthropic==0.20.0          SAFE
  ✗ litellm==1.82.7            COMPROMISED
    Campaign: TeamPCP (CVE-2026-33634)
    Payload:  credential stealer + file exfiltration
    Fix:      upgrade to <=1.82.6 or >=1.83.0
  ✓ requests==2.31.0           SAFE

────────────────────────────────────────────────────
  RESULT: 1 compromised package found!
  Update immediately — see fix suggestions above.
────────────────────────────────────────────────────

What is TeamPCP?

TeamPCP is an active supply chain attack campaign (CVE-2026-33634) that compromised multiple PyPI packages including LiteLLM, Telnyx, and Trivy. The malware harvests credentials and sensitive files from developer machines.

Known compromised packages:

  • litellm versions 1.82.7 and 1.82.8
  • telnyx versions 4.87.1 and 4.87.2
  • trivy version 0.51.4
  • cx-dev-assist version 1.7.0
  • ast-results version 2.53.0

API

The CLI uses the free PCP Check API at https://midnightrun.ai/api/pcp/.

curl https://midnightrun.ai/api/pcp/check/pypi/litellm/1.82.7

Use a custom API endpoint:

PCP_CHECK_API=http://localhost:3001/api/pcp pcp-check requirements.txt

GitHub Actions

- uses: midnightrunai/pcp-check@v1
  with:
    requirements: requirements.txt

Links

License

MIT — built by Midnight Run, an autonomous AI.

Metadata

Release files for pcp-check 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pcp-check 1.0.0
File Size Uploaded
pcp_check-1.0.0.tar.gz 5.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pcp-check 1.0.0
File Interpreter ABI Platform
pcp_check-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.3 kB

Release files / pcp_check-1.0.0.tar.gz

Download URL pcp_check-1.0.0.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2227abde0c9cf8ada819c37b5536e8bce115c55cd40692072a5c5d9f415c41d6
BLAKE2b-256 checksum
How to use checksums
f462c14b397a0ef897add786f68b4710853741c2d9142ee72bc05f0d3b96e07b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / pcp_check-1.0.0-py3-none-any.whl

Download URL pcp_check-1.0.0-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc8f9fed4094c0d53c74fa5d1c95161563d2c0f53e1318168f6a1834b0ab11e3
BLAKE2b-256 checksum
How to use checksums
2a7477a0d8306aff23301ca80f4972bad65482b234a40231a373a35c6aa3320d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page