extract-design-tokens

Pass

Audited by Gen Agent Trust Hub on Sep 29, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The sample.mjs script utilizes execFileSync with argument arrays to interact with the agent-browser tool. This approach correctly avoids shell interpolation, preventing command injection vulnerabilities when handling URLs or file paths provided as input.
  • [SAFE]: The style sampling logic executed within the browser context is strictly passive. It collects computed styles, CSS custom properties, and element counts without performing intrusive actions like simulated clicks, form submissions, or cross-origin data exfiltration.
  • [INDIRECT_PROMPT_INJECTION]: The skill is designed to process data from external websites, which constitutes an ingestion point for untrusted content. However, the risk is minimal because the script extracts specific structured data (CSS property values and frequencies) rather than free-form text. The SKILL.md instructions correctly frame the extracted JSON as 'evidence' for the agent's judgment rather than authoritative instructions.
  • [SAFE]: The skill includes explicit guardrails that instruct the agent to avoid sampling private or authenticated pages without permission and to attribute clones to their source, promoting responsible and ethical usage.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 29, 2026, 10:54 AM