streaming-io
Pass
Audited by Gen Agent Trust Hub on Aug 22, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill provides architectural guidance for handling streaming model output. It includes implementation patterns for partial JSON buffering and stream cancellation to prevent resource exhaustion and ensures that tool execution is handled correctly.
- [PROMPT_INJECTION]: The skill addresses the processing of untrusted model output streams. It provides a structured ingestion point via the
consume_streamfunction and explicitly uses boundary markers such as thecontent_block_stopevent to ensure tools are only dispatched with complete data. The capability to dispatchToolCallevents is mitigated by recommendingjson.loadsonly after the block buffer is verified as complete, which prevents the processing of malformed or partially injected instructions.
Audit Metadata