Vibe coding means building an app by describing what you want to an AI tool and letting it write the code. On October 29, 2026, the Canadian Centre for Cyber Security, Canada's national authority on cyber security, published guidance on it: "Managing security risks in vibe coding" (ITSM.60.043).
It is written for organizations, but almost every point applies to a founder who shipped an app with Lovable, Bolt, v0 or Cursor. Here is what it asks, in plain words, and what you can do about each point this week.
The tool that wrote the code is a weak judge of it
The guidance says it directly: "a single model's self-review is a weak control on its own." Asking the same AI tool "is my code secure?" is better than nothing, but the tool tends to approve its own work.
What it recommends instead: "Where appropriate, use a separate AI tool for review," and "Review AI generated code using more than one AI tool if your organization has the ability and resources to do so."
What to do: get a second look from something that did not write the code. That can be a different AI tool, a scanner, or a person.
People still sign off on important code
The guidance is clear that AI review does not replace people: "A qualified computer programmer or reviewer should verify, correct and approve AI-generated code before deployment." It also asks for independent testing, and for qualified people to look at the code, in step with how much is at risk.
What to do: the more your app holds (payments, health data, other people's private records), the more a qualified person's review matters. A low-risk side project needs less than an app that stores customer data.
Outside packages need watching
Most apps use packages: code other people wrote that your app installs. The guidance warns that "AI-generated code may use open-source packages or libraries, which could contain vulnerable or outdated components." It also warns that "an AI tool may create or hallucinate packages or libraries that don’t exist", which attackers exploit by publishing a harmful package under the made-up name.
What to do:
- Keep a list of every package your app uses and its version. The guidance calls this a software bill of materials, or SBOM.
- Check that each package is real, maintained and current.
- Do not let an AI agent install packages on its own without you seeing the list.
Limit what each part can reach
The guidance asks to "Apply the principles of least privilege and zero trust." Least privilege means each part of the app, and each person, can reach only what it needs. Zero trust means nothing is trusted just because it is inside your app.
For an app built on Supabase, this mostly means two things:
- Row Level Security (the database's own rules about who may read or change each record) is on for every table, and each rule really limits who gets in.
- The secret key, which skips those rules, never reaches code that visitors download.
Keep a way back
The guidance also asks teams to "Turn off auto-accept permissions for important operations", so an AI agent cannot change something important without a person seeing it first. It adds that changes should be tested before they reach real users, and that backups should exist and be tested.
What to do:
- Keep a copy of your app where you try changes before real users see them. Many hosting services call this a staging or preview site.
- Read what an AI agent plans to change before you accept it, at least for anything that touches sign-in, payments or stored data.
- Make sure your database has backups, and try restoring one once, so you know it works.
Audit regularly, not once
Among its best practices, the guidance asks for periodic security audits, and for tests that try to break into the running app. An audit reads the code and is not a penetration test, where people try, with permission, to break in. They catch different things, and the guidance asks for both.
What to do: review before launch, and again after big changes. A review from three months ago says little about code an AI tool rewrote last week.
Where Nordik fits, and where it does not
Nordik App Audit is one way to get the separate review the guidance describes. It is an AI-performed audit of your code, done by a different tool than the one that wrote it, and a second AI checks each serious finding.
It is not a penetration test. It does not replace the qualified person the guidance also asks for. The Cyber Centre does not review or endorse Nordik or any other product. If your app holds sensitive data, use an audit as one layer, next to a qualified person.
Nordik reviews code against a published standard: the Nordik App Audit Standard, which lists every requirement and the references it relates to, so you can see what a review covered.