mcp-server-semgrep
Version:
MCP Server for Semgrep Integration - static code analysis with AI
27 lines (26 loc) • 778 B
YAML
rules:
- id: telnet-request
message: >-
Checks for attempts to connect through telnet. This is insecure as the telnet protocol supports
no encryption, and data passes through unencrypted.
severity: WARNING
metadata:
likelihood: MEDIUM
impact: MEDIUM
confidence: MEDIUM
category: security
cwe: 'CWE-319: Cleartext Transmission of Sensitive Information'
owasp: 'A03:2017 - Sensitive Data Exposure'
references:
- https://commons.apache.org/proper/commons-net/javadocs/api-3.6/org/apache/commons/net/telnet/TelnetClient.html
subcategory:
- vuln
technology:
- java
vulnerability: Insecure Transport
languages:
- java
pattern: |
$TELNETCLIENT = new TelnetClient(...);
...
$TELNETCLIENT.connect(...);