
Offense
Security checks for coding agents: dependency audits and evidence for fixes
- Pricing
- Freemium
- Platforms
- CLI, Web, API
- Runs
- Remotely
- Version
- 0.7.0
- Listing updated
- 3 days ago
About Offense
Offense is a freemium MCP server for security. It runs as a hosted remote server, so there is nothing to install locally.
Offense's README frames it as security tools an agent can discover, call and verify. The agent keeps its own model, repository access and permissions, reads the structured evidence Offense returns over CLI, MCP or HTTP, investigates the code, makes authorised changes and runs your tests.
The free starter is a pull request that adds pinned, read-only GitHub Actions running npm and pnpm dependency audits. It never installs or runs your app, edits code or calls paid tools. Dependency metadata goes to OSV and npm, reports are kept as GitHub artifacts for seven days, and advisories are report-only while coverage warnings and scan errors fail the check.
The hosted side runs security agents in disposable sandboxes. You give a task, such as testing with separate accounts for cross-customer data access, and get a report of findings, evidence and untested areas, then retest a fix in a fresh sandbox. The site cautions that a clean report does not prove an app is secure. The code is open source with optional paid hosting and self-hosting docs.
Install
Run in a terminal
claude mcp add --transport http offense https://offense.sh/mcpAdd to Settings → Connectors → Add custom connector
https://offense.sh/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"offense": {
"url": "https://offense.sh/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"offense": {
"type": "http",
"url": "https://offense.sh/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"offense": {
"serverUrl": "https://offense.sh/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"offense": {
"type": "http",
"url": "https://offense.sh/mcp"
}
}
}What it does
- Dependency advisory audits
- Checks npm and pnpm dependencies and returns advisory evidence for remediation.
- Pull request starter
- An installer prepares a GitHub workflow you review and merge yourself.
- Disposable sandboxes
- Hosted tests run in an isolated computer that is destroyed after the report is saved.
- Cross-tenant testing
- Uses separate accounts to look for one customer reaching another's data.
- Retests in fresh sandboxes
- After a fix, the same task is run again from a clean environment.
- CLI, MCP and HTTP
- Evidence is returned through the interface your agent already uses.
Good for
- Add free dependency audits to pull requests
- Give a coding agent evidence to fix vulnerable packages
- Test a web app for cross-customer data access
- Retest a fix in a clean sandbox
- Self-host the platform for internal use
Pricing
Freemium
Open source; first hosted sandbox free, then $20 monthly sandbox credits plus AI usage
Prices change. Check offense.sh before you buy.
Offense FAQ
Is Offense open source?
The README describes it as open-source software with optional paid hosting, and links self-hosting docs.
Do I need an account for the PR starter?
No. The installer prepares a link and you create and approve the pull request on GitHub.
Does a clean report mean my app is secure?
No. Results depend on the task, access and budget, and the site asks you to review what was untested.
What does hosted use cost?
The site lists $20 of monthly sandbox credits with AI tokens billed at OpenRouter plus 20 percent, and the first sandbox is free.
Is Offense free?
Offense has a free plan, with paid plans for more usage or features.
How do I add Offense to Claude Code?
Run this command in your terminal: claude mcp add --transport http offense https://offense.sh/mcp
What are the best alternatives to Offense?
The closest alternatives to Offense are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.
Alternatives to Offense

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Ouroboros
MCP serverSpec-first layer that pins requirements and verifies results of AI coding agent work
Runs locally- Open source
- 6.4K GitHub stars
- Developer tools