What a Security Review of Your App Should Actually Check
A scan report with two hundred warnings is not a review. Here is what a useful one looks at, in order of how often it finds something serious, and what you should receive at the end.
BunnyDevs5 min readCloud & Security
Ask for a security check and you may receive a forty-page PDF produced by a scanner, with two hundred findings and no idea which one matters. It looks thorough. It often misses the single problem that would put you in the news.
This is what a useful review covers, in the order that tends to reveal serious problems.
1. Access control: can I see what is not mine?
The most common serious flaw in business software is also the simplest. You sign in as a normal user, open your own invoice, change the number in the address, and see someone else's.
A reviewer takes every role and tries every action, including ones the screen does not show. Hiding a button is design. Checking on the server is security.
Ask your team: where, in the code, do we check that this record belongs to this person? If the answer differs from screen to screen, there will be gaps.
2. Sign-in and sessions
- Are passwords stored with a modern, slow hash?
- Is there a limit on guesses, for the password and for one-time codes?
- Does a password reset end other sessions? Does the link expire and work once?
- Does signing out really end the session on the server?
- Is two-step sign-in available, at least for administrators?
Do not build this from scratch if you can avoid it. Established providers have spent years on the edge cases.
3. What the server believes
Anything sent from a browser or phone can be changed. The reviewer alters prices, quantities, user identifiers, file types and hidden fields, and watches what the server accepts. Every input should be checked again on the server against a strict list of what is allowed.
This is where injection attacks live too: text that becomes part of a database query, a command or a web page. Modern frameworks protect you well until somebody takes a shortcut.
4. Secrets
Keys and passwords in the code, in the app package, in old commits, in screenshots on a wiki. Mobile apps deserve special attention, because anyone can unpack one and read it. If a key is in the app, assume it is public.
Ask: if we had to replace every key tonight, do we know where they are? A team that can answer is in good shape.
5. Data: what, why and for how long
List the personal information you store. For each item: is it needed, who can see it, is it encrypted, when is it deleted? The safest data is the data you never collected.
Check the less obvious places as well: logs, error reports, analytics, exports on laptops, backups.
6. Dependencies and platform
Your app is mostly other people's code. A review lists every package and version, checks them against known vulnerabilities, and confirms that updates happen regularly. The same goes for the server, database and runtime.
7. Configuration
- Storage buckets and databases that are open to the world
- Debug modes left on
- Admin panels reachable from anywhere
- Missing security headers
- Test accounts in production
- Cloud roles with far more permission than they need
These take minutes to fix and cause a remarkable share of incidents.
8. Business rules
The part no scanner can do. Can a coupon be used twice by sending two requests at once? Can a manager approve their own expense? Can a seller review themselves? Can someone cancel after the goods have shipped?
The reviewer needs to understand your business for this, so plan a conversation with someone who does.
9. AI features, if you have them
Treat everything the model reads as untrusted, including documents and emails. Check what it can do, not only what it can say: which tools, with whose permission, with what limits. Check that one customer's data can never appear in another's answer.
10. When something goes wrong
Would you notice? Are sign-ins, permission changes, exports and failures recorded somewhere an attacker cannot edit? Is there an alert? Has anyone restored a backup this year? Does everyone know who decides to take the system offline?
What you should receive
| A useful report | A poor one |
|---|---|
| Findings ranked by real impact | Findings ranked by a tool's score |
| Steps to reproduce each one | A description of the general topic |
| The exact fix, with code or settings | "Implement best practices" |
| What was and was not tested | No mention of scope |
| A re-test after fixes | A certificate |
Agree the scope in writing first: what may be tested, when, by whom and who to call if something breaks. Nobody should test a system they do not have permission to test.
Keep the result
A review describes one week. To keep the benefit, move what you can into the build: dependency alerts, secret scanning, automatic tests that try to read another user's record and expect to fail. Our article on CI/CD for small teams shows how little that takes.
If you would like a second pair of eyes, our application security service covers everything above, and we fix what we find.