Skip to main content

PlanetScale Database Password

Description#

General#

  • Documentation: https://docs.planetscale.com/
  • Summary: PlanetScale is a MySQL compatible, serverless database platform. This detector aims at catching the passwords used to connect to MySQL databases.
  • IPs allowlist: This feature is not currently available.
  • Scopes: This feature is not currently available.

Revoke the secret#

Passwords can be deleted in the database settings.

Check for suspicious activity#

Detailed logs are accessible in the settings of users and organizations, and each database has query statistics.

Details for Planetscale database password#

  • Family: Database

  • Category: Data storage

  • Company: PlanetScale

  • High recall: True

  • Validity check available: False

  • Minimum number of matches: 1

  • Occurrences found for one million commits: 5.75

  • Prefixed: True

  • PreValidators:

- type: ContentWhitelistPreValidator  patterns:  - pscale_pw_

Examples#

- text: |    password: pscale_pw_at5EOBhWFbGE_8ogeb6nLeh0pDJGr9og_Wltgq4waM7  password: pscale_pw_at5EOBhWFbGE_8ogeb6nLeh0pDJGr9og_Wltgq4waM7

Details for Planetscale database password with host and username#

  • Family: Database

  • Category: Data storage

  • Company: PlanetScale

  • High recall: True

  • Validity check available: True

  • On-premise instances exist: False

  • Only valid secrets raise an alert: False

  • Minimum number of matches: 3

  • Occurrences found for one million commits: 8.0

  • Prefixed: True

  • PreValidators:

- type: ContentWhitelistPreValidator  patterns:  - pscale_pw_- type: ContentWhitelistPreValidator  patterns:  - \.psdb\.cloud

Examples#

- text: |    database: secrets-prod    username: dio8xi1ihnyo    host: dotpckqw2jw6.us-east-1.psdb.cloud    password: pscale_pw_at5EOBhWFbGE_1tgab9nTlt0pDJGj5og_Klggu4jaH4  password: pscale_pw_at5EOBhWFbGE_1tgab9nTlt0pDJGj5og_Klggu4jaH4  host: dotpckqw2jw6.us-east-1.psdb.cloud  username: dio8xi1ihnyo
- text: |    let url = "mysql://dio8xi1ihnyo:pscale_pw_at5EOBhWFbGE_1tgab9nTlt0pDJGj5og_Klggu4jaH4@dotpckqw2jw6.us-east-1.psdb.cloud/secrets-prod";  password: pscale_pw_at5EOBhWFbGE_1tgab9nTlt0pDJGj5og_Klggu4jaH4  host: dotpckqw2jw6.us-east-1.psdb.cloud  username: dio8xi1ihnyo
- text: |    mysql -h dotpckqw2jw6.us-east-1.psdb.cloud -u dio8xi1ihnyo -pscale_pw_at5EOBhWFbGE_1tgab9nTlt0pDJGj5og_Klggu4jaH4 --ssl-mode=VERIFY_IDENTITY --ssl-ca=/etc/ssl/cert.pem  password: pscale_pw_at5EOBhWFbGE_1tgab9nTlt0pDJGj5og_Klggu4jaH4  host: dotpckqw2jw6.us-east-1.psdb.cloud  username: dio8xi1ihnyo
- text: |    database: test    username: 49f6gze96rl2y0ya3t99    host: eu-west.connect.psdb.cloud    password: pscale_pw_at5EOBhWFbGE_1tgab9nTlt0pDJGj5og_Klggu4jaH4  password: pscale_pw_at5EOBhWFbGE_1tgab9nTlt0pDJGj5og_Klggu4jaH4  host: eu-west.connect.psdb.cloud  username: 49f6gze96rl2y0ya3t99