pin-prototypes
Pass
Audited by Gen Agent Trust Hub on Sep 20, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes two Node.js scripts,
capture.mjsandrebrand.mjs, which perform subprocess operations. Specifically,capture.mjsexecutes Playwright (Chromium) andrebrand.mjsusesspawnSyncto execute project-local "hook" scripts. - [DYNAMIC_EXECUTION]: The
rebrand.mjsscript dynamically executes a user-provided script path (the "hook") defined in a JSON mapping file. Additionally,capture.mjsperforms dynamic loading of theplaywrightmodule usingcreateRequireandimport()from the project's local directory. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process external content from project briefs and design tool outputs to generate prompts, standing headers, and review notes. This represents a potential surface for indirect injection attacks.
- Ingestion points: Reads content from
docs/brief.mdand processes human-provided pastes of design tool outputs. - Boundary markers: The skill relies on natural language instructions and template placeholders (e.g.,
<project>) but does not implement explicit security delimiters or "ignore embedded instructions" warnings for ingested content. - Capability inventory: The skill has capabilities to write to the file system (e.g., creating the
prototypes/directory and updatingCLAUDE.md/AGENTS.md) and execute scripts (capture.mjs,rebrand.mjs). - Sanitization: No specific sanitization or validation logic is defined for the external text interpolated into the generated prompts.
- [EXTERNAL_DOWNLOADS]: The
capture.mjsscript facilitates the use of the Playwright library, which is a well-known service from Microsoft. It includes logic to handle the download of the Chromium browser via the standardnpx playwright install chromiumcommand if it is not already present in the environment.
Audit Metadata