Skip to content

Add streaming/partial-turn early dispatch pattern to AI-AND-LLM.md - #16

Open
ankit-prabhavak wants to merge 1 commit into
cloudflare:mainfrom
ankit-prabhavak:add-streaming-early-dispatch-pattern
Open

ankit-prabhavak wants to merge 1 commit into
cloudflare:mainfrom
ankit-prabhavak:add-streaming-early-dispatch-pattern

Conversation

@ankit-prabhavak

Copy link
Copy Markdown

Closes #15

Adds a new attack-class pattern under "Tool and action attack classes" covering agent dispatchers that act on partial/streaming model output rather than a finalized turn, a gap not covered by the existing tool-argument-injection, confused-deputy, action-binding, schema-disagreement, or unbounded-loop patterns.

No other file in the repo references these pattern names, so this is a self-contained, single-file addition.

None of the existing tool/action attack classes cover timing: they
assume the dispatcher acts on a complete model turn. Frameworks that
stream tool-call arguments (LangChain/LangGraph agent loops among
them) can dispatch a side effect before the turn is finalized, which
is a distinct boundary-failure class worth naming separately.

@Bangkah Bangkah left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean addition, addresses a real gap in LLM agent streaming dispatch logic. No base conflicts. LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add hunting pattern: streaming/partial-turn early dispatch

2 participants