Medium
Password grant advertised
MCPS-AUTH-010Why it mattersThe password grant hands the person's password to the client. RFC 9700 says it must not be used.
How to fixRemove password from grant_types_supported.
- Request
GET https://auth.komuta.io/.well-known/oauth-authorization-server- What we saw
grant_types_supported: ["authorization_code","implicit","password","client_credentials","refresh_token","urn:ietf:params:oauth:grant-type:device_code","LinkLogin","Impersonation","urn:komuta:params:oauth:grant-type:sandbox-mcp-delegation"]
Seen in the server's answer
SpecRFC 9700, Section 2.4 (Resource Owner Password Credentials Grant MUST NOT be used)
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://mcp.komuta.io/mcp (initialize)- Answer
401- What we saw
no Strict-Transport-Security
Seen in the server's answer
SpecRFC 6797 (HTTP Strict Transport Security)
Low
No X-Content-Type-Options: nosniff
MCPS-HDR-002Why it mattersA browser may guess a response's type and render JSON or text as HTML or script.
How to fixSend X-Content-Type-Options: nosniff on every response.
res.setHeader('X-Content-Type-Options', 'nosniff')- Request
POST https://mcp.komuta.io/mcp (initialize)- Answer
401- What we saw
no X-Content-Type-Options: nosniff
Seen in the server's answer
SpecFetch Standard, X-Content-Type-Options
Low
Implicit flow advertised
MCPS-AUTH-009Why it mattersThe implicit flow puts the access token in the browser's address. RFC 9700 advises against it, and OAuth 2.1 drops it.
How to fixRemove token from response_types_supported and use the code flow with PKCE.
- Request
GET https://auth.komuta.io/.well-known/oauth-authorization-server- What we saw
response_types_supported: ["code","code id_token","code id_token token","code token","id_token","id_token token","token","none"]
Seen in the server's answer
SpecRFC 9700, Section 2.1.2 (Implicit Grant)
Low
Issuer in the authorization response not advertised
MCPS-AUTH-011Why it mattersReturning iss (RFC 9207) lets a client tell which server answered, which stops mix-up attacks between servers. The MCP spec says SHOULD now and expects a future revision to make it MUST.
How to fixReturn iss in authorization responses and set authorization_response_iss_parameter_supported to true.
- Request
GET https://auth.komuta.io/.well-known/oauth-authorization-server- What we saw
authorization_response_iss_parameter_supported: false
Seen in the server's answer
SpecMCP 2026-07-28, Authorization: Authorization Response ValidationRFC 9207, Section 2.3