anth-sdk-patterns
Pass
Audited by Gen Agent Trust Hub on May 19, 2026
Risk Level: SAFEPROMPT_INJECTION
Full Analysis
- [PROMPT_INJECTION]: The skill provides code templates that interpolate untrusted data directly into API calls, creating a surface for indirect prompt injection.
- Ingestion points: External data enters the context via the
promptargument inClaudeService.complete(SKILL.md), theuser_messageargument inConversation.say(SKILL.md), and thetextandschema_descriptionarguments inextract_structured(SKILL.md). - Boundary markers: No delimiters or specific instructions to ignore embedded commands are used to isolate user-provided content from the system instructions.
- Capability inventory: The provided snippets are limited to network operations with the Anthropic API and do not include file system access or subprocess execution capabilities.
- Sanitization: No input validation, escaping, or filtering of external content is included in the provided code examples.
Audit Metadata