Skip to content

About

Free read-only self-check scripts for PHP2Shell (CVE-2026-109618), the LiteLLM 1.107.0 compromise and the eMudhra CA keys. Runs on your machine; nothing leaves your network.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Zero Hunt self-check scripts

Free, read-only scripts to check your own hosts for the October 2026 incidents:

Script Checks Remediation guide
php2shell-check.sh PHP2Shell (CVE-2026-109618, CVE-2026-109619): every PHP build on the host vs the fixed releases 8.2.35 · 8.3.36 · 8.4.27 · 8.5.12, mod_php, PHP-FPM stopgaps, PHP processes that spawned a shell or download tool; since 0.2.0 the conditions of CVE-2026-115560 (session upload progress, serialize handler switched at runtime; --scan <web root>) PHP2Shell remediation
litellm-check.sh LiteLLM 1.107.0 supply-chain compromise: payload files, stealer/loader markers, cached wheels, the compromised Docker image digest, Kubernetes pods, pinned versions in lock files. Never starts Python. LiteLLM 1.107.0 remediation
trust_store_audit.py eMudhra CA keys: every CA bundle (certifi, pip's vendored copy, OS stores, SSL_CERT_FILE & co.) that still trusts emSign ECC Root CA - G3 or the Sectigo cross-sign path; certifi, pip, uv older than the fixes eMudhra trust-store remediation

Same files, with copy-paste commands: https://zerohunt.ai/self-check/

Principles

  • Runs on your machine. No upload, no account, no online scanner. Nothing about your systems leaves your network.
  • Read-only and offline. The scripts read files and versions; they never change a configuration, delete a file, open a network connection or exploit anything.
  • No dependencies. POSIX sh, and Python 3.8+ standard library for the trust-store audit.
  • Built on verified facts. Every check comes from the linked remediation guides, which cite the vendor advisories.

Usage

Read a script before you run it, and compare its SHA-256 with SHA256SUMS.

curl -fsSLO https://zerohunt.ai/self-check/php2shell-check.sh
sha256sum php2shell-check.sh          # compare with SHA256SUMS
less php2shell-check.sh               # read it first
sudo sh php2shell-check.sh            # --docker: running containers; --scan DIR: web root for CVE-2026-115560

sudo sh litellm-check.sh ~/src        # optional folder: scan lock/requirements files

python3 -S trust_store_audit.py       # -S: Python skips .pth files (LiteLLM payload)
python3 -S trust_store_audit.py --only-scan --scan ./rootfs   # an exported container

Exit code 0 means nothing to fix, 1 means something to fix or verify, so the scripts can fail a CI job.

Limits

  • Each script checks one host at the moment you run it.
  • PHP: distributions often backport fixes without changing the version number; those builds are marked CHECK. Confirm them against your vendor's security notice.
  • LiteLLM: not finding traces does not prove you were not exposed. Containers and /tmp clean-up erase the markers; check CI and egress logs too.
  • Trust stores: Java keystores, the Windows certificate store and the macOS Keychain are not read.

Tests

PYTHONPATH=. python3 -m unittest discover -s tests
sh tests/test_scripts.sh

About

Maintained by Zero Hunt Research. Zero Hunt is an autonomous AI red team that runs on an on-premise appliance, on its own AI models; these scripts are standalone and do not need or contact the platform.

MIT licensed.

About

Free read-only self-check scripts for PHP2Shell (CVE-2026-109618), the LiteLLM 1.107.0 compromise and the eMudhra CA keys. Runs on your machine; nothing leaves your network.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages