repo-design-guard
Pass
Audited by Gen Agent Trust Hub on Nov 25, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONPRIVILEGE_ESCALATION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes shell commands including git (remote, worktree, rev-parse), package managers, and custom scripts to analyze the repository and enforce design rules.
- [EXTERNAL_DOWNLOADS]: It downloads and installs Node.js packages such as @shadcn/lint and @google/design.md, and fetches agent skills from vercel-labs/ui using npx and package managers.
- [DYNAMIC_EXECUTION]: The skill generates shell scripts (scripts/check-*.sh) and new agent skills (.claude/skills/design-review-/SKILL.md) at runtime based on the repository's configuration and then executes them.
- [INDIRECT_PROMPT_INJECTION]: It reads and processes content from repository files like AGENTS.md, CLAUDE.md, and DESIGN.md to configure its behavior and rules, creating a surface for indirect prompt injection if these files contain malicious instructions.
- [PRIVILEGE_ESCALATION]: It utilizes docker run to execute linting and validation scripts within specific container images, which involves interacting with the container runtime.
Audit Metadata