UNPKG

mcp-server-semgrep

Version:

MCP Server for Semgrep Integration - static code analysis with AI

31 lines (30 loc) 892 B
rules: - id: detected-aws-session-token patterns: - pattern-regex: ((?i)AWS_SESSION_TOKEN)\s*(:|=>|=)\s*(?P<TOKEN>[A-Za-z0-9/+=]{16,}) - pattern-not-regex: (?i)example|sample|test|fake - metavariable-analysis: analyzer: entropy metavariable: $TOKEN languages: [regex] message: AWS Session Token detected severity: ERROR metadata: cwe: - 'CWE-798: Use of Hard-coded Credentials' source-rule-url: https://github.com/grab/secret-scanner/blob/master/scanner/signatures/pattern.go category: security technology: - secrets - aws confidence: LOW owasp: - A07:2021 - Identification and Authentication Failures references: - https://owasp.org/Top10/A07_2021-Identification_and_Authentication_Failures cwe2022-top25: true cwe2021-top25: true subcategory: - audit likelihood: LOW impact: HIGH