New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

grim-mcp

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grim-mcp

Security audit for AI agents. Finds code, dependency, exposure, secrets, and active-compromise gaps across any stack, with drift detection and SBOM.

Source
npmnpm
Version
0.5.2
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

grim-mcp

Security audit MCP server — finds the gaps, exposures, and active compromise that other scanners miss.

grim-mcp is the MCP distribution of GRIM. The engine is dependency-free Python (stdlib only); this package bundles it and runs it as a stdio MCP server, so any MCP client can use it with npx.

Requirements

  • Node.js 18+
  • Python 3.10+ on PATH (override with GRIM_PYTHON=/path/to/python)

Use with an MCP client

{
  "mcp": {
    "grim": {
      "type": "local",
      "command": ["npx", "-y", "grim-mcp"],
      "enabled": true
    }
  }
}

Or directly:

npx -y grim-mcp            # MCP server on stdio (default)
npx -y grim-mcp version    # print engine version
npx -y grim-mcp list       # list audit tools

Or install the Python package instead:

pip install grim-mcp
grim mcp

Tools

ToolPurpose
detect_stackIdentify stack(s) and web-served directories
audit_depsKnown CVEs in dependencies (live OSV.dev)
scan_secretsLeaked keys, tokens, private keys, .env; optional git history
scan_codeSAST across PHP, JS/TS, Python, Ruby, Go, Rust, Java, Kotlin, C#, Dart
audit_exposureWebshells, polyglots, ELF, exposed config/backups; nested archives
diff_artifactsBaseline vs current drift — the active-compromise check
planOrdered, explainable audit plan for a target
sbomCycloneDX 1.5 / SPDX 2.3 bill of materials
scan_iocsMatch file hashes against a known-bad IoC store (+ EICAR)
update_feedsSync the IoC store from a remote feed
ledgerPersistent findings ledger: new / known / reopened / resolved
reportUnified Markdown/JSON/SARIF report
scanOne-shot audit across all engines
ci_scanCI gate: exit code by severity threshold

Every finding includes severity, confidence, location, evidence, remediation, and a MITRE ATT&CK technique ID.

MIT licensed.

Keywords

mcp

FAQs

Package last updated on 19 Sep 2026

Related posts