extract-design-system
Pass
Audited by Gen Agent Trust Hub on Sep 13, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill facilitates the reading and processing of external, potentially untrusted HTML and CSS files through tools like
Read,Grep, andGlob. While the skill's primary focus is extracting design tokens (colors, spacing, typography) via pattern matching, the ingestion of external data constitutes a theoretical attack surface for indirect prompt injection if those files contain malicious instructions meant to influence the agent's output. - Ingestion points: The skill explicitly instructs the agent to review legacy UI files (e.g.,
<div style="...">) and messy CSS files. - Boundary markers: The instructions do not define specific delimiters or "ignore embedded instructions" warnings when processing these external files.
- Capability inventory: The skill possesses
Bash,Edit,Write, andReadcapabilities, which could be misused if an injection were successful, although the logic is scoped to design system generation. - Sanitization: No explicit sanitization or validation of the extracted string values is mentioned before they are written to new token files.
- [SAFE]: The skill uses well-known, legitimate industry packages such as
class-variance-authorityand adheres to modern development standards like Tailwind CSS v4 and Next.js. No evidence of obfuscation, hardcoded credentials, unauthorized network exfiltration, or persistence mechanisms was found.
Audit Metadata