Works with the AI Agents you already use
legacy stack vuln audit
Defensive vulnerability audit for PHP and COBOL stacks using live CISA KEV and CVE threat data.
Free
legacy stack vuln audit
Example session with this skill installed
Audit this PHP 7.4 server running on Ubuntu 20.04. Check against CISA KEV and find EOL components. I am authorized to scan this host at 192.168.1.50.
- Read your context and instructions
- Compiled the legacy stack vuln
I have completed the vulnerability audit for the PHP environment on host 192.168.1.50. Live data was retrieved from CISA KEV, NVD, and Ubuntu Security trackers on 2026-11-05.
Legacy Stack Vulnerability Audit
| ID | Component | Version Found | Status | CVSS | KEV | Fix / Mitigation | Priority |
|---|---|---|---|---|---|---|---|
| CVE-2024-XXXX | PHP-FPM | 7.4.3 | Confirmed | 9.8 | Yes | Upgrade to PHP 8.2+; Apply WAF rule | 1 |
| EOL-PHP-7.4 | PHP Core | 7.4.3 | Confirmed | N/A | No | Migrate to supported PHP 8.x branch | 1 |
| MISC-01 | php.ini | expose_php=On | Confirmed | 5.3 | No | Set expose_php = Off | 3 |
| COMP-04 | Guzzle (Composer) | 6.5.5 | Likely | 7.5 | No | Update to Guzzle 7.4.5+ | 2 |
Executive Summary
- Critical Findings: 2 (1 in CISA KEV)
- High Findings: 1
- EOL Components: 1 (PHP 7.4 reached EOL on 2022-11-28)
- Authorization: Confirmed by user for IP 192.168.1.50
Remediation Plan
Immediate (Critical): The PHP 7.4 branch is end-of-life and contains a KEV-listed vulnerability. Because Ubuntu 20.04 backports are limited, migrate to a supported PHP 8.x container or instance immediately.
2.
Configuration: Disable expose_php and display_errors in /etc/php/7.4/fpm/php.ini to prevent version leakage and path disclosure during migration.
3.
Dependencies: Run composer update to resolve known vulnerabilities in the Guzzle library and other vendor packages.
Next steps
- Verify if the PHP-FPM process was restarted after the last security patch.
- Review web server logs for indicators of compromise related to the KEV-listed bug.
- Schedule a full migration to a supported PHP 8.2+ environment.
Connects securely to your tools. The creator never sees your data.
About this skill
Legacy environments often harbor unpatched vulnerabilities that standard scanners miss due to version backporting or end-of-life (EOL) status. This skill provides a defensive, read-only audit of PHP and COBOL stacks against live threat intelligence, including CISA KEV and vendor-specific advisories. ## What it does - **Live vulnerability matching** by querying CISA KEV, NVD CVE, and vendor-specific security trackers for PHP, IBM, and OpenText. - **Environment inventory** across PHP versions, Composer dependencies, COBOL runtimes, and mainframe middleware like CICS or MQ. - **EOL status tracking** to identify components no longer receiving security updates, even if no specific CVE is currently flagged. - **Configuration hardening** checks for `php.ini` directives and mainframe resource security gaps in RACF, ACF2, or Top Secret. - **Static code review** for high-risk patterns like `unserialize()` in PHP or missing bounds checks and dynamic SQL in COBOL. - **Prioritized remediation** that ranks findings based on reachability, KEV status, and exploitability. ## How it works 1. **Scope verification**: Confirms authorization and defines the target boundaries including LPARs, repositories, or paths. 2. **Inventory collection**: Analyzes server outputs, config files, and dependency locks to build a component map. 3. **Threat intelligence pull**: Queries live APIs for the most recent disclosures and exploited-in-the-wild bugs. 4. **Verification and matching**: Compares inventory against advisories while accounting for OS-level backports and running process memory. 5. **Report generation**: Delivers a structured audit with severity counts, KEV status, and a phased remediation plan. ## Frameworks & tools PHP (7.x, 8.x), Composer, WordPress, Laravel, Symfony, COBOL (IBM Enterprise, GnuCOBOL, Micro Focus), z/OS, CICS, Db2, JCL, and Zowe. ## Why this beats prompting it yourself Generic prompts often rely on stale training data, missing critical zero-days or recent CISA KEV additions. This skill enforces a structured verification workflow that distinguishes between disk-level patches and vulnerable code still running in memory, preventing false sense of security. ## Use cases - Auditing a legacy PHP server for vulnerabilities listed in the current CISA KEV catalog. - Identifying end-of-life components in a mainframe COBOL environment. - Reviewing a WordPress or Drupal stack for risky configurations and abandoned plugins. - Assessing the security posture of web-to-mainframe API gateways and wrappers. ## Known limitations This is a read-only audit and does not execute exploit code or provide functional PoCs. Mainframe assessments require specific environment data or source code access to be effective.
Read-only audit. Does not execute exploit code or PoCs. Requires user-provided inventory or command access. Mainframe checks depend on available JCL or source files.
How to use
- 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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
This skill has been used 6 times.
Trust & safety
Security scan
Security scan passed 20 days ago
- Free with an Agensi account