PlanetScale Security Review
Last updated:
On PlanetScale Postgres the default postgres role carries BYPASSRLS, so row-level security does not constrain it. We test which roles, passwords and tokens your application and automation actually use. EJN Labs is a CREST-accredited UK company providing PlanetScale security reviews, from £2,800 for a 2-day single-database scope, quoted within 24 hours.
- Unlimited retesting
- Unlimited pre-retesting
- No hidden fees
“I would highly recommend EJN Labs to any organisation seeking reliable, detailed, and well-managed penetration testing services, particularly for government or enterprise-level projects.”
“There wasn’t another company we could find that could deliver what we needed in the timeframe we needed. The client loved it, and we got instant ROI from the engagement.”
On PlanetScale, access to your data is decided by the role or password behind each connection, the branch it belongs to, and which networks are allowed to connect.
How PlanetScale decides who can reach your data
On PlanetScale Postgres, the first thing to find out is which role your application connects as. PlanetScale documents the default postgres role as similar to a Postgres superuser with fewer permissions. It is created with CREATEDB, CREATEROLE, REPLICATION and BYPASSRLS, and it inherits pg_read_all_data and pg_write_all_data. PlanetScale’s own guidance is not to connect application servers with the default role and to create user-defined roles with only the permissions each use case needs. Roles made with a plain CREATE ROLE statement do not appear in the dashboard, so they are only visible to someone who looks in the database.
On Vitess, the equivalent decision is the password role. PlanetScale documents four roles for a branch password: read-only, write-only, read/write and admin. A password’s role cannot be changed after it is created, and the default role for passwords created with the Connect button is Administrator. On a production branch with safe migrations enabled, direct DDL is rejected even for an admin password. A review lists every password and finds the ones with more access than their job needs.
Branches and networks decide how far a credential reaches. On Vitess, a development branch holds only the schema unless Data Branching seeds it from the latest backup of its base branch, and PlanetScale notes it copies all of the schema and data, with no way to filter tables. On Postgres, IP restriction rules are an allowlist that applies to every branch, and with no rules any IP address can connect. Underneath each engine sits ordinary database behaviour, so our PostgreSQL security review and MySQL and MariaDB security review apply to the data layer.
SCOPE
What we test in a PlanetScale security review
The Default postgres Role and BYPASSRLS
The default role on PlanetScale Postgres has BYPASSRLS, the attribute that skips row-level security policies, and inherits the pg_read_all_data and pg_write_all_data roles. We identify which role each application, background job and migration tool connects as, and flag any that use the default role where a user-defined role would do.
User-Defined Roles and Granted Permissions
User-defined Postgres roles can be given permissions such as pg_read_all_data, pg_write_all_data, pg_signal_backend and the postgres role itself. We list every role, how it was created and what it inherits, and compare each against what its application or person needs, including roles created with CREATE ROLE that the dashboard does not show.
Vitess Password Roles and the Administrator Default
A Vitess branch password is read-only, write-only, read/write or admin, its role cannot be changed once created, and passwords made with the Connect button default to Administrator. We inventory every password across branches, record its role and name, and test what each one can do against your schema and data.
Tenant Separation and Row-Level Security
A role with BYPASSRLS ignores row-level security policies, so a policy only protects the roles that do not hold it. We test tenant separation through each role and path your application uses, with two ordinary user accounts, and check that no route reaches another customer’s rows.
Branches, Seeded Data and Restored Backups
A Vitess development branch copies only the schema, but Data Branching can seed one with all of the schema and data from the latest backup of its base branch. On Postgres, restoring a backup copies user-defined roles onto the new branch and resets their passwords. We check which branches hold real data, who can reach them and how long they stay.
Safe Migrations, Deploy Requests and Deletion Protection
With safe migrations on a Vitess branch, direct DDL is rejected and schema changes go through branches and deploy requests that team members can review. Deletion protection blocks deleting a database or branch until an administrator turns it off. We check production branches have these set and who can change them.
Postgres IP Restrictions and Network Exposure
Postgres IP restrictions are an allowlist at database level that applies to all branches and cannot be scoped to one, and with no rules any IP address can connect. A rule scoped to one role leaves every other role rejected. We test from outside your allowlist which roles and branches still accept a connection, and check any private connectivity you rely on.
Connection Strings, TLS and Pooling
PlanetScale encrypts all connections with SSL/TLS, and its Postgres examples use sslmode=verify-full, with direct connections on port 5432 and PgBouncer connections on port 6432. We check the mode each client uses, which port and role each service connects through, and search front-end bundles, repositories, build logs and environment settings for a password that has ended up where it can be read.
Service Tokens and API Access
PlanetScale service tokens authenticate the CLI and API in automation, carry permissions set per organisation and per database, and default to a 30-day expiry. The token value cannot be retrieved after creation. We inventory the tokens in pipelines and scripts, test what each can do, and flag broad permissions and long expiry dates.
Organisation Roles, Members and Custom Roles
An Organization Administrator can do everything in an organisation and on every database in it, an Organization Analyst gets read-only access to production branches and can manage read-only credentials, and custom roles can be defined. We compare each member’s effective access with what their job needs, and check who can create credentials, change IP rules or remove protections.
OUR PROCESS
PlanetScale Security Review: From Scope to Attestation
Scope and Access
We agree which PlanetScale database, branches and engine are in scope, and get a role or password for each privilege tier plus read access to the dashboard.
Role and Credential Mapping
We map every role, password, grant and policy, every branch and what it holds, and every service token and organisation member with access to the database.
Manual Testing
A CREST-certified tester manually tests credentials, tenant separation, branch access and network rules with real accounts, chaining findings where they compound.
Attestation and Retest
You get a technical report with CVSS scores and reproduction steps, a walkthrough call, a free retest once fixes are deployed, and an attestation letter for auditors.
CREDENTIALS
Verified Accreditations Auditors Accept
Every credential below is independently verifiable. UK procurement teams, FCA supervisors, ISO 27001 / SOC 2 auditors, and cyber insurance underwriters all recognise these standards.
GET YOUR QUOTE
Get a CREST PlanetScale pen test quote in 24 hours
A fixed-price quote back in one business day, from a named CREST assessor. No sales pipeline, no chasing.
- CREST and IASME accredited. Testing your auditors and clients already recognise.
- Fast-track testing within 24 hours where required. Free retest of every fix included.
- Live findings via your client portal, not a four-week PDF.
- Fixed price from £3,500 for a single-role, single-app scope, agreed up front. Most engagements run £5,000 and up. No day-rate surprises.
Under NDA Further named references available on a scoping call.
- We reply within one business day with a fixed-price quote from a named CREST assessor.
- You approve the scope and we book a start date, usually within 24 hours.
- Live findings land in your client portal as we test, with a free retest of every fix.
Get your fixed pen test quote in 24 hours
Quote request received
We will reply within one business day with your fixed-price quote from a named CREST assessor.
Your data stays with us. No newsletter signup.
or book a 20-min scoping call first
We reply within one business day. Your data stays with us. No newsletter signup.
COMPLIANCE READY
Reports Mapped to Every Framework
Findings are written so your team can reference the report against each framework without translation work.
ISO 27001:2022
Annex A.8.8 management of technical vulnerabilities plus A.5.15-5.18 and A.8.2-8.5 access control validation.
SOC 2 Type I & II
CC6 logical access, CC7 system operations, CC8 change management evidence.
PCI DSS
Requirement 11.4 application penetration testing across cardholder data environments, including ecommerce penetration testing for online retail platforms.
FCA SYSC
SYSC 4.1.1R, 6.1.1R, 13 mapped to each finding for FCA-regulated firms.
UK GDPR
Article 32 effectiveness testing, customer-data security controls, ICO-acceptable evidence.
Cyber Essentials Plus
Direct certification through our IASME body status, single-vendor delivery.
PRICING
Transparent PlanetScale Security Review Pricing
EJN Labs PlanetScale Security Review prices start at £2,800. Pricing depends on the number of roles, integrations and environments in scope. See our pricing page for how we quote.
2 to 3 testing days
Single user role, basic CRUD application, marketing website with auth. Around 5 working days from kickoff to report.
Get a fixed quote3 to 5 testing days
Multi-role SaaS, business application with payment integration. Around 8 to 12 working days from kickoff to report.
Get a fixed quote5 to 8 testing days
Multi-tenant platform, complex authorisation matrix, integration-heavy applications. Around 15 to 20 working days from kickoff to report.
Get a fixed quoteSECTORS
Sectors We Test PlanetScale For
Sector-specific scoping for regulated UK organisations.
Fintech & FCA-Regulated
FCA SYSC, Open Banking FAPI 1.0, PSD2 SCA, payment-flow scrutiny, KYC/AML testing.
Fintech sector pageSaaS Companies
SOC 2 Type I & II evidence, multi-tenant boundaries, role escalation, customer-tenant isolation.
SaaS sector pageLaw Firms
SRA Cyber Standard, privileged data, conveyancing fraud defence, partner-tier procurement.
Law firm sector pageHealthcare
NHS DTAC, DSP Toolkit v6, UK GDPR Article 32, EHR systems, telehealth platforms.
Healthcare sector pageInsurance
FCA / PRA Operational Resilience, cyber underwriting, claims data, broker portals.
Insurance sector pagePublic Sector
CCS / G-Cloud framework, NCSC-aligned, citizen-facing services, PSN-compliance scrutiny.
Public sector pageWHY EJN LABS
What You Get From PlanetScale Security Review
Six concrete differentiators competitors don’t all match.
CREST-Certified Testers, Verifiable
Every test by a CREST-certified pen tester (CRT, CCT APP, CCT INF where applicable). Verify our company status at crest-approved.org.
24-Hour Startup, Where Required
From signed scope to active testing in a single business day for incident response, audit deadlines, or regulator-driven timelines.
Live Findings, Not 4-Week PDFs
Critical issues reported during testing through your client portal. Your team remediates while testing continues.
Audit-Ready Reports
Executive summary plus full technical report with CVSS scores and explicit framework mappings (ISO 27001, SOC 2, PCI DSS, FCA SYSC).
Free Retests, Standard
Verify remediation of every finding before close-out. Letter of attestation for audit submission included. Most competitors charge £1,500-£3,000 per retest.
UK-Based CREST Testers
Every engagement performed by vetted, UK-based CREST-certified testers, matched to your needs, security clearance, and compliance scope.
FAQ
Frequently Asked
What access do you need to test our PlanetScale database?
We need a role or password for each privilege tier in scope, starting with the one your application connects as, and two ordinary user accounts if tenant separation is in scope. Read access to the PlanetScale dashboard lets us confirm branches, roles, tokens and settings without changing them.
Will testing touch live data?
That is your choice, and we agree it before testing starts. A PlanetScale branch is an isolated database, so one option is for us to test a restored or seeded branch of production and then confirm the settings that exist only on the production branch. We do not run destructive tests or export real customer data without written agreement.
How long does a PlanetScale security review take?
A single database with one application and a small number of branches sits in our 2-day single-database scope, with the report typically landing around 5 working days after kickoff. Several databases, many roles or both engines move into a larger scope with more testing days.
Do you cover both Postgres and Vitess (MySQL) databases?
Yes. The two engines decide access differently. Postgres uses roles, grants and IP restrictions, and Vitess uses branch passwords with four access levels. We test the one you run, and quote a larger scope if you run both.
What is out of scope for a PlanetScale security review?
We never test PlanetScale’s own platform, dashboard, API or underlying cloud infrastructure. We test what you configure and control: your roles, passwords, branches, tokens, network rules, organisation permissions and the application code that connects to the database. A connected system such as your identity provider or hosting platform is scoped and quoted separately.
Does PlanetScale place rules on customer penetration testing?
PlanetScale’s Acceptable Use Policy prohibits attempting to gain unauthorised access to its services, interfering with their security, and denial of service, and its vulnerability disclosure page lists output from automated testing software as out of scope for reports. We confirm the current terms with you during scoping and test to them exactly. Our testing is limited to your own database, at a volume agreed in advance, and never targets other customers or PlanetScale’s shared services.
We deploy preview environments from branches. Does that change the test?
It adds to it. We check which branches your preview or CI deployments use, whether any is seeded with production data, which credentials they hold, and how long old branches and their passwords stay live.
Is EJN Labs CREST accredited?
Yes. EJN Labs is a CREST-accredited company, and every PlanetScale engagement is carried out by UK-based, CREST-certified testers. Your report and attestation letter are recognised by auditors and insurers accordingly.
20+ CREST-accredited testing services in one place
Web, mobile, API, cloud, AI, infrastructure, red team. Pick the test that fits your environment.
Get a fixed price for your PlanetScale database
On PlanetScale Postgres the default postgres role carries BYPASSRLS, so row-level security does not constrain it. We test which roles, passwords and tokens your application and automation actually use. EJN Labs is a CREST-accredited UK company providing PlanetScale security reviews, from £2,800 for a 2-day single-database scope, quoted within 24 hours.



