# Permissions checklist for apps built with AI

Tick off the checks that decide whether an app built with AI keeps people to the data and actions their role allows: the server knows who is signed in, refuses what the screen hides and keeps each company's records to itself. Each check says why it matters and how to test it on your own app, for example by asking the api for another company's record by its id. Copy the list as Markdown for your coding agent, download it or print it; your ticks stay in this browser.

Checked 2 December 2026. By Bohuslav Poláček. https://meadowstack.com/tools/permissions-checklist/

*Each check with why it matters and how to test it; your ticks stay in this browser and nothing is sent anywhere.*

An interactive tool that runs in the browser on the page: https://meadowstack.com/tools/permissions-checklist/

## Why apps built with AI fail here

Coding agents are good at the bugs with well-known rules. In a published test, five coding agents each built the same three apps: none of the fifteen apps had an exploitable SQL injection or cross-site scripting flaw, while improper authorization in the api was among the most common problems, and four of the agents allowed negative orders when the prompt did not rule them out ([SecurityWeek, January 2026](https://www.securityweek.com/vibe-coding-tested-ai-agents-nail-sqli-but-fail-miserably-on-security-controls/)).

Asked for a feature, an agent often adds the permission check to the interface only. But the browser is not trusted: anything the screen hides, disables or validates is a convenience for the person, and anyone with the developer tools or a script can call the api with any record's id and any action. Security testers call reading a record this way IDOR or BOLA. [OWASP ASVS 5.0](https://meadowstack.com/glossary/owasp-asvs/) asks for the fix in its V8 Authorization chapter from Level 1: every function and every record only with explicit permission, enforced on the server and not in code the browser runs. So every rule the screen shows has to hold again on the server and in the database, and that is what the list checks.

## How to use the list

- Set up two companies with test accounts in each: an admin, the lowest role and, if the app has one, an external role such as a client.
- Several checks send a request by hand. In the browser's developer tools, right-click a request in the Network tab and copy it as fetch, edit it, and run it in the Console while signed in as the person you are testing. If it carries an Authorization header or a CSRF token, swap in the ones from that person's own requests.
- Tick a check when you have seen the refusal yourself, not when the code looks right.
- Copy the list as Markdown and give it to your coding agent: it gets every open check with its test. Ask for a fix and a test in the code for each, so the next feature cannot quietly undo it.
- Go through it again before go-live, and after every feature that adds an action or a role.

What Meadowstack takes care of, and what stays with your backend, is on the [security page](https://meadowstack.com/security/).

## What it does not cover

It is a checklist, not an audit, a penetration test or proof of compliance. It covers who may see and change what, the failure this page is about. Headers and the Content Security Policy, how uploads are processed, dependencies and personal data have rules of their own on the [security page](https://meadowstack.com/security/), and [OWASP ASVS](https://meadowstack.com/glossary/owasp-asvs/) holds the detailed requirements. Nor does it test your model against [prompt injection](https://meadowstack.com/glossary/prompt-injection/): the checks on the assistant make sure that a misled assistant can do no more than the person using it.

A ticked list does not make an organisation compliant with [NIS2](https://meadowstack.com/glossary/nis2/), the GDPR or any other law. Ask a lawyer what applies to you.

## Questions

### Why check permissions on the server when the screen already hides the button?

Because the browser is not trusted. Anyone can open the developer tools or write a script and call your api directly, with any record's id and any action, so a rule that lives only in the interface protects nothing. The screen hides what a person cannot do; the server and the database refuse it.

### What is the most common permission bug in apps built with AI?

A check that exists only in the interface. In a published test of coding agents, improper authorization in the api was among the most common problems, while none of the apps had an exploitable SQL injection or cross-site scripting flaw. Asking the api for another company's record by its id is the first thing to try.

### Can I give the checklist to my coding agent?

Yes. Copy as Markdown or Download Markdown gives you the list with your ticks and, for every open check, why it matters and how to test it. Paste it into Claude Code, Cursor or Codex, ask for a fix and a test for each open check, then run the checks again yourself.

### Is anything sent to a server?

No. The checklist is a script on this page: your ticks stay in this browser's local storage, and copying, downloading and printing happen on your device.

### Does a fully ticked list mean the app is secure?

No. It means the checks that catch the most common permission failures passed when you ran them. It is not an audit or a penetration test; an app that holds personal or financial data deserves a review against OWASP ASVS by someone who did not build it.

## Sources

- [OWASP ASVS](https://asvs.owasp.org/), checked 2 December 2026
- [ASVS 5.0, V8 Authorization](https://github.com/OWASP/ASVS/blob/master/5.0/en/0x17-V8-Authorization.md), checked 2 December 2026
- [SecurityWeek on Tenzai's test of five coding agents (15 January 2026)](https://www.securityweek.com/vibe-coding-tested-ai-agents-nail-sqli-but-fail-miserably-on-security-controls/), checked 2 December 2026

## Related

- [A secure vibe coding checklist for business apps](https://meadowstack.com/blog/secure-vibe-coding-checklist/) (Blog)
- [NIS2 Article 21 checklist for web apps](https://meadowstack.com/blog/nis2-article-21-checklist-for-web-apps/) (Blog)
- [Roles and permissions UI patterns for business apps](https://meadowstack.com/blog/roles-and-permissions-ui-patterns/) (Blog)
- [Security defaults for business apps](https://meadowstack.com/security/) (Meadowstack)
- [The approval flow](https://meadowstack.com/patterns/approval-flow/) (Patterns)
- [Google Workspace: only your company's domain](https://meadowstack.com/integrations/google-workspace/) (Integrations)
