What Canada's Cyber Centre says about securing a vibe-coded app

Published 2026-11-16 by Nordik. Written with AI from the sources listed at the end.

The short version

The risk
The guidance warns that the tool that wrote your code is a weak judge of that code, and that AI-written code can pull in outdated or made-up packages.
Does it affect you?
Yes, if an AI tool wrote most of your app and real people use it. The guidance is written for organizations, but its points apply to a solo founder too.
What to do
Get a second look from a tool that did not write the code, list the packages your app uses, limit what each part of the app may reach, and check more as more is at risk.

Rather not read it all? Copy this for your AI tool. Paste it into the tool you build with. It asks the tool to check your app for the problems in this guide and explain what it finds in plain words. Nothing is changed.

See the prompt
Review my app against the main points of the Canadian Cyber Centre's vibe coding guidance and do not change anything. List every outside package the app installs with its version, and flag any that look unmaintained or that you cannot find in the official registry. Then list every place where the app reads or changes stored data, and say for each whether it checks who is asking. Explain each point in plain words, most serious first.
Jump to a part (7)
  1. The tool that wrote the code is a weak judge of it
  2. People still sign off on important code
  3. Outside packages need watching
  4. Limit what each part can reach
  5. Keep a way back
  6. Audit regularly, not once
  7. Where Nordik fits, and where it does not

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.

Sources

Each source below was accessed on the date shown. Documentation changes over time, so check the source for the current wording.

  • Canadian Centre for Cyber Security, Managing security risks in vibe coding (ITSM.60.043), accessed 2026-12-01
  • OWASP Top 10:2025, A01 Broken Access Control, accessed 2026-11-30
  • Supabase documentation, Row Level Security, accessed 2026-11-29
  • Supabase documentation, API keys, accessed 2026-11-29

See what your live app shows strangers

Paste the link to your app: in under a minute the free scan shows what your live app hands to any visitor, and where to look first. No sign-up, and it never signs in or changes anything.

Run a free scan

Want the code itself read? Order the $49 audit or see a sample report. Your card is held and charged only when your report is delivered. It is not a pentest: the audit is done by AI, and a second AI checks each serious finding.