depfence

ericrihm/depfence
★ 0 stars Python 🤖 AI/LLM Updated today
AI-aware dependency security scanner — slopsquatting detection, MCP server auditing, behavioral analysis, and supply chain threat intelligence
View on GitHub →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "depfence": {
      "command": "uvx",
      "args": [
        "depfence"
      ]
    }
  }
}

Or install with pip: pip install depfence

README Excerpt

**AI-aware dependency security scanner** ```bash pip install depfence depfence scan . ``` --- Traditional scanners match package versions against known advisories and stop there. That model misses three entire categories of attack that matter specifically to AI/ML developers. **AI/ML supply chain.** LLMs hallucinate package names. Attackers register those names with malicious payloads — a pattern called slopsquatting. Packages targeting `torch`, `langchain`, and `transformers` typos appear in th

Tools (20)

DEPFENCE_CACHE_DIRDEPFENCE_PLUGIN_PATHDEPFENCE_TIMEOUTast_analyzerbehavioralci_secretsdep_confusiondockerfilefreshnessgha_scannergha_workflowinstall_scriptlicense_compatlicense_scannermcp_fingerprintmcp_scannermodel_scannermy_scannernetworknpm_advisory