{"by":"jodoking","descendants":32,"id":44904974,"kids":[44905918,44905848,44905768,44905029,44905241,44906583,44906951,44905063,44907123],"score":36,"text":"Hi HN!<p>We kept seeing devs get pwned through MCP tools in ways that security scanners completely miss. So we built an open-source analyzer to catch these attacks. Our first OSS by Mighty team.<p>The problem: At Defcon, we saw MCP exploits with 100% success rate against Claude and Llama. Three attack patterns:<p>Hidden Unicode in &quot;error messages&quot; - Paste a colleague&#x27;s error into Claude, your SSH keys get exfiltrated\nTrusted tool updates - That database tool you&#x27;ve used for months? Last week&#x27;s update added credential theft\nTool redefinition - Malicious tool redefines &quot;deploy to prod&quot; to run attacker&#x27;s script<p>Traditional scanners (CodeQL, SonarQube) catch &lt;15% of these. They&#x27;re looking for SQLi, not prompt injections hidden in tool descriptions.<p>What we built:\ngit clone <a href=\"https:&#x2F;&#x2F;github.com&#x2F;NineSunsInc&#x2F;mighty-security\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;NineSunsInc&#x2F;mighty-security</a><p>python analyzers&#x2F;comprehensive_mcp_analyzer.py &#x2F;path&#x2F;to&#x2F;your&#x2F;mcp&#x2F;tool<p>Scans for prompt injection, credential exfil, suspicious updates, tool shadowing. Runtime wrapper adds &lt;10ms overhead. Fully local, no telemetry.<p>Why this matters: 43% of MCP tools have command injection vulns. GitHub&#x27;s own MCP server was exploitable. We found Fortune 500s running database-connected MCP tools that hadn&#x27;t been audited since installation.\nWe went from paranoid code review to &quot;AI said it works&quot; in 18 months. The magic is real, but so are the vulnerabilities.<p>Demo: <a href=\"https:&#x2F;&#x2F;www.loom.com&#x2F;share&#x2F;e830c56d39254a788776358c5b03fdc3\" rel=\"nofollow\">https:&#x2F;&#x2F;www.loom.com&#x2F;share&#x2F;e830c56d39254a788776358c5b03fdc3</a><p>GitHub: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;NineSunsInc&#x2F;mighty-security\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;NineSunsInc&#x2F;mighty-security</a><p>Would love feedback - what MCP security issues have you seen?","time":1755201693,"title":"Show HN: MCP Security Suite","type":"story","url":"https://github.com/NineSunsInc/mighty-security"}