Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Offense

MCP server by offense-research Community

Offense gives coding agents security tools for dependency advisory audits and evidence for remediation. It is for developers who want their agent to check npm and pnpm projects and explain the findings.

  • Score 77
  • 71 stars
  • Apache-2.0
  • Updated

Install Offense

Built from the published package, never by AI.

claude mcp add --transport http offense https://offense.sh/mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Offense in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the offense block.

About

Offense is a set of security tools for coding agents such as Claude Code, Codex and Pi, built by Offense Research, Inc. The agent calls it through a CLI, MCP or HTTP interface and gets structured security evidence back. The local dependency engine inventories npm and pnpm lockfiles, queries OSV advisories and inspects upgrade options. It can also write a report and a remediation prompt for the agent.

The agent reads that evidence, investigates the code, makes changes it is authorized to make and runs tests, using its own model, repository access and permissions. The self-hosted profile adds source and GitHub Actions scanners, Opengrep and Zizmor, which run in isolated Docker containers. Offense is aimed at developers and teams who want security checks inside their coding agent workflow. It is open source, with an optional hosted service. Its findings are not confirmed exploits, and a partial scan is not a clean result.

Written from the project's README and checked against it.

Tools it gives your assistant

  • Dependency auditInventories npm and pnpm lockfiles and queries OSV advisories.
  • Upgrade optionsInspects upgrade options with the independent local engine.
  • Remediation contextProduces structured findings and a repository-specific remediation prompt.
  • Source and workflow scanningRuns pinned Opengrep and Zizmor engines in isolated Docker containers (self-hosted).
  • Tool discoveryShows coverage, supported inputs, availability and price quotes before a run.
  • Job workflowSubmits bounded jobs, retrieves results and keeps partial or failed outcomes.
  • PDF report exportExports a PDF report locally from scan results.

What you need

  • Node.js 24 or newer and npm for the local dependency engine
  • Git
  • Linux amd64, Node.js 24+, npm, Git and Docker Engine for self-hosting
  • An Offense account for authenticated hosted tools

Try asking

  • Audit my npm and pnpm dependencies for known security advisories
  • Explain these dependency findings and what I should fix first
  • Review my GitHub Actions workflows for security problems

Good to know

  • Advisory lookup needs network access; it is not an offline advisory database.
  • A finding is not a confirmed exploit, and an advisory match does not prove reachability.
  • Hosted paid tools use prepaid credit, and GitHub Actions usage limits and charges still apply.
  • Source scanners run in the self-hosted profile, which requires Linux amd64 and Docker.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Offense

All alternatives →
Agentmesh MCP Proxy microsoft
94

Agentmesh MCP Proxy is a security proxy for MCP servers, described by its publisher as a firewall for the Model Context Protocol. It is aimed at teams that run AI agents which call tools and other agents.

AAA Local 6.6k
Bla qybaihe
94

Hardens client-side artifacts such as binaries, Electron apps, JS bundles, Python and WebAssembly against AI reverse-engineering agents. Built for developers who ship proprietary logic to user-controlled devices.

AAA Local 7.3k
Bla Agents qybaihe
94

Bla Agents is an MCP server and CLI that adds seeded, format-specific decoys to shipped binaries, JavaScript, WebAssembly and other artifacts. It is for developers who ship proprietary logic to user-controlled devices and want to make AI reverse-engineering slower.

AAA Local 11k/wk
MCP Auth zgeoff
94

A shared OAuth server for the MCP route of an app, built on better-auth, with passkey sign-in for the owner

AAC Local 44k/wk
Agentos MCP Server microsoft
94

Agent Governance Toolkit adds policy enforcement, identity, sandboxing and audit logging to autonomous AI agents. It is aimed at teams shipping agents to production. The source does not confirm the Claude Desktop MCP server named in the listing.

AAA Local 6.6k
Convex MCP Gateway tfohlmeister
93

Convex MCP Gateway is a Convex component that exposes selected Convex functions as MCP tools. It checks each call with your own authorize callback and writes an audit log. It is for developers who run Convex apps and want AI assistants to call parts of them.

AAC Local 37k/wk

Compare with Agentmesh MCP Proxy, Bla or Bla Agents

Offense: common questions

Does Offense need an account or API key to run dependency analysis?

The source says the local engine and self-hosted profile do not require an Offense subscription or model-provider key. The local dependency analysis path does not require an Offense account.

Does Offense change my project or install its dependencies?

The local scan writes scan.json and remediation.md and does not edit the target project, install its dependencies, execute its scripts or open a pull request.

Where do the scan results go?

The local scan queries public OSV and npm metadata. The source says dependency metadata goes to OSV and npm, and reports can contain private package names and local paths.

How do I install Offense?

In Claude Code run claude mcp add --transport http offense https://offense.sh/mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Offense the official server?

Offense is a community project by offense-research, not verified by a company domain.

Is Offense free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is Offense safe to use?

It scores 77 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Offense?

Similar MCP servers: Agentmesh MCP Proxy, Bla, Bla Agents, MCP Auth.

Does Offense work with ChatGPT?

Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.

Offense Install

Add to stack

Loading.