Skip to main content

streaming-api-patterns

Enables real-time data streaming using SSE, WebSockets, and ReadableStream APIs for modern applications.

Install this skill

or
86/100

Security score

The streaming-api-patterns skill was audited on Mar 8, 2026 and we found 6 security issues across 3 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 103

Template literal with variable interpolation in command context

SourceSKILL.md
103yield `data-${i}`
medium line 142

Template literal with variable interpolation in command context

SourceSKILL.md
142controller.enqueue(encoder.encode(`data: ${JSON.stringify({ content })}\n\n`))
low line 160

Fetch to external URL

SourceSKILL.md
160const response = await fetch('/api/chat', {
low line 255

External URL reference

SourceSKILL.md
255- [Server-Sent Events Specification](https://html.spec.whatwg.org/multipage/server-sent-events.html)
low line 256

External URL reference

SourceSKILL.md
256- [WebSocket Protocol](https://datatracker.ietf.org/doc/html/rfc6455)
low line 258

External URL reference

SourceSKILL.md
258- [Vercel AI SDK](https://sdk.vercel.ai/docs)
Scanned on Mar 8, 2026
View Security Dashboard
Installation guide →