php-xss-ssti-audit

Audit PHP codebases for XSS and SSTI vulnerabilities with debug evidence.

80|6|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/yunmengya/PHP_AUDIT_SKILLS --skill php-xss-ssti-audit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: php-xss-ssti-audit
Source: https://github.com/yunmengya/PHP_AUDIT_SKILLS/tree/main/php-xss-ssti-audit
Command: npx skills add https://github.com/yunmengya/PHP_AUDIT_SKILLS --skill php-xss-ssti-audit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill identifies and audits Cross-Site Scripting (XSS) and Server-Side Template Injection (SSTI) vulnerabilities within PHP projects, providing evidence-based findings.

Core Features & Use Cases

  • Vulnerability Detection: Specifically targets XSS and SSTI flaws.
  • Evidence Generation: Creates detailed findings in JSON and Markdown formats, including debug evidence.
  • Workflow Integration: Aligns with a phased audit methodology (Phase 1-5).
  • Use Case: Analyze a PHP web application to pinpoint all potential XSS injection points and any instances where user input could lead to SSTI, generating a report with actionable remediation steps.

Quick Start

Use the php-xss-ssti-audit skill to audit XSS and SSTI risks in the provided PHP project.

Frequently Asked Questions about php-xss-ssti-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit PHP code for XSS and SSTI vulnerabilities?

To audit PHP code for XSS and SSTI vulnerabilities, trace user input through application logic to identify injection points and assess sanitization effectiveness. This generates detailed findings reports with debug evidence for verification.

What is the best way to detect Server-Side Template Injection in PHP web applications?

Detecting Server-Side Template Injection (SSTI) in PHP web applications involves tracing user input to identify where it could manipulate template rendering. The audit assesses sanitization mechanisms and outputs evidence-based findings for actionable remediation.

How does user input tracing work for finding Cross-Site Scripting injection points?

User input tracing for finding Cross-Site Scripting (XSS) injection points works by following data flow from entry points through application logic. It evaluates whether encoding and sanitization mechanisms effectively neutralize malicious payloads before output.

Can I generate JSON and Markdown reports for PHP security vulnerability findings?

Yes, you can generate JSON and Markdown reports for PHP security vulnerability findings. The audit produces detailed reports in both formats, including debug evidence to verify identified XSS and SSTI injection points.

Does the XSS and SSTI audit follow a specific methodology for PHP projects?

Yes, the XSS and SSTI audit aligns with a phased methodology covering Phases 1 through 5. This structured workflow ensures comprehensive vulnerability detection and evidence generation across the entire PHP project.

What sanitization mechanisms are evaluated during a PHP XSS security audit?

During a PHP XSS security audit, encoding and sanitization mechanisms are evaluated by tracing user input to see if it is properly neutralized before reaching output contexts. The audit assesses their effectiveness against potential injection points.