UNPKG

mcp-server-semgrep

Version:

MCP Server for Semgrep Integration - static code analysis with AI

20 lines (19 loc) 457 B
rules: - id: flask-duplicate-handler-name pattern: | @app.route("...", ...) def $R(...): ... ... @app.route("...", ...) def $R(...): ... message: Looks like `$R` is a flask function handler that registered to two different routes. This will cause a runtime error languages: [python] severity: WARNING metadata: category: correctness technology: - flask