UNPKG

mcp-server-semgrep

Version:

MCP Server for Semgrep Integration - static code analysis with AI

39 lines (38 loc) 1.07 kB
rules: - id: insecure-ssl-version patterns: - pattern-not: ssl_protocols TLSv1.2 TLSv1.3; - pattern-not: ssl_protocols TLSv1.3 TLSv1.2; - pattern-not: ssl_protocols TLSv1.2; - pattern-not: ssl_protocols TLSv1.3; - pattern: ssl_protocols ...; paths: include: - '*.conf' - '*.vhost' - sites-available/* - sites-enabled/* languages: - generic severity: WARNING message: >- Detected use of an insecure SSL version. Secure SSL versions are TLSv1.2 and TLS1.3; older versions are known to be broken and are susceptible to attacks. Prefer use of TLSv1.2 or later. metadata: cwe: - 'CWE-326: Inadequate Encryption Strength' references: - https://www.acunetix.com/blog/web-security-zone/hardening-nginx/ - https://www.acunetix.com/blog/articles/tls-ssl-cipher-hardening/ category: security technology: - nginx confidence: HIGH owasp: - A03:2017 - Sensitive Data Exposure - A02:2021 - Cryptographic Failures subcategory: - audit likelihood: MEDIUM impact: MEDIUM