Like Semgrep Secrets, which scans for specific secrets, Generic secrets AI scans your code for the inadvertent inclusion of credentials, such as API keys, passwords, and access tokens using rules. However, AI-powered generic secrets detection looks for common keywords, such as auth, key, or passwords, and flags anything nearby that appears to be a secret. It then analyzes the results to eliminate false positives, so you only see high-signal results likely to be true positives.Documentation Index
Fetch the complete documentation index at: https://docs.semgrep.dev/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
To scan your code for generic secrets, you must have the following:- Access to Semgrep Secrets.
- Semgrep Multimodal enabled.
- Semgrep CLI version
1.86.0or higher running in your CI environment.
semgrep ci command, because Semgrep Multimodal requires code access.
Enable generic secrets
Sign in to Semgrep AppSec Platform.
View findings
Sign in to Semgrep AppSec Platform.
Go to Secrets to see a list of all findings identified by Semgrep Secrets.
Disable generic secrets
Sign in to Semgrep AppSec Platform.