distilled-sdk
Pass
Audited by Gen Agent Trust Hub on Sep 13, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes external API specifications (OpenAPI, GraphQL, Smithy) sourced from third-party endpoints. These untrusted descriptions represent an attack surface where malicious content could attempt to influence the agent's behavior during the SDK conversion and generation process.\n
- Ingestion points: Remote data enters the context through
fetch-specs.tsscripts located instacks/distilled-submodules/spec-repos/<pkg>/.\n - Boundary markers: The documentation recommends structural validation (e.g., checking for
openapiorpathsfields) but lacks explicit security-focused sanitization or instruction-ignoring delimiters.\n - Capability inventory: The skill uses
pnpmandbunto execute scripts that perform file operations, code generation, and project maintenance.\n - Sanitization: No specific prompt-injection sanitization or escaping of the external content is described for the generation pipeline.\n- [DYNAMIC_EXECUTION]: The workflow involves creating and running local scripts (
fetch-specs.ts) to manage specification retrieval. Additionally, the skill uses theDISTILLED_SPECS_LOCALenvironment variable to dynamically alter file path resolution for specifications at runtime.\n- [EXTERNAL_DOWNLOADS]: The pipeline fetches API specifications and documentation from remote sources, includingraw.githubusercontent.comand other external provider endpoints.\n- [COMMAND_EXECUTION]: The skill instructs the agent to execute various shell commands and project scripts, such aspnpm generate,pnpm convert,pnpm specs:local, andbun install, to automate the SDK lifecycle.
Audit Metadata