chrome-extension-builder

Pass

Audited by Gen Agent Trust Hub on Nov 16, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes external data including Chrome extension source code (JavaScript, HTML, Manifest V3) and project metadata, which creates a potential surface for indirect prompt injection.
  • Ingestion points: The script scripts/check_extension.py reads and inspects extension source files; scripts/intelligence.py and scripts/session.py process local project state and user-supplied JSON inputs.
  • Boundary markers: Robust safety instructions are present in references/policy-boundaries.md and references/host-guide.md, which mandate that the agent treat retrieved content as data and never as behavioral instructions.
  • Capability inventory: The agent can execute local Python helper scripts via scripts/agent_contract.mjs and scripts/extension_builder.mjs, and it can perform local file write operations.
  • Sanitization: The sanitized function in scripts/intelligence_records.py rejects inputs containing code blocks, script tags, or credential patterns. Additionally, scripts/check_extension.py identifies and flags dynamic code execution patterns such as eval() and new Function() within the projects it audits.
  • [COMMAND_EXECUTION]: The skill executes local Python scripts to perform core functions like scaffolding and checking extensions.
  • Evidence: Node.js scripts scripts/agent_contract.mjs and scripts/extension_builder.mjs use the spawn and spawnSync modules to run specific, hardcoded Python helpers within the skill's own directory. These executions are scoped to the skill's internal logic and do not allow for arbitrary command injection.
  • [EXTERNAL_DOWNLOADS]: The skill references official documentation and developer guides from various well-known services to provide factual context for extension development.
  • Evidence: references/official-links.md and other documentation files include links to official resources from Google (Chrome developer docs), Anthropic (Claude guidelines), OpenAI (ChatGPT policies), and Microsoft (Playwright documentation). These are well-known technology organizations and the references are used neutrally for informational purposes.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 16, 2026, 08:03 PM