Repository navigation
Releases
guardrail-plugin 0.1.7
What's new
- Agent identity in the decision log: every logged decision names the agent that triggered it (
claude-code,codex,copilot,grok,cursor). The adapter sets the name in code; it cannot be set through the hook input or environment. tollgate-guard-status: reports per agent whether the hook is registered and how it behaves when it fails:ENFORCED,DEGRADED(the agent lets a call through when the hook times out or fails),UNPROTECTEDorNOT_INSTALLED.--jsonand--record(writes anenforcement_statusevent). The status is what this machine reports about itself, not proof against someone who can change the configuration.- Adapters fail closed for unknown write tools: a tool name that looks like a write (for example
save_file,insert,delete, any case) is now denied instead of passed through. Known limit: a write tool with a completely neutral name is not recognized. - macOS:
Library/Keychains/in the home directory is protected against reads and writes.
Notes
- TollWire is defense in depth, not a sandbox. See Limits.
Verify
sha256sum --check --strict SHA256SUMS, then compare with npm view @tollwire/guardrail-plugin@0.1.7 dist.integrity.
guardrail-plugin 0.1.6
What's new
- Hook adapters for more coding agents (experimental): OpenAI Codex CLI, GitHub Copilot CLI, xAI Grok Build and Cursor Agent (
tollgate-guard-codex,-copilot,-grok,-cursor). Each adapter passes the agent's pre-execution hook call to the same decision engine as the Claude Code hook. Setup: guardrail-plugin/docs/multi-agent.md.- Copilot CLI and Grok Build allow a call when the hook times out or fails; Cursor does so unless the hook is registered with
"failClosed": true.
- Copilot CLI and Grok Build allow a call when the hook times out or fails; Cursor does so unless the hook is registered with
- Wrapper coverage: the write and install checks now also see commands run through
runuser -u,sg,script -c,setpriv,chroot,nsenter,systemd-run,bwrap,firejailand container runners (docker/podman/nerdctl run|exec).ssh HOST 'cmd'is not analyzed.
Notes
- There is no public 0.1.5; the version was not released.
- TollWire is defense in depth, not a sandbox. See Limits.
Verify
sha256sum --check --strict SHA256SUMS in the download directory, then compare with npm:
npm view @tollwire/guardrail-plugin@0.1.6 dist.integrity
evidence-mcp 0.1.7
What's new
- No functional change; version aligned with the guardrail plugin 0.1.7. The report tests now cover guardrail decisions that carry the new
agentfield.
Verify
sha256sum --check --strict SHA256SUMS, then compare with npm view @tollwire/evidence-mcp@0.1.7 dist.integrity.
evidence-mcp 0.1.6
What's new
- SOC 2 control mapping (draft, not audited): event types are additionally mapped to AICPA Trust Services Criteria, only where the event provides evidence. Not evidence of conformity.
- Guardrail blocks per control in the report:
export_reportcan include enforced guardrail denials per control, read from the local guardrail decision log. - Fix: Markdown report escaping now escapes backslashes before pipes, so event text can no longer break out of a table cell.
Notes
- There is no public 0.1.5; the version was not released.
Verify
sha256sum --check --strict SHA256SUMS in the download directory, then compare with npm:
npm view @tollwire/evidence-mcp@0.1.6 dist.integrity
guardrail-plugin 0.1.4
guardrail-plugin 0.1.4
TollWire's policy-enforcement hook for AI coding agents. It checks file writes,
shell commands and new dependencies before they run, blocks detected violations,
and records reported changes, scans and approvals in a tamper-evident log. The
plugin code runs locally and makes no network requests.
Security hardening
- Writes to dependency manifests and lockfiles (for example package.json and
package-lock.json) that cannot be verified are now blocked fail-closed,
including when reached through a symlink target. - The hook and the MCP tools now apply the same install-command and path checks,
so a check that blocks on one surface can no longer be bypassed on the other. - Hardened environment handling so dynamic-loader variables (such as LD_PRELOAD)
can no longer reach the command wrapper.
Dependencies
- Updated bundled dependencies to pick up upstream security fixes.
Tests
- Added a penetration-test catalog covering persistence, credential,
agent- and plugin-manipulation, privilege, evasion and dependency categories.
Verify
Download the package, SBOM and checksums, then run:
sha256sum --check --strict SHA256SUMS
Please report vulnerabilities as described in SECURITY.md, not as a public issue.
evidence-mcp 0.1.4
evidence-mcp 0.1.4
TollWire's evidence MCP server: a tamper-evident log of reported agent changes,
scans and approvals that you can use as evidence in audits. The server runs
locally and makes no network requests.
Changes
- Updated bundled dependencies to pick up upstream security fixes.
- Internal test and reliability improvements.
Verify
Download the package, SBOM and checksums, then run:
sha256sum --check --strict SHA256SUMS
Please report vulnerabilities as described in SECURITY.md, not as a public issue.
guardrail-plugin 0.1.2
guardrail-plugin 0.1.2
Version 0.1.1 was not published; 0.1.2 contains its changes. Interfaces can change incompatibly before 1.0.
Security
- Bash write targets now respect the project boundary, like Write and Edit: redirections and recognized write commands
may only target the project,/tmp,/var/tmpor a permittedTMPDIR./dev/null,/dev/stdout,/dev/stderrand
/dev/ttystay allowed. sudo,sudoedit,doasandpkexecare blocked as commands, also behind common wrappers and insidebash -cor
su -c. Mentioning the names stays allowed. Known limits and false positives are listed in the README.- The dependency allowlist now also applies to package runners and further installers:
npx,npm exec,pnpm dlx,
yarn dlx,bunx,uvx,uv tool run,uv run --with,pipx run,poetry add,pipenv install. Unresolved
arguments and foreign sources are blocked (fail closed);conda,mambaandmicromambaare always blocked. cshandtcshare recognized as shells; their redirections>!,>>!,>&!and>>&are blocked (fail closed).
Supply chain
- The MCP server no longer depends on
@modelcontextprotocol/sdkat runtime. A small built-in stdio server (JSON-RPC 2.0,
same protocol versions, tool names, schemas and outputs as before, checked by a differential test) replaces it. The only runtime dependency is
zod4.6.7 (previously 4.6.6); the publishednpm-shrinkwrap.jsonlists no other runtime package. - Input limits of the stdio server: lines longer than 1 MiB and JSON nested deeper than 64 levels are rejected.
- The MCP server reports the package version.
The plugin is not a sandbox; running agents in a container or VM is still recommended.
Verify the downloaded files with sha256sum --check --strict SHA256SUMS. Please report vulnerabilities as described in
SECURITY.md, not as a public issue.
evidence-mcp 0.1.2
evidence-mcp 0.1.2
Interfaces can change incompatibly before 1.0.
Supply chain
- The server no longer depends on
@modelcontextprotocol/sdkat runtime. A small built-in stdio server (JSON-RPC 2.0,
same protocol versions as before) replaces it. Tool names, descriptions, input schemas and outputs are unchanged. - The only runtime dependency is
zod4.6.7 (previously 4.6.6); the publishednpm-shrinkwrap.jsonlists no other
package. - Input limits of the stdio server: lines longer than 1 MiB and JSON nested deeper than 64 levels are rejected.
The server makes no network requests.
Verify the downloaded files with sha256sum --check --strict SHA256SUMS. Please report vulnerabilities as described in
SECURITY.md, not as a public issue.