npm tripwire-guardstdioMITupdated 26d ago
Public package: tripwire-guard. A clean install and MCP handshake were verified on 13 August 2026.
What can you do with Tripwire Guard ā evidence first injection scanner?
Tripwire Guard
Public package:
tripwire-guard. A clean install and MCP handshake were verified on 13 August 2026.
A local, read-only MCP server that inspects untrusted text for prompt-injection before it enters an AI agent's context.
Give it text (a web page, document, email, ticket, RAG chunk) and it returns an allow / review / recommend_block decision with the exact matched evidence. It runs entirely on your machine, makes no network requests, and redacts emails, URLs and credential-like strings by default.
The engine is deterministic and ships with a public 100-case maintainer-authored evaluation ā 85% accuracy, with every false positive and false negative published. It is a fast, explainable signal layer; it is not a guarantee of safety, and the host remains responsible for enforcing the decision.
Unlike an MCP proxy, Tripwire Guard does not intercept or authorize other tool calls. Unlike a model-based detector, it needs no model runtime or API. Pair it with least-privilege tools, approval gates, isolation and action-sink enforcement.
Install / run
Requires Node.js 22.12+.
npx tripwire-guard
Use it in an MCP host
{
"mcpServers": {
"tripwire": {
"command": "npx",
"args": ["-y", "tripwire-guard"]
}
}
}
The tool
tripwire_scan (read-only) ā inputs:
content(string, required) ā untrusted text to inspect.source(string, optional) ā provenance, e.g. a page URL, email, tool result, or document name.includeEvidence(boolean, optional) ā return raw matched evidence instead of redacted. Defaults to redacted.
Returns structured evidence: the decision, a finding count, per-finding rule id / severity / category / matched span, and the engine + ruleset versions.
The npm package is versioned independently from the detector engine reported inside each result. Package 0.4.2 currently ships engine 0.3.0 and ruleset 2026.08.2.
Honest limits
Deterministic heuristics can miss novel, contextual, multilingual, visual, or heavily obfuscated attacks. A clean result means "no known signal matched," not "safe." Pair it with least-privilege tools, approval gates, and sandboxing.
Map the surrounding system
Use the free agent action-path worksheet to map an untrusted input, its reachable tools, the consequential action sink, existing controls, and the minimum safe test evidence. It is ungated and contains a clearly labelled synthetic example.
More
Live demo, full benchmark, threat model, and fixed-scope team review: https://tripwire-live.netlify.app
Source and security boundary
This repository contains the distributable MIT-licensed, read-only Guard MCP server and its release metadata. The broader Tripwire browser product and paid review materials are maintained separately. Report package defects through this repository's issue tracker; do not post secrets, customer data, private prompts, or live credentials.
Ā© 2026 Kuba Opoczka.
Install
Add Tripwire Guard ā evidence first injection scanner to your client. Pick the one you use.
claude mcp add tripwire-guard -- npx -y tripwire-guardcodex mcp add tripwire-guard -- npx -y tripwire-guardamp mcp add tripwire-guard -- npx -y tripwire-guard{
"mcpServers": {
"tripwire-guard": {
"command": "npx",
"args": [
"-y",
"tripwire-guard"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"tripwire-guard": {
"command": "npx",
"args": [
"-y",
"tripwire-guard"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"tripwire-guard","command":"npx","args":["-y","tripwire-guard"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"tripwire-guard": {
"command": "npx",
"args": [
"-y",
"tripwire-guard"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"tripwire-guard": {
"command": "npx",
"args": [
"-y",
"tripwire-guard"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"tripwire-guard": {
"command": "npx",
"args": [
"-y",
"tripwire-guard"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"tripwire-guard": {
"type": "local",
"command": "npx",
"args": [
"-y",
"tripwire-guard"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"tripwire-guard": {
"command": {
"path": "npx",
"args": [
"-y",
"tripwire-guard"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y tripwire-guardRun `goose configure`, choose **Add Extension ā Command-line Extension**, and paste this command.
Score
39 / 100
Incomplete
- Documentation22/25
- Maintenance19/25
- Trust13/20
- Capability0/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 18 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint ā no local install
Version history
| Versions | Published |
|---|---|
| 0.4.2Latest | Aug 13, 2026 |