mcp-server-semgrep
Version:
MCP Server for Semgrep Integration - static code analysis with AI
20 lines (19 loc) • 457 B
YAML
rules:
- id: flask-duplicate-handler-name
pattern: |
def $R(...):
...
...
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