Still inspectable. No package manager, shell, HTTP client, file system, or MCP server has run.
Agent execution control for security review
Control AI-agent execution before tools run.
BeforeWire sits between an AI agent and its tools. It screens returned content and proposed tool calls while they are still intents, blocks risky actions before execution, and writes local receipts you can review or share after redaction.
policy=relay-guard
Reviewer sees the source, action, policy, reason, redaction state, and hash-chain proof.
- source
- api_route_response
- action
- pip_install("reqursts")
- effect
- deny_before_execution
- receipt
- sha256:7d4... -> 9ab...
Raw prompts, keys, full traces, tool snapshots, and local audit files.
Redacted receipt fields, report excerpts, and MCP config snippets.
- Local enforcement
- Runs near the agent and tools, before shell, HTTP, files, or MCP servers execute.
- Redacted handoff
- Share selected receipt fields and report excerpts without sending raw prompts or keys.
- Review packet
- Map each decision to an enforcement point, policy record, review surface, and evidence handoff.
Evaluate BeforeWire with redacted evidence, not raw traces.
Security review starts with four concrete objects: a local run, an action-boundary receipt, the redacted fields you choose to share, and a control checklist reviewers can map to launch approval.
Run the local proof
Install BeforeWire, run the selftest, and confirm a risky action is denied before execution.
Run local proofInspect the action boundary
Read the receipt fields: source, proposed action, policy, effect, reason, redaction, and hash chain.
Open evidence packetShare only redacted material
Use the input template to send selected receipt fields, MCP config snippets, or trace excerpts.
View input templateMap it to security review
Review the enforcement point, decision record, review surface, and evidence handoff.
Open security checklistRaw prompts, keys, full model traces, local audit records, and complete capability snapshots remain private unless you decide otherwise.
For evidence review, send redacted receipt fields, report excerpts, and the minimum MCP or agent config needed to explain the action boundary.
Relay returns. BeforeWire quarantines. The agent keeps working.
The homepage shows the short proof. A compatible API route returns a suspicious package install and a safe one; BeforeWire quarantines the suspicious action before execution, preserves the safe call, and writes a receipt reviewers can inspect.
pip install reqursts
pip install requests
policy=relay-guard reason=slopsquat
pip install requests
safe tool call preserved
MCP / tools / skills
tamper / injection
allow / warn / deny
hash-chain receipt
The risky moment is after the answer, before the action.
AI agents read returned content, then convert it into shell commands, package installs, HTTP calls, MCP tool calls, file access, database writes, office webhooks, and delegated work.
If a model response is modified after passing through a third-party API router or gateway, the risk may not come from the model itself. It appears after the response returns and before the action is actually executed.
A safe model response is changed into a malicious tool call on the return path.
response pathA normal-looking tool result pushes new instructions back into the agent context.
tool outputrequests becomes reqursts, and the agent proceeds to install it.
A fake key appears in a response or tool result and can be traced to a session.
attributionAn approved MCP tool, skill, or workflow changes its schema, script, description, or capability boundary.
surfacePlace the control at the last safe moment: before execution.
Security review starts with placement. BeforeWire keeps enforcement close to the agent and its tools, where a proposed action is still inspectable but has not yet touched shell, network, files, databases, or MCP servers.
tool_use
allow / warn / deny
response path
execution
Three control surfaces, one reviewable evidence packet.
BeforeWire is not a generic AI safety scanner. It focuses on the path between what an agent is allowed to use, what a response tries to make it do, and what concrete action is about to execute.
Can this tool or MCP definition still be trusted?
BeforeWire governs surfaces that change agent behavior: MCP tools, local tools, skills, prompt packs, workflow instructions, and referenced scripts. Each surface can be scanned, snapshotted, approved, diffed, and sent back for review when it drifts.
MCP / tool scan, approval, diff, and snapshot hash enforcement.
Skills, prompt packs, workflow instructions, and referenced scripts.
MCP / tool scanskill reviewsnapshot hashapprove / diff
Should this exact action run now?
Every proposed tool call, package install, shell command, file operation, outbound request, message, or delegated task is evaluated while it is still only an intent. A denied action never reaches the tool.
effect: deny
allow / warn / denypolicy decisionpre-execution denialaudit record
Is returned content trying to create a risky action?
BeforeWire screens model and tool responses before they become execution intent, catching API route tampering, AI MITM, malicious tool use, tool-result injection, slopsquat suggestions, risky commands, secret leakage, suspicious egress, and canary replay.
response tamper screeningstreaming text passthroughbuffered tool-call reviewcanary attribution
Scan capability surfaces -> screen returned content -> decide the concrete action -> write a reviewable receipt.
BeforeWire gates agent actions, not packets. It makes decisions before actions happen and records verifiable evidence.
Run the local proof in 60 seconds.
Install BeforeWire, run the selftest, then inspect the receipt. You can try the proof without sending prompts, keys, traces, or audit records to a third-party service.
pip install beforewire
beforewire init
beforewire selftest
AUDIT_PATH="$(python3 -c 'import os,tempfile; print(os.path.join(tempfile.gettempdir(),"beforewire-selftest-audit.jsonl"))')"
beforewire receipt "$AUDIT_PATH"
beforewire verify "$AUDIT_PATH"
When returned content tries to install reqursts, run curl | sh, leak a secret, or replay a canary, BeforeWire denies the action and records the policy, reason, and hash-chain receipt.
- source
- api_route_response
- blocked
- pip_install("reqursts")
- receipt
- hash verified
Show the report, receipt, and reason, not a screenshot.
Each allow, warn, or deny records the source, proposed action, destination, matched policy, effect, reason, capability-surface context, redacted evidence, and hash-chain proof. Security, risk, and audit teams can review the control path without reading a full model trace.
If there is no control before execution, audit is only incident replay. With pre-execution decisions, security review has a boundary and a packet of evidence.
- source
- api_route_response
- action
- pip_install("reqursts")
- policy
- relay-guard
- effect
- deny before execution
- reason
- slopsquat package
- capability_snapshot
- sha256:7d4...
- audit_chain
- hash verified
Give agent launch review a concrete evidence packet.
Security review needs a clear enforcement point, a decision record, and local evidence that shows what was allowed, warned, or denied before execution.
BeforeWire turns response screening and action decisions into concrete review objects: denied actions, sensitive egress, capability drift, canary hits, policy changes, and receipt hashes.
- scope
- agent action boundary
- evidence
- decision receipts, policy hits, capability snapshots
- owner
- AI platform / security engineering
Enforcement point
Run response screening and action decisions near the agent and tools, while keeping keys, prompts, capability snapshots, and audit records in your environment.
Decision record
Record source, action, matched policy, effect, reason, capability snapshot, and hash-chain receipt for each allow, warn, or deny result.
Review surface
Review denied actions, canary hits, capability drift, unapproved tools, and policy changes before they become production incidents.
Evidence handoff
Share only the redacted receipts and report fields your reviewers need, while raw prompts, keys, and local traces stay in your environment.