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#

  • Category: Data storage

  • Company: PlanetScale

  • High recall: True

  • Validity check available: False

  • Minimum number of matches: 1

  • Occurrences found for one million commits: 0.05

  • Prefixed: True

  • PreValidators:

- type: ContentWhitelistPreValidator  patterns:  - pscale_pw_

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
- text: >    let url = "mysql://dio8xi1ihnyo:pscale_pw_at5EOBhWFbGE_1tgab9nTlt0pDJGj5og_Klggu4jaH4@dotpckqw2jw6.us-east-1.psdb.cloud/secrets-prod";  password: pscale_pw_at5EOBhWFbGE_1tgab9nTlt0pDJGj5og_Klggu4jaH4
- 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