UNPKG

mcp-server-semgrep

Version:

MCP Server for Semgrep Integration - static code analysis with AI

20 lines (19 loc) 579 B
rules: - id: invalid-port message: Detected an invalid port number. Valid ports are 0 through 65535. severity: ERROR languages: - dockerfile metadata: source-rule-url: https://github.com/hadolint/hadolint/wiki/DL3011 references: - https://github.com/hadolint/hadolint/wiki/DL3011 category: correctness technology: - dockerfile pattern-either: - patterns: - pattern: EXPOSE $PORT - metavariable-comparison: metavariable: $PORT comparison: int($PORT) > 65535