You built an app that works with Gmail or Google Drive. Users love it. Then an email arrives from Google's Trust and Safety team: your app needs to complete a security assessment before it can keep using the scopes it asks for.
That assessment is CASA, and for a lot of founders it's the first time a third-party security lab has looked at their code. Here's what it is, whether you actually need it, and how to get through it without losing weeks.
What is CASA?
CASA stands for Cloud Application Security Assessment. It's a security framework run by the App Defense Alliance, and Google uses it to check apps that access restricted user data. The requirements come straight from the OWASP Application Security Verification Standard (ASVS), an open, widely used checklist for building secure web apps.
The assessment is done by an authorized third-party lab, not by Google. When you pass, you get a Letter of Validation (LOV), and Google uses it to complete your app's verification.
It isn't a one-off. Google requires apps using restricted scopes to revalidate every year.
Do you actually need it?
You need CASA if your app requests restricted scopes and stores or transmits that data through your servers. Google's own documentation puts it simply: if you store restricted scope data on servers (or transmit it), you must go through a security assessment.
Restricted scopes include most of the ones apps reach for first:
Gmail: full mail access,
gmail.readonly,gmail.modify,gmail.compose,gmail.insert,gmail.metadataand the Gmail settings scopesDrive: full
driveaccess,drive.readonly,drive.metadataand the Drive activity scopes
Before you book a lab, check your scopes. The cheapest assessment is the one you don't need. Many apps ask for more access than they use:
If you only send email,
gmail.sendis a sensitive scope, not a restricted one.If you only work with files the user picks or your app creates,
drive.fileis non-sensitive, and Google itself recommends moving to it where you can.
Narrowing scopes can mean a lighter review, a faster launch, and a consent screen that asks users for less, which also helps sign-ups.
AL1 vs AL2: which level will you get?
CASA is risk-based. You may still see the older names "Tier 2" and "Tier 3" in guides. Google now assigns apps to Assurance Level 1 (AL1) or Assurance Level 2 (AL2) based on user count, the scopes you request, and other signals about your app.
The requirements are the same at both levels. What changes is how deeply the lab tests them.
AL2 goes further. It covers the application, its deployment infrastructure, and where user data is stored.
You don't choose the level. It can increase as your user base grows or your data handling changes, and once an app is validated at AL2, it stays at AL2 in later years.
How the process works
Google starts it. Once the rest of your OAuth verification is done, Google's Trust and Safety team contacts you to begin the assessment.
You pick an authorized lab. The App Defense Alliance lists the approved assessors. You work with and pay the lab directly, and pricing varies by lab and level, so get more than one quote.
The lab tests your app. Expect scans of your application and questions about how you store, protect and delete user data.
You fix what they find. Most apps get findings on the first pass. You fix them and the lab re-tests.
The lab issues your Letter of Validation. Google uses it to complete your verification.
You do it again next year. Put the revalidation date in your calendar now.
Got the email from Google? We'll review your scopes and app, tell you what's likely to fail, and give you a fix list before you pay for a lab. Book a CASA readiness review →
What usually trips teams up
CASA findings are rarely exotic. They're usually the basics that never got prioritized while the product was being built:
Missing security headers such as Content-Security-Policy, Strict-Transport-Security and X-Content-Type-Options
Outdated dependencies with known vulnerabilities, often in packages nobody remembers adding
Weak session and cookie settings, like cookies without Secure, HttpOnly or SameSite flags
Error messages that say too much, such as stack traces, internal paths or which emails have accounts
Secrets in the wrong place, like API keys in client code, repositories or logs
No real answer for data deletion. You need to be able to delete a user's data when they ask, and explain how.
Unclear storage and encryption: where restricted data lives, who can access it, and whether it's encrypted in transit and at rest
How to prepare
Cut your scopes down to what the product truly needs.
Write down where Google user data flows: what you store, where, for how long, and who can read it.
Update dependencies and remove the ones you don't use.
Add security headers and harden cookies and sessions.
Make sure errors and logs never expose secrets or personal data.
Build and test a working "delete my data" flow.
Run a scan against your own app before the lab does, and fix the obvious issues first.
How we help
At The Boolean Labs, we take the security work off your plate so your team can keep shipping:
Scope review: we check whether you need restricted scopes at all, and help you move to narrower ones where you can.
Readiness review: we test your app against the CASA requirements before the lab does and give you a prioritized fix list.
Remediation: we fix the findings in your codebase, from headers and dependencies to authentication, data storage and deletion.
Lab support: we answer the lab's technical questions and handle re-tests until your Letter of Validation is issued.
Yearly revalidation: we keep your app in shape so next year's assessment is routine, not a fire drill.
The bottom line
CASA feels heavy the first time, but it's mostly standard security hygiene, checked by someone independent. Start by narrowing your scopes, fix the basics before the lab sees them, and plan for it to come back every year.
Need to pass CASA?
Tell us what your app does and which scopes it uses, and we'll tell you what it will take to pass.
Talk to us about CASA → or email us at [email protected]
