claude-api-in-prototypes

Pass

Audited by Gen Agent Trust Hub on Oct 7, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill documents the window.claude.complete API, which creates a vulnerability surface by processing message arrays that can contain untrusted user data.
  • Ingestion points: Data enters the agent context via the messages array or text input in the window.claude.complete function as described in SKILL.md.
  • Boundary markers: The documentation does not specify boundary markers or instructions to delimit user-provided content from system instructions.
  • Capability inventory: The API supports in-page tool execution via the run property in the tools definition, allowing the model to trigger client-side asynchronous logic within the prototype context.
  • Sanitization: The skill does not describe any sanitization, escaping, or validation requirements for external content processed by the helper.
  • [DYNAMIC_EXECUTION]: The skill documents a mechanism for defining and executing code at runtime within a web prototype environment.
  • Evidence: The window.claude helper facilitates the execution of local JavaScript functions defined in the run property of tools provided to the completion call, enabling a loop of model-driven tool calls in the user's browser.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 7, 2026, 06:44 PM