customize-sdk-hooks
Pass
Audited by Gen Agent Trust Hub on Oct 7, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill facilitates the implementation of hooks that process untrusted data from external HTTP requests and responses, creating a potential surface for indirect prompt injection attacks.
- Ingestion points: Implementation of
BeforeRequestHook,AfterSuccessHook, andAfterErrorHookin thesrc/hooks/directory. - Boundary markers: There are no instructions or examples provided for using delimiters or markers to isolate external data from agent processing.
- Capability inventory: The skill allows for arbitrary code execution within hooks, including header manipulation and network calls using
fetch. - Sanitization: No sanitization or validation logic is suggested for handling the content of incoming responses or outgoing requests.
- [DATA_EXFILTRATION]: The skill provides example code that performs network operations to an external domain, which could be used to send data out of the environment.
- Evidence: An implementation example in
SKILL.mddemonstrates using thefetchAPI to send event data tohttps://telemetry.example.com/events. - [COMMAND_EXECUTION]: The skill includes instructions for running the Speakeasy CLI tool to regenerate the SDK.
- Evidence:
SKILL.mdcontains the commandspeakeasy generate sdk -s openapi.yaml -o . -l typescriptfor generating code based on an OpenAPI specification.
Audit Metadata