design-system
Pass
Audited by Gen Agent Trust Hub on Dec 5, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPERSISTENCEPRIVILEGE_ESCALATIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes
nodeto run a local command-line interface (scripts/cli.mjs) for file management, system validation, and background server operations. It also invokesnpm installandesbuildwithin a temporary directory to build component bundles when syncing from external code repositories. - [EXTERNAL_DOWNLOADS]: Fetches fonts from Google Fonts and loads React libraries and other assets from well-known content delivery networks including jsDelivr, unpkg, and cdnjs to support live component previews.
- [PERSISTENCE]: The skill can write a script to
.git/hooks/pre-commitin the local repository, which will automatically execute the design system's check command before each git commit. - [PRIVILEGE_ESCALATION]: Uses
chmod +xto set execution permissions on the generated git pre-commit hook. - [DYNAMIC_EXECUTION]: Generates and runs HTML previews and JavaScript bundles (
components/bundle.js) within a sandboxed environment to visualize components and tokens. - [INDIRECT_PROMPT_INJECTION]: The skill ingests third-party data from codebases and design tools. It includes guardrails instructing the agent to treat all ingested content as data rather than instructions.
- Ingestion points: Design tool files (referenced in
reference/from-design-tool.md) and code repositories (referenced inreference/from-code.md). - Boundary markers: Explicit instructions are provided to treat all external content as data and to ignore any instructions embedded within them.
- Capability inventory: The skill possesses the ability to write to the file system, execute local build commands (
node,npm,esbuild), and operate a local network server. - Sanitization: Component previews are executed within sandboxed iframes to isolate them from the main agent environment.
Audit Metadata