Workflow wiring bugs in agent systems can trigger harmful real-world actions. A static analyzer that checks them across frameworks before deployment catches design flaws that PromptInformation or instructions supplied to a model; in a chat, the request you type is often called your prompt.Full definition →-InjectionA flaw where untrusted input is pasted into a command so that the input changes the command's meaning.Full definition → defenses miss.
Key takeaways · AI-distilled
Apsis targets bugs in how an agentic workflow is wired, not prompt injectionAn attack that hides instructions in content an AI will read — a webpage, email, or document — tricking it into following the attacker instead of the user.Full definition → or malformed API calls, and checks the workflow's logic statically before it is deployed.
To work across frameworks, Apsis lifts framework code into a shared graph of steps, data dependencies and shared StateInformation describing a system at a particular moment, such as its current text, settings or saved records.Full definition →, annotated with properties such as whether an input is mandatory or how concurrent writes merge.
Recurring agent failures are written as declarative patterns in a bug description language, and matching them against the graph points to the exact step that causes each bug.
The authors built what they describe as the first corpus of workflow bugs, drawn from real reports across 13 frameworks. Apsis found bugs at 91% precision and 84% recall and surfaced 36 previously unknown bugs.
Terms in this piece · Glossary
State — Information describing a system at a particular moment, such as its current text, settings or saved records.
Prompt — Information or instructions supplied to a model; in a chat, the request you type is often called your prompt.
Injection — A flaw where untrusted input is pasted into a command so that the input changes the command's meaning.
prompt injection — An attack that hides instructions in content an AI will read — a webpage, email, or document — tricking it into following the attacker instead of the user.