mcp-hardened
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-hardenedsearch for .env files in the project root"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP-HARDENED
A deliberately small MCP server built to demonstrate security hardening against the OWASP MCP Top 10, with a test suite that proves the defenses hold.
Status
In progress. Day 1 of 7 — scaffold and transport smoke test only.
Related MCP server: Vulnerable MCP Server
Warning
Early commits contain intentionally vulnerable implementations. The build order is deliberate: write the naive version, write attack tests that prove the vulnerability is reachable, then harden until the tests pass. A security test that has never failed is not a test.
Do not use any commit from this repo as a reference implementation until the hardening commits land.
Planned scope
Three read-only tools, each hosting one vulnerability class:
Tool | Vulnerability class | Defense |
| Path traversal | Resolve path, assert inside sandbox root |
| SQL injection | Parameterized queries only |
| SSRF | Domain allowlist, revalidated after redirects |
Plus audit logging of every tool call and its arguments.
Explicitly out of scope
Prompt injection — unsolved industry-wide, not attempting
Tool poisoning — a consuming-side threat; a server cannot prevent a client from connecting to a poisoned server
Multi-user authentication, rate limiting
Stack
Python 3.12 · FastMCP 3.3.1 · pytest · stdio transport
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Nu1lstep/mcp-hardened'
If you have feedback or need assistance with the MCP directory API, please join our Discord server