mcp-server-semgrep
Version:
MCP Server for Semgrep Integration - static code analysis with AI
15 lines (14 loc) • 368 B
YAML
rules:
- id: localhost-base-url
patterns:
- pattern: baseURL = "..."
- pattern-regex: .*(localhost|127\.0\.0\.1).*
severity: WARNING
message: The 'baseURL' is set to localhost. This may cause links to not work if deployed.
languages: [generic]
metadata:
references:
- https://gohugo.io/
category: best-practice
technology:
- hugo