Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    PHP2Shell: Zero-Day Vulnerability & Patch Auditor

    1

    Scans servers, Dockerfiles & php.ini for CVE-2026-109618/109619 RCE exploits and outputs instant emergency mitigations.

    $39

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    PHP2Shell: Zero-Day Vulnerability & Patch Auditor

    PHP2Shell: Zero-Day Vulnerability & Patch Auditor

    Example session with this skill installed

    Audit our production API Dockerfile and php.ini for the worldwide PHP2Shell zero-day (CVE-2026-109618/109619) and generate immediate mitigation steps.

    • Read your context and instructions
    • Compiled the php2shell

    🚨 PHP2Shell Zero-Day Vulnerability Audit (CVE-2026-109618 / CVE-2026-109619)

    Scanned production infrastructure configuration, Dockerfile dependencies, and PHP runtime directives against the official PHP.net and GitHub Security Advisories.

    Component / SettingDetected ValueVulnerability StatusSeverity Rating
    PHP Base Imagephp:8.3.18-fpm-alpineVULNERABLE (CVE-2026-109618 / 109619)🔴 CRITICAL (9.2)
    zend_string_concatUnpatched memory allocatorVULNERABLE to Heap OOM / UAF🔴 CRITICAL
    session.upload_progressOn (Default)HIGH RISK EXPLOIT HOOK🔴 EXPLOITABLE
    Worker Process Lifetimepm.max_requests = 0 (Unlimited)STALE WORKER STATE PERSISTENCE🟡 ELEVATED
    Reverse Proxy FilterMissing chunked body clampUNFILTERED MULTIPART INGESTION🟡 ACTION REQ.

    🛠️ Immediate Emergency Mitigation Plan

    Note on Remediation: Per the official PHP security advisory,

    upgrading to a patched PHP release is the only complete fix. The interim configuration steps below disable specific exploit vectors while scheduled upgrades proceed.

    1. Definitive Fix — Dockerfile Upgrade (Apply Immediately):

    - FROM php:8.3.18-fpm-alpine
    + FROM php:8.3.36-fpm-alpine
    

    (Patched baselines: PHP 8.2 ≥ 8.2.35 | PHP 8.3 ≥ 8.3.36 | PHP 8.4 ≥ 8.4.27 | PHP 8.5 ≥ 8.5.12)

    1. Interim php.ini Hardening (Disables Exploit Trigger Vectors):
    ; Disable upload progress hook used in multipart memory corruption
    session.upload_progress.enabled = Off
    
    ; Recycle PHP-FPM workers to prevent stale global state reuse (CVE-2026-109619)
    pm.max_requests = 100
    
    1. Upstream Reverse Proxy Buffer Clamp (NGINX):
    
    # Drop oversized unbuffered multipart chunk probes at edge
    client_max_body_size 16M;
    client_body_buffer_size 128k;
    
    1. Post-Mitigation Verification:
    
    # Verify container runtime version conforms to safe patch baseline
    node scripts/audit.mjs --path /etc/php/8.3/fpm/php.ini
    

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Emergency Zero-Day Protection for the Global PHP2Shell Exploit

    The PHP2Shell zero-day vulnerability pair (CVE-2026-109618 & CVE-2026-109619, CVSS 9.2/10 Critical) is currently being actively exploited across production web infrastructure worldwide. An integer-overflow leading to heap corruption in zend_string_concat affects PHP versions 8.2.0 through 8.5.11, allowing unauthenticated remote threat actors to achieve arbitrary remote code execution (RCE) via standard multipart HTTP request pipelines and large payloads.

    PHP2Shell Auditor turns your AI coding assistant (Claude Code, Cursor, Codex, OpenClaw, Gemini CLI) into an automated vulnerability hunter and zero-day patch engineer.


    Key Capabilities

    • Automated Infrastructure Scanning: Scans local PHP installations (php -v), Dockerfiles (FROM php:8.x), Kubernetes manifests, composer.json, and NGINX/Apache reverse proxy configurations.
    • Remote Host Verification: Performs non-intrusive banner and protocol probing against staging and production web servers to verify whether upstream clusters expose vulnerable PHP runtimes.
    • Deterministic Exploit Vector Assessment: Audits php.ini directives against dangerous memory configurations (memory_limit = -1, unconstrained post_max_size, missing upload limits) that enable the heap overflow chain.
    • Automated Emergency Remediation: Generates exact, copy-pasteable Dockerfile upgrades to patched upstream releases:
      • PHP 8.2: $\ge$ 8.2.35
      • PHP 8.3: $\ge$ 8.3.36
      • PHP 8.4: $\ge$ 8.4.27
      • PHP 8.5: $\ge$ 8.5.12
    • WAF & Reverse Proxy Virtual Patching: Generates instant virtual patch rules for Cloudflare, AWS WAF, and NGINX/mod_security to drop malicious chunked multipart probes before they reach backend application containers.

    Supported Runtimes & Environments

    • AI Agents: Claude Code, Cursor, Codex CLI, Antigravity, OpenClaw, Copilot Workspace
    • Operating Systems: Linux (Ubuntu, Debian, Alpine, RHEL), macOS, Windows
    • Architectures: Docker, Podman, Kubernetes, AWS ECS/EKS, bare-metal VPS

    "What does the one-time price include?" The one-time purchase includes the complete, standalone agent skill. It runs unlimited local checks directly in your agent terminal. No crypto wallet, USDC deposit, or recurring subscription is required.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.

    Performs non-destructive static analysis, Dockerfile inspection, and benign banner probing. It intentionally does NOT launch weaponized exploit payloads against production systems.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 24 days ago

    Software
    Node.js (v18+)

    Permissions

    Terminal / Shell
    Read Files
    Network Access

    File Scopes

    **/Dockerfile*
    **/php.ini
    **/composer.json
    **/nginx*.conf

    Read access is strictly scoped to server environment manifests (Dockerfile, Kubernetes yaml), web server configs (nginx.conf), and PHP runtime directives (php.ini, composer.json). No application source code, database credentials, or .env secret files are ever accessed or read.

    Listed25 days ago

    What's inside

    Frequently Asked Questions

    The skill identifies and fixes critical PHP2Shell RCE vulnerabilities (CVE-2026-109618/19) across local codebases, Docker environments, and live server endpoints. It provides both automated remediation commands and interim WAF/configuration hardening to block exploits immediately.

    The tool supports all active PHP versions (8.2-8.5) as well as legacy versions including 7.x, 8.0, and 8.1. It is compatible with major server architectures including PHP-FPM, Apache mod_php, FrankenPHP, and Nginx.

    You receive the full PHP2Shell audit and remediation toolkit, including the `audit.mjs` scanning script, vulnerability triage reporting logic, and a suite of automated patching and hardening scripts for various Linux distributions.

    Setup is straightforward: ensure you have Node.js installed to run the bundled `audit.mjs` script. Once installed, you can immediately begin scanning local assets or remote URLs using the provided CLI flags.

    Unlike generic AI prompts, this skill uses specialized scanning logic to detect specific memory corruption triggers and `longjmp()` abort risks. It identifies deep-level vulnerabilities in configurations like `session.upload_progress` that general-purpose models often overlook.

    Yes, the skill is designed for DevSecOps workflows and can scan Dockerfiles and base images to ensure they are using patched PHP versions. It generates specific terminal commands to update your containerized environments automatically.

    New in Security