design-system-generalizer
Pass
Audited by Gen Agent Trust Hub on Oct 27, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data by scanning local
.vuesource files within the project root to extract design patterns. This creates an attack surface where malicious comments or strings in the code could attempt to influence the agent's output. - Ingestion points: Files are read in
scripts/scan_patterns.pyandscripts/diff_violations.pyusingPath.read_text. - Boundary markers: The data is emitted as structured JSON, providing a clear boundary between the tool output and the agent's instructions.
- Capability inventory: The scripts have file-read access; a dormant
subprocess.runcapability exists inscripts/_skill_cli.py. - Sanitization: High. The scripts use restrictive regular expressions (
TOKEN_RE,HEX_RE,PRIMEVUE_RE,CLASS_RE) to filter the file content, significantly reducing the likelihood of successful prompt injection. - [COMMAND_EXECUTION]: The shared utility file
scripts/_skill_cli.pycontains arun_commandfunction that usessubprocess.run. Although this function is not currently called by the tools defined in the manifest, it represents a pre-existing capability for executing system commands. The implementation follows security best practices by settingshell=Falseand resolving executables viashutil.whichto prevent command injection. - [PROMPT_INJECTION]: The skill includes comprehensive stylistic instructions in
context/PROSE_ANTI_SLOP.md. These are framing instructions designed to enforce a specific professional persona and brand voice (e.g., banning certain AI-typical phrases and specific Unicode characters). These instructions are stylistic in nature and do not attempt to bypass core safety or ethical guidelines.
Audit Metadata