Skip to content

Secret rules: Database Credentials

PostgreSQL, MySQL, MongoDB, Redis and other connection strings with embedded credentials.

Updated 02 Nov 2026Checked against cli@de9b52a

49 rules, kind secrets. They run under vulnetix secrets and the secrets stage of vulnetix scan, not under vulnetix sast. Each is generated from one entry in internal/sast/secretsgen/catalog.json.

Detection: keyword means the pattern is tried only on lines that contain one of the listed keywords (case-insensitive); entropy means the matched token must also reach the entry’s minimum Shannon entropy. Every catalog rule skips test files, lockfiles, minified and generated files, and paths under testdata/, fixtures/, vendor/, node_modules/, dist/, build/ and src/test/ (the skip_path list in internal/sast/rules/lib_secrets.rego), and documented example tokens.

Rule ID Name Severity Detection Keywords CWE
VNX-SEC-561 Snowflake account identifier + password connection Critical regex snowflake:// CWE-798
VNX-SEC-562 Snowflake programmatic access token Critical keyword + regex + entropy snowflake CWE-798
VNX-SEC-563 Databricks personal access token Critical keyword + regex dapi CWE-798
VNX-SEC-564 PlanetScale service token Critical keyword + regex pscale_tkn_ CWE-798
VNX-SEC-565 PlanetScale database password Critical keyword + regex pscale_pw_ CWE-798
VNX-SEC-566 Neon database connection string Critical regex .neon.tech CWE-798
VNX-SEC-567 Neon API key High keyword + regex napi_ CWE-798
VNX-SEC-568 CockroachDB Cloud connection string Critical regex .cockroachlabs.cloud CWE-798
VNX-SEC-569 FaunaDB secret key Critical keyword + regex fna fne fns CWE-798
VNX-SEC-570 InfluxDB v2 API token High keyword + regex + entropy influx CWE-798
VNX-SEC-571 InfluxDB v1 user:password connection High regex &p= CWE-798
VNX-SEC-572 Elastic Cloud API key (base64) High keyword + regex + entropy elastic es_api es-api esapi CWE-798
VNX-SEC-573 Elastic Cloud ID Medium keyword + regex + entropy cloud_id cloudid CWE-798
VNX-SEC-574 MongoDB Atlas API public key Medium keyword + regex + entropy atlas public CWE-798
VNX-SEC-575 MongoDB Atlas API private key Critical keyword + regex + entropy atlas private CWE-798
VNX-SEC-576 Upstash Redis REST token High keyword + regex + entropy upstash CWE-798
VNX-SEC-577 Redis Cloud / rediss URL with password High regex rediss:// redis:// CWE-798
VNX-SEC-578 RabbitMQ AMQP URL with credentials High regex amqp:// amqps:// CWE-798
VNX-SEC-579 Confluent Cloud API key High keyword + regex + entropy confluent CWE-798
VNX-SEC-580 Confluent Cloud API secret Critical keyword + regex + entropy confluent secret CWE-798
VNX-SEC-581 Cloudinary URL with API secret Critical regex cloudinary:// CWE-798
VNX-SEC-582 Mux access token ID Medium keyword + regex + entropy mux CWE-798
VNX-SEC-583 Mux access token secret Critical keyword + regex + entropy mux secret CWE-798
VNX-SEC-584 Bunny CDN API / storage key High keyword + regex + entropy bunny CWE-798
VNX-SEC-585 ImageKit private key Critical keyword + regex private_ CWE-798
VNX-SEC-586 Filestack API key High keyword + regex + entropy filestack CWE-798
VNX-SEC-587 Uploadcare secret key Critical keyword + regex + entropy uploadcare secret CWE-798
VNX-SEC-588 Uploadcare public key Medium keyword + regex + entropy uploadcare public CWE-798
VNX-SEC-589 AWS RDS / Aurora connection string Critical regex .rds.amazonaws.com CWE-798
VNX-SEC-590 ClickHouse connection string with password High regex clickhouse:// CWE-798
VNX-SEC-591 TimescaleDB Cloud connection string Critical regex .timescale.com CWE-798
VNX-SEC-592 SingleStore connection string with password High regex .singlestore.com CWE-798
VNX-SEC-593 DataStax Astra DB token Critical keyword + regex astracs: CWE-798
VNX-SEC-594 Couchbase connection string with password High regex couchbase:// couchbases:// CWE-798
VNX-SEC-595 Neo4j Aura connection string with password Critical regex neo4j+s:// neo4j:// bolt+s:// CWE-798
VNX-SEC-596 ArangoDB connection string with password High regex arango CWE-798
VNX-SEC-597 Memcached SASL connection with credentials Medium regex memcached:// CWE-798
VNX-SEC-598 MSSQL connection string with password Critical regex password= pwd= CWE-798
VNX-SEC-599 Oracle DB connection string with password Critical regex oracle:// CWE-798
VNX-SEC-600 Cassandra connection string with password High regex cassandra:// CWE-798
VNX-SEC-601 Snowflake key-pair private key (JWT auth) Critical regex -----begin private key----- CWE-798
VNX-SEC-602 Databricks OAuth client secret Critical keyword + regex dose CWE-798
VNX-SEC-628 Upstash Kafka REST password High keyword + regex + entropy upstash kafka CWE-798
VNX-SEC-629 MongoDB Atlas SRV connection with password Critical regex mongodb+srv:// CWE-798
VNX-SEC-630 Snowflake account locator + region Medium keyword + regex + entropy snowflake account CWE-798
VNX-SEC-631 Redis Cloud / Upstash REST URL (https with token) High regex .upstash.io CWE-798
VNX-SEC-635 ScyllaDB Cloud connection string with password High regex .scylladb.com CWE-798
VNX-SEC-636 Aiven service connection string with password Critical regex .aivencloud.com CWE-798
VNX-SEC-637 Aiven API token Critical keyword + regex avns_ CWE-798

Suppress one with // nosec <rule-id> on the line, or vulnetix ignore add --rule <rule-id>. See Suppressing findings.

Edit this pageSources: cli/internal/sast/secretsgen/catalog.json, cli/internal/sast/secretsgen/main.go
esc
↑ ↓ move↵ openSearches in your browser. A key like autonomy.max or a code like threshold_required jumps straight to it.