Prompt-provenance scans for agentic GitHub Actions and n8n workflows
Security teams should add a workflow check that traces whether attacker-controlled fields, such as GitHub issue comments, can reach an agent prompt that also has secrets, shell access, API tokens, or database tools. The useful output is a small path report: trigger event, transformed prompt fields, agent call, available tools, and the action that could leak data or execute commands.
JAW gives a concrete recipe for this check. It combines workflow path analysis, runtime prompt tracing with canary-marked inputs, capability checks, and payload evolution. In real GitHub Actions and n8n templates, it found 4,174 hijackable GitHub workflows and eight hijackable n8n templates, with reported impacts including credential leakage and arbitrary command execution. A first internal version can run on pull requests that change workflow YAML, reusable actions, n8n templates, or agent permissions, then block only the cases where untrusted prompt content and privileged tools meet in the same execution path.