sc-xxe

Identify XXE vulnerabilities in XML parsers across Java, C#, Python, PHP, Go, and Node.js.

7|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/fatihkan/badi --skill sc-xxe-fatihkan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sc-xxe
Source: https://github.com/fatihkan/badi/tree/main/.claude/skills/security-check/sc-xxe
Command: npx skills add https://github.com/fatihkan/badi --skill sc-xxe-fatihkan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

XML External Entity injection is a critical vulnerability class where XML parsers process external entity declarations, enabling file disclosure, SSRF, denial-of-service, and potentially remote code execution.

Core Features & Use Cases

  • Discovery patterns to identify unsafe XXE usage across Java, C#, Python, PHP, Go, and Node.js XML processing.
  • Guidance to secure parsers by disabling external entities and limiting DTD processing across languages.
  • Use Case: Auditing a service that accepts XML to surface XXE risks and generate actionable fixes.

Quick Start

Run an XXE assessment across XML processing components to identify external entity handling weaknesses.

Frequently Asked Questions about sc-xxe

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

FAQPage Schema
How do I detect XXE vulnerabilities in XML parsers across different programming languages?

Detect XXE vulnerabilities by scanning XML parsers in Java, C#, Python, PHP, Go, and Node.js to discover unsafe external entity handling. The assessment identifies code patterns where DTD processing enables file disclosure, SSRF, or DoS, and generates actionable fixes.

What is an XML External Entity injection and how does it expose my application?

An XML External Entity (XXE) injection is a vulnerability where XML parsers process external entity declarations. This exposure allows attackers to read local files, perform SSRF, cause denial-of-service, and potentially execute remote code by manipulating XML inputs.

How do I secure XML parsers to prevent external entity attacks?

Secure XML parsers by disabling external entities and limiting DTD processing across your project's languages. The secure configuration guidance implements threat modeling and verification steps to demonstrate safe parsing and eliminate XXE risks.

Can I audit a web service that accepts XML inputs for SSRF and file disclosure risks?

Yes, you can audit services accepting XML inputs to surface XXE risks. The assessment targets XML processing components to identify external entity handling weaknesses that lead to file disclosure and SSRF, generating actionable fixes to reduce exposure.

Does this XXE detection support Node.js and Go XML processing projects?

Yes, XXE detection supports Node.js and Go projects, alongside Java, C#, Python, and PHP. It applies discovery patterns to identify unsafe XML usage and provides guidance for secure parser configurations specific to these environments.