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.pyreads and inspects extension source files;scripts/intelligence.pyandscripts/session.pyprocess local project state and user-supplied JSON inputs. - Boundary markers: Robust safety instructions are present in
references/policy-boundaries.mdandreferences/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.mjsandscripts/extension_builder.mjs, and it can perform local file write operations. - Sanitization: The
sanitizedfunction inscripts/intelligence_records.pyrejects inputs containing code blocks, script tags, or credential patterns. Additionally,scripts/check_extension.pyidentifies and flags dynamic code execution patterns such aseval()andnew 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.mjsandscripts/extension_builder.mjsuse thespawnandspawnSyncmodules 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.mdand 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