copilot-design
Pass
Audited by Gen Agent Trust Hub on Sep 10, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and analyze untrusted external data (such as user feedback exports, GitHub repositories, Figma files, and CSV/JSON datasets) to generate design artifacts, research findings, and code. This creates a surface for indirect prompt injection if those sources contain malicious instructions.
- Ingestion points:
built-in-skills/data-science.md,built-in-skills/import-from-github.md,built-in-skills/import-from-figma.md, andbuilt-in-skills/data-visualization.md. - Boundary markers: Present in instructions like
ask-the-user.mdwhich warns the agent not to trust strings verbatim, andchart-stage.jswhich uses explicit delimiters for tooltips. - Capability inventory: The skill possesses significant capabilities, including shell command execution (via
Bash), file system writing (Write), and headless browser automation (Playwright). - Sanitization:
chart-stage.jsincludes a_stripActiveContentmethod specifically designed to sanitize HTML content in chart tooltips. - [DYNAMIC_EXECUTION]: The skill uses dynamic code generation and execution patterns to implement its design system compilation and automated capture features.
- JSX Transpilation:
agents/compile-design-system.mjsuses a vendored Babel instance to transpile component code into a runtime bundle. - Sandbox Execution:
agents/build-preview.mjsutilizesnew Functionto execute card-specific scripts within a proxy-based sandbox to isolate them for the preview page. - Automated Navigation:
agents/gen-pptxandagents/gen-videoexecute navigation scripts (provided viashowJsorbridgeGlobal) in a headless browser to automate slide transitions and frame captures. - [EXTERNAL_DOWNLOADS]: The skill utilizes well-known CDNs to manage and fetch its dependencies at runtime.
- Evidence:
built-in-skills/3d-object.mduses animportmapwith subresource integrity hashes for Three.js.agents/build-preview.mjsis configured to download Babel and React UMDs fromunpkg.comif they are not available in the local vendor cache. - [COMMAND_EXECUTION]: To provide its functionality, the skill frequently executes shell commands to run compilers, renderers, and local HTTP servers.
- Evidence:
references/claude.mdandreferences/cursor.mddocument the use ofShell/Bashto run thegen-pptxandgen-videoCLIs and to serve the project'sdesigns/directory using Python's built-in server module.
Audit Metadata