# Secret detection rules

The 1092 built-in rules of kind secrets that vulnetix secrets runs, by catalogue category and by rule.

`vulnetix secrets` runs every built-in rule whose metadata declares `"kind": "secrets"`: 1092 rules at `cli@2449840`. No secret rule declares a language, so each one reads every text file the scan loads. `vulnetix secrets --list-default-rules` prints the built-in table, but it lists rules of every kind, not only these.

| Severity | Rules |
|---|---|
| Critical | 412 |
| High | 520 |
| Medium | 159 |
| Low | 1 |

## Catalogue rules by category

1010 rules are generated from `internal/sast/secretsgen/catalog.json` or carry a catalogue category in their `help_uri`. Each category page lists every rule with its severity and the provider it covers.

| Category | Rules | Covers |
|---|---|---|
| [Cloud Providers](/sast/rules/secrets/cloud.md) | 83 | AWS, Azure, GCP, Alibaba, Oracle, DigitalOcean, IBM and other cloud-provider credential detection rules. |
| [Source Control & CI/CD](/sast/rules/secrets/source-control.md) | 70 | GitHub, GitLab, Bitbucket, Azure DevOps tokens and CI/CD pipeline credentials. |
| [AI / LLM Providers](/sast/rules/secrets/ai.md) | 72 | OpenAI, Anthropic, Google Gemini, Hugging Face, Cohere, Mistral and other AI provider keys. |
| [Payment Processors](/sast/rules/secrets/payment.md) | 82 | Stripe, PayPal, Square, Braintree, Adyen and other payment-platform credentials. |
| [Communication & Messaging](/sast/rules/secrets/communication.md) | 79 | Slack, Twilio, Discord, Telegram, SendGrid, Mailgun and other messaging credentials. |
| [Package Registries](/sast/rules/secrets/package-registries.md) | 1 | npm, PyPI, RubyGems, NuGet, Artifactory, Crates and other registry tokens. |
| [Monitoring & Observability](/sast/rules/secrets/monitoring.md) | 45 | Datadog, New Relic, Sentry, Grafana, PagerDuty and other observability keys. |
| [SaaS & Developer APIs](/sast/rules/secrets/saas.md) | 433 | Atlassian, Notion, Linear, Airtable, Shopify, Figma, Vercel, Netlify and other SaaS tokens. |
| [Database Credentials](/sast/rules/secrets/database.md) | 49 | PostgreSQL, MySQL, MongoDB, Redis and other connection strings with embedded credentials. |
| [Private Keys & Certificates](/sast/rules/secrets/private-keys.md) | 14 | RSA, EC, OpenSSH, PGP, WireGuard, age and other private-key material. |
| [Crypto & Blockchain](/sast/rules/secrets/crypto-blockchain.md) | 78 | Ethereum, Bitcoin and other blockchain private keys and wallet credentials. |
| [Webhooks & Signed URLs](/sast/rules/secrets/webhooks.md) | 4 | Slack/Teams/Discord webhook URLs and signed URLs with embedded secrets. |

## Rules with their own page

82 rules are written by hand. They cover the common providers and file formats with checks a catalogue entry cannot express, such as the AWS key pair, Kubernetes `Secret` manifests, and credentials in Android, Java, .NET and Terraform configuration.

| Rule | Name | Severity |
|---|---|---|
| [`VNX-ANDROID-006`](/sast/rules/vnx-android-006.md) | Android credential hard-coded in a string resource | High |
| [`VNX-CS-010`](/sast/rules/vnx-cs-010.md) | C# hardcoded connection string with credentials | High |
| [`VNX-DOCKER-003`](/sast/rules/vnx-docker-003.md) | Secret in Dockerfile ARG or ENV | High |
| [`VNX-JAVA-019`](/sast/rules/vnx-java-019.md) | Java hardcoded cryptographic key literal | Critical |
| [`VNX-JAVA-021`](/sast/rules/vnx-java-021.md) | Java sensitive data logged (password, token, secret, key) | Medium |
| [`VNX-JAVA-025`](/sast/rules/vnx-java-025.md) | Java hardcoded password or credential in source code | Critical |
| [`VNX-JWT-003`](/sast/rules/vnx-jwt-003.md) | JWT signing with hardcoded secret | High |
| [`VNX-LLM-003`](/sast/rules/vnx-llm-003.md) | Hardcoded LLM API key | Critical |
| [`VNX-SEC-001`](/sast/rules/vnx-sec-001.md) | AWS access key ID | Critical |
| [`VNX-SEC-002`](/sast/rules/vnx-sec-002.md) | Private key committed | Critical |
| [`VNX-SEC-003`](/sast/rules/vnx-sec-003.md) | AWS secret access key | Critical |
| [`VNX-SEC-004`](/sast/rules/vnx-sec-004.md) | GitHub or GitLab token | Critical |
| [`VNX-SEC-005`](/sast/rules/vnx-sec-005.md) | GCP API key | Critical |
| [`VNX-SEC-006`](/sast/rules/vnx-sec-006.md) | Stripe secret key | Critical |
| [`VNX-SEC-007`](/sast/rules/vnx-sec-007.md) | Slack token or webhook | High |
| [`VNX-SEC-008`](/sast/rules/vnx-sec-008.md) | Database connection string with credentials | Critical |
| [`VNX-SEC-009`](/sast/rules/vnx-sec-009.md) | SendGrid API key | High |
| [`VNX-SEC-010`](/sast/rules/vnx-sec-010.md) | Package registry token | Critical |
| [`VNX-SEC-011`](/sast/rules/vnx-sec-011.md) | Hardcoded JWT token | High |
| [`VNX-SEC-014`](/sast/rules/vnx-sec-014.md) | Hardcoded password in variable | High |
| [`VNX-SEC-018`](/sast/rules/vnx-sec-018.md) | AI provider API key | Critical |
| [`VNX-SEC-019`](/sast/rules/vnx-sec-019.md) | GCP service account key | Critical |
| [`VNX-SEC-020`](/sast/rules/vnx-sec-020.md) | GitLab access token | Critical |
| [`VNX-SEC-021`](/sast/rules/vnx-sec-021.md) | Twilio API credentials | Critical |
| [`VNX-SEC-022`](/sast/rules/vnx-sec-022.md) | Sensitive data in log statement | Medium |
| [`VNX-SEC-025`](/sast/rules/vnx-sec-025.md) | Azure Storage Account key hardcoded | Critical |
| [`VNX-SEC-026`](/sast/rules/vnx-sec-026.md) | DigitalOcean personal access token hardcoded | Critical |
| [`VNX-SEC-027`](/sast/rules/vnx-sec-027.md) | Hugging Face API token hardcoded | High |
| [`VNX-SEC-028`](/sast/rules/vnx-sec-028.md) | npm access token hardcoded | High |
| [`VNX-SEC-029`](/sast/rules/vnx-sec-029.md) | PyPI upload token hardcoded | High |
| [`VNX-SEC-030`](/sast/rules/vnx-sec-030.md) | Google OAuth client secret hardcoded | High |
| [`VNX-SEC-031`](/sast/rules/vnx-sec-031.md) | Mailgun API key hardcoded | High |
| [`VNX-SEC-032`](/sast/rules/vnx-sec-032.md) | PGP private key block hardcoded | Critical |
| [`VNX-SEC-033`](/sast/rules/vnx-sec-033.md) | AWS Bedrock API key (long-lived) | Critical |
| [`VNX-SEC-034`](/sast/rules/vnx-sec-034.md) | Alibaba Cloud access key | Critical |
| [`VNX-SEC-035`](/sast/rules/vnx-sec-035.md) | DigitalOcean personal access token | Critical |
| [`VNX-SEC-036`](/sast/rules/vnx-sec-036.md) | Heroku API key | Critical |
| [`VNX-SEC-037`](/sast/rules/vnx-sec-037.md) | HashiCorp Vault token | Critical |
| [`VNX-SEC-038`](/sast/rules/vnx-sec-038.md) | HashiCorp Terraform Cloud token | Critical |
| [`VNX-SEC-039`](/sast/rules/vnx-sec-039.md) | GitLab personal access token (legacy) | Critical |
| [`VNX-SEC-040`](/sast/rules/vnx-sec-040.md) | GitLab pipeline trigger / deploy / runner token | Critical |
| [`VNX-SEC-041`](/sast/rules/vnx-sec-041.md) | Atlassian API token | Critical |
| [`VNX-SEC-042`](/sast/rules/vnx-sec-042.md) | Slack webhook URL | High |
| [`VNX-SEC-043`](/sast/rules/vnx-sec-043.md) | Twilio API key | Critical |
| [`VNX-SEC-044`](/sast/rules/vnx-sec-044.md) | Microsoft Teams webhook URL | High |
| [`VNX-SEC-045`](/sast/rules/vnx-sec-045.md) | Discord bot token | Critical |
| [`VNX-SEC-046`](/sast/rules/vnx-sec-046.md) | Square access token | Critical |
| [`VNX-SEC-047`](/sast/rules/vnx-sec-047.md) | Shopify access token | Critical |
| [`VNX-SEC-048`](/sast/rules/vnx-sec-048.md) | OpenAI project / service / admin key | Critical |
| [`VNX-SEC-049`](/sast/rules/vnx-sec-049.md) | Anthropic admin API key | Critical |
| [`VNX-SEC-050`](/sast/rules/vnx-sec-050.md) | Google Gemini / Vertex AI / PaLM API key | Critical |
| [`VNX-SEC-051`](/sast/rules/vnx-sec-051.md) | RubyGems API token | Critical |
| [`VNX-SEC-052`](/sast/rules/vnx-sec-052.md) | Artifactory / JFrog API key | Critical |
| [`VNX-SEC-053`](/sast/rules/vnx-sec-053.md) | SonarQube / SonarCloud token | Critical |
| [`VNX-SEC-054`](/sast/rules/vnx-sec-054.md) | Datadog API / APP key | Critical |
| [`VNX-SEC-055`](/sast/rules/vnx-sec-055.md) | New Relic API key | Critical |
| [`VNX-SEC-056`](/sast/rules/vnx-sec-056.md) | Sentry auth token | Critical |
| [`VNX-SEC-057`](/sast/rules/vnx-sec-057.md) | Grafana API / service account token | Critical |
| [`VNX-SEC-058`](/sast/rules/vnx-sec-058.md) | Notion API token | Critical |
| [`VNX-SEC-059`](/sast/rules/vnx-sec-059.md) | Linear API key | Critical |
| [`VNX-SEC-060`](/sast/rules/vnx-sec-060.md) | Airtable personal access token | Critical |
| [`VNX-SEC-061`](/sast/rules/vnx-sec-061.md) | PostgreSQL connection string with credentials | Critical |
| [`VNX-SEC-062`](/sast/rules/vnx-sec-062.md) | MySQL connection string with credentials | Critical |
| [`VNX-SEC-063`](/sast/rules/vnx-sec-063.md) | MongoDB connection string with credentials | Critical |
| [`VNX-SEC-064`](/sast/rules/vnx-sec-064.md) | Redis connection string with credentials | Critical |
| [`VNX-SEC-065`](/sast/rules/vnx-sec-065.md) | HTTP basic authentication header | High |
| [`VNX-SEC-066`](/sast/rules/vnx-sec-066.md) | HTTP bearer authentication header | High |
| [`VNX-SEC-067`](/sast/rules/vnx-sec-067.md) | Curl command with embedded credentials | High |
| [`VNX-SEC-068`](/sast/rules/vnx-sec-068.md) | Ethereum private key | Critical |
| [`VNX-SEC-069`](/sast/rules/vnx-sec-069.md) | age secret key | Critical |
| [`VNX-SEC-070`](/sast/rules/vnx-sec-070.md) | 1Password secret key / service account | Critical |
| [`VNX-SEC-071`](/sast/rules/vnx-sec-071.md) | GitLab session cookie | Critical |
| [`VNX-SEC-072`](/sast/rules/vnx-sec-072.md) | Generic high-entropy API key / secret | High |
| [`VNX-SEC-073`](/sast/rules/vnx-sec-073.md) | URL with embedded credentials | High |
| [`VNX-SEC-074`](/sast/rules/vnx-sec-074.md) | Kubernetes Secret manifest with credential data | High |
| [`VNX-SEC-075`](/sast/rules/vnx-sec-075.md) | WireGuard private key | Critical |
| [`VNX-SEC-076`](/sast/rules/vnx-sec-076.md) | Telegram bot API token | Critical |
| [`VNX-SEC-077`](/sast/rules/vnx-sec-077.md) | Mapbox access token | High |
| [`VNX-SEC-078`](/sast/rules/vnx-sec-078.md) | Doppler API token | Critical |
| [`VNX-SEC-079`](/sast/rules/vnx-sec-079.md) | GitHub fine-grained personal access token | Critical |
| [`VNX-SEC-080`](/sast/rules/vnx-sec-080.md) | GitHub OAuth / App / Refresh token | Critical |
| [`VNX-TF-008`](/sast/rules/vnx-tf-008.md) | Terraform AWS provider with hardcoded static credentials | High |
