codebase-aware-ui-prompts
Pass
Audited by Gen Agent Trust Hub on Nov 30, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to run verification commands such as
npx tsc --noEmitand Playwright test fixtures to ensure generated UI components meet production quality and accessibility standards. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to process external product requirements and inspect local codebase configurations to generate implementation briefs. It implements a multi-layered defense strategy against potential injection or data poisoning:
- Ingestion points: The skill ingests untrusted data from feature requests (SKILL.md) and audits local project metadata such as
package.jsonandtailwind.config.js(references/codebase-discovery-protocol.md). - Boundary markers: It requires that all mock data be explicitly labeled with
[MOCK_DATA]orisMock: trueand instructs the agent to flag unconfirmed product assumptions to the user before implementation. - Capability inventory: The skill leverages subprocess execution for type-checking and automated accessibility audits via
axe-core(references/ui-verification-rubric.md). - Sanitization: The protocol explicitly forbids the inclusion of secrets, private source code, internal endpoints, or user data when interacting with hosted AI generators or design tools (references/platform-prompt-contracts.md).
Audit Metadata