style-builder
Pass
Audited by Gen Agent Trust Hub on Oct 8, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: Fetches the official
@google/design.mdpackage from a trusted organization's repository usingnpxduring validation, export, and diff operations. - [COMMAND_EXECUTION]: Executes project-scoped commands using
npx,python3, andbunto perform design linting, contrast checks, and serve local previews. - [INDIRECT_PROMPT_INJECTION]: The skill possesses an attack surface for indirect injection as it ingests untrusted data from URLs, HTML/CSS, code, and reference images (seen in
design.mdandidentity-assessment.md). It employs boundary markers by explicitly instructing the agent to treat these sources as data and ignore embedded directives. The skill's capabilities include file writing (Write) and command execution (Bash). Sanitization is performed by escaping embedded HTML in the preview views to prevent execution. - [DYNAMIC_EXECUTION]: Runs a local preview server (
preview-server.ts) and a contrast checker (check-contrast.py). The preview server is restricted to the local interface (127.0.0.1) and incorporates checks to prevent directory traversal attacks by validating that all file requests stay within the designated session directory.
Audit Metadata