frontend-design
Pass
Audited by Gen Agent Trust Hub on Oct 4, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes external workspace data through the
audit_frontend_principles.pyscript, which creates an inherent surface for indirect prompt injection if malicious instructions are embedded in the analyzed files. - Ingestion points: The
audit_workspacefunction inscripts/audit_frontend_principles.pyreads the content of all text-based files within the target workspace directory. - Boundary markers: No specific delimiters or "ignore instructions" warnings are utilized within the script or instructions to wrap content read from the workspace.
- Capability inventory: The skill allows the agent to generate and write complex React components, TypeScript logic, and CSS styles.
- Sanitization: The skill lacks sanitization or validation of external file content before it is processed by the agent.
- [SAFE]: The provided Python script (
audit_frontend_principles.py) performs static analysis using regex matching and does not execute the code it audits. It adheres to security best practices by explicitly ignoring sensitive directories such as.git,.next, andnode_modulesduring its traversal. Furthermore, all external references in the skill target well-known and trusted technology organizations such as MDN, W3C, and Nielsen Norman Group.
Audit Metadata