Canadian Cyber Centre issues guidance on managing security risks in vibe coding
The Canadian Centre for Cyber Security publishes ITSM.60.043, guidance on vibe coding risks aimed at architecture, oversight, compliance and data security staff.
The Canadian Centre for Cyber Security has published guidance on the security risks of vibe coding, the practice of having AI tools generate software from plain language instructions rather than writing it by hand in languages such as Python and C++. The document, numbered ITSM.60.043, is aimed at anyone in an organization who uses or oversees vibe coding. It specifically names people responsible for enterprise architecture and oversight, compliance, and data security as its audience.
The Cyber Centre's description of the practice is plain. A user instructs an AI tool to create a project, works with the output, gives feedback and decides whether to approve the tool's suggestions. The tool writes the code. The human stays responsible for directing the work and validating the results. That last sentence is the one that tends to fall off the slide somewhere between the demo and the production deploy, and it's refreshing to see a national authority put it in writing.
The publication defines an AI tool as software that processes data, interacts with its environment and takes actions to achieve defined goals. It names ChatGPT, Microsoft Copilot and Anthropic's Claude as examples. It also credits the approach with a benefit: vibe coding can make software development more accessible. The excerpt available at time of writing cuts off at that point, so the full discussion of benefits should be read in the original, which is linked below.
The table of contents gives a fair map of where the Cyber Centre sees trouble. Under limitations of vibe coding, it lists three headings:
- Sycophancy (a model telling you what you want to hear, which is a poor quality in a code reviewer)
- Weak code and code review
- Communicating effectively with AI
Under cyber security risks, the guidance covers six areas:
- Supply chain integrity
- Code provenance
- Information leaks and architecture
- Embedded malware and access in libraries
- Maintaining organizational cyber security
- Common attacks and vulnerabilities
It closes with sections on considerations before introducing vibe coding, best practices for vibe coding, and further reading.
Some caution about what this is and isn't. ITSM.60.043 sits in the Cyber Centre's advisory series. The source material does not state any compliance deadline, enforcement mechanism, fine or mandated control, and none should be read into it. The detail under each heading, including any specific recommendations on tooling, review gates or data handling, is not in the published excerpt, so practitioners should treat the headings as a signal of scope rather than a checklist until they've read the full text. The guidance is available at cyber.gc.ca.
For identity and security teams, two of those headings land squarely in their yard. "Information leaks and architecture" is where credentials, connection strings and internal topology end up in prompts and in generated output. "Embedded malware and access in libraries" is where a package nobody vetted arrives with permissions nobody granted. Neither problem is new. What's new is that the person introducing it may have never opened a terminal, which is both the promise of vibe coding and the reason the Cyber Centre bothered to address compliance and oversight staff directly rather than just developers.
The honest reading is encouraging. A government cyber authority has written down, in ordinary language, what senior engineers have been muttering in code review for a while now, and it did so without pretending the tooling is going away. It isn't, and the guidance doesn't ask it to. It asks organizations to decide who is accountable before the first prompt, not after the first incident, which is a bar most teams can clear if they start now.
In practice, identity and security teams should check which AI coding tools are in use and what those tools can reach: source repositories, secrets stores, cloud consoles, internal documentation. Confirm that generated code passes through the same review, dependency scanning and secrets detection gates as human written code, with no quiet exemption for speed. Then name the person who owns oversight of vibe coding in your organization, because the Cyber Centre's guidance assumes that person exists, and in a lot of shops that assumption is doing a great deal of heavy lifting.
Get the Intelligence Brief
Breaches, CVEs and IAM news in one email, as often as you choose.
By subscribing you agree to receive email from Paulo Barrilli, publisher of Identity at the Core. You can withdraw consent at any time with the unsubscribe link in every email, or by writing to contact@identityatcore.org.
Be the first to comment
Members only: sign up if you have something worth saying.
Want to weigh in? Sign in or create a free account.
No comments yet.