Both action intents reach the agent.
{
"tool_calls": [
{ "command": "pip install reqursts" },
{ "command": "pip install requests" }
]
}
Use case / relay poisoning
This demo uses an OpenAI-compatible fake relay. The relay returns both a poisoned package install and a safe one. BeforeWire strips the suspicious tool call, keeps the safe call, and writes a local evidence packet before execution.
[beforewire] blocked bash ['slopsquat'] [beforewire] suspicious tool call stripped [receipt] #2 DENY reqursts / #3 ALLOW requests [chain] hash verified
A relay, gateway, or API router can alter returned content after the model has produced it. The agent still sees a compatible payload, so the risky moment is after the answer and before the tool executes.
{
"tool_calls": [
{ "command": "pip install reqursts" },
{ "command": "pip install requests" }
]
}
[beforewire] intercept corr=e8f75b45 policy=relay-guard effect=deny reason=slopsquat package blocked="pip install reqursts"
{
"tool_calls": [
{ "command": "pip install requests" }
]
}
BeforeWire does not need to claim that a provider, model, or route is malicious. It proves that suspicious returned content cannot silently become a package install, shell command, HTTP request, or MCP tool call. The decision is deterministic and the evidence stays local.
Use a fake compatible relay to make the risk obvious, then put BeforeWire on the agent execution path and repeat the same request. The difference is not a screenshot; it is a local receipt.
Call the fake route directly and show that returned content includes both pip install reqursts and pip install requests.
Run the same request through BeforeWire. The suspicious action is denied while it is still only intent; the safe action remains available.
Open the local evidence packet and show [DENY] reqursts, [ALLOW] requests, policy reason, and verified hash chain.
Run a shadow audit on redacted agent config or trace to see whether this report can enter your launch review path.
Request a shadow audit to map your AI clients, API routes, MCP tools, outbound destinations, and local evidence packet requirements.