High
Tools that change things answer anyone
MCPS-AUTH-016Why it mattersWithout a sign-in, any agent or person can call tools whose names say they create, change, send or delete.
How to fixPut the tools that change things behind a sign-in. If these tools only read, set readOnlyHint: true so this check stops flagging them.
- Request
POST https://sizemyfile.com/mcp (tools/list, no sign-in)- Found on
- prepare_upload, complete_upload, cancel_run, delete_artifact
Read from tool names; can be wrong
SpecMCP 2026-07-28, Transports, Streamable HTTP: Security & Endpoint, item 3
Medium
A destructive tool says it is safe
MCPS-TOOL-004Why it mattersdestructiveHint: false on a tool whose name deletes, sends or pays is a hint some clients use to skip asking the person first.
How to fixSet destructiveHint to true on tools that delete, send or pay.
server.registerTool('delete_file', { annotations: { destructiveHint: true } }, handler)- Request
POST https://sizemyfile.com/mcp (tools/list, no sign-in)- Found on
- cancel_run
Read from tool names; can be wrong
SpecMCP 2026-07-28, Server Features, Tools: Data Types, Tool (annotations)
Low
No Strict-Transport-Security header
MCPS-HDR-001Why it mattersWithout it, an attacker can keep a browser on plain HTTP on any later visit. HSTS makes the browser use HTTPS only.
How to fixSend Strict-Transport-Security: max-age=31536000 on every HTTPS response.
return new Response(body, { headers: { 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains' } })app.use((req, res, next) => { res.setHeader('Strict-Transport-Security', 'max-age=31536000; includeSubDomains'); next() })- Request
POST https://sizemyfile.com/mcp (initialize)- Answer
200- What we saw
no Strict-Transport-Security
Seen in the server's answer
SpecRFC 6797 (HTTP Strict Transport Security)