UNPKG

mcp-server-semgrep

Version:

MCP Server for Semgrep Integration - static code analysis with AI

17 lines (13 loc) 332 B
server { listen 80 default; # ruleid: header-injection location ~ /v1/((?<action>[^.]*)\.json)?$ { add_header X-Action $action; return 200 "OK"; } # ok: header-injection location ~ /v1/((?<action>[^.]*)\.json)?$ { add_header X-Action $request_uri; return 200 "OK"; } }