design-system-from-codebase
Pass
Audited by Gen Agent Trust Hub on Nov 13, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill's core functionality involves reading and auditing an external application codebase to extract design tokens and components. This creates a surface where malicious instructions embedded in the codebase (e.g., in code comments or documentation) could attempt to influence the agent's behavior.
- Ingestion points: The agent reads the entire app repository during Step 1 (Audit) and Step 2 (Scaffold), as well as diffs during Maintain mode.
- Boundary markers: No explicit delimiters for untrusted code are defined in the instructions, though the agent is directed to create a structured
audit.md. - Capability inventory: The agent has the ability to read files, write new code, execute build/lint/test commands, and open Pull Requests on GitHub.
- Sanitization: The skill contains a strong security rule requiring the agent to scan ported code for secrets, internal URLs, customer data, and private API shapes and remove them before publishing.
- [COMMAND_EXECUTION]: The skill performs standard software development operations which involve executing shell commands for building and verifying the generated site.
- Evidence: Step 4 requires the agent to run typecheck, lint, tests, and build commands (e.g.,
pnpm build) to ensure the generated design system is functional and safe to ship.
Audit Metadata