open-artifact

Pass

Audited by Gen Agent Trust Hub on Dec 3, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill uses a Node.js script (scripts/open-artifact.mjs) to spawn local processes and manage a daemon. It can execute the system's browser opener (e.g., open, xdg-open, or cmd /c start) to display artifacts.
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data in the form of comments and edit requests sent from the artifact's web interface back to the agent.
  • Ingestion points: Comments and requests arriving as messages prefixed with [Artifact comment sent to agent] or [Artifact edit request sent to agent] as described in SKILL.md. It also processes external HTML and notes when creating new types from existing pages.
  • Boundary markers: The skill uses specific message prefixes to identify external input and includes instructions to treat this content as data rather than instructions.
  • Capability inventory: The agent can write files via the Artifact tool, modify databases via ArtifactData, and interact with the local daemon via scripts/open-artifact.mjs across its various scripts.
  • Sanitization: The instructions advise the agent to only act on comments if they pertain to artifact changes and to seek confirmation for actions outside that scope.
  • [EXTERNAL_DOWNLOADS]: The CLI tool supports an installation mechanism for third-party artifact types from remote URLs (node scripts/open-artifact.mjs types install <url>). While the instructions direct the agent not to invoke this themselves, the capability is present in the provided scripts.
  • [DYNAMIC_EXECUTION]: The skill dynamically imports and executes its own daemon binary (vendor/open-artifact.mjs) and serves user-defined HTML, JavaScript, and CSS within the artifact environment.
Audit Metadata
Risk Level
SAFE
Analyzed
Dec 3, 2026, 09:41 PM