---
"@type": BlogPosting
"@id": "https://ctxr.app/en/safe-vibe-coding"
"@source": "https://ctxr.app/data/blogposting/veilig-vibecoden.json"
"@stamp": "2026-11-29T16:31:26+00:00"
author: {"@id":"https://ctxr.app/#cris"}
datePublished: "2026-11-29"
description: Building a site or app with AI is fast, but without guardrails it is also unprotected. This is what an attacker tries first, and how to build safely with AI.
identifier: veilig-vibecoden
image:
  card: /assets/images/news-veilig-vibecoden-crash3-card.jpg
  header: /assets/images/veilig-vibecoden-crash-vrijstaand.png
inLanguage: en
keywords:  # 5
  - vibecoden
  - vibe coding
  - veilig bouwen met AI
  - AI-beveiliging
  - website bouwen met AI
name: "Vibe coding: built fast, but is it safe?"
shortTitle: "Vibe coding: safe too?"
url: "https://ctxr.app/en/safe-vibe-coding"
---

# Vibe coding: built fast, but is it safe?

[Nederlands](https://ctxr.app/data/blogposting/veilig-vibecoden.md) • [English](https://ctxr.app/en/data/blogposting/veilig-vibecoden.md)

## "I'll just build my site with AI"

It sounds tempting, and it works: you describe what you want, an AI writes the code and a few hours later you have a working site or app. That is called vibe coding. We do it ourselves too: we build with AI, within the guardrails of CTXR.

But "it works" is not the same as "it is safe". If you let AI write code and put it live without guardrails, you are running unprotected. You only find out when someone else tries.

## What an attacker tries first

A video recently went around listing fourteen things someone tries on a vibe-coded app. This is not exotic hacking but a list of simple probes. Roughly, they fall into four groups:

- **Access.** Simply typing `/admin`. Changing the ID in the URL to see someone else's account. Guessing the login code by trying every combination. Sending an admin flag along when signing up.
- **Secrets.** A `.env` file that ended up on GitHub. A key sent along to the browser, and so visible to everyone.
- **Money.** A discount code that turns out to be usable a hundred times. Changing the price in the request. Ordering minus one product. Faking a payment without paying.
- **Input.** A script as a username or a fake file as a photo. A piece of database command in a search field. And trying to talk the AI itself around.

The dangerous part is that an app with such holes looks exactly the same from the outside as a safe one. Everything works, the demo is beautiful.

## Why AI code goes wrong so easily here

An AI that writes code has been asked to make something work. Security is rarely part of that question, so it does not appear by itself. If you cannot judge what was built yourself, you do not see the missing checks. And because the result can go online immediately, there is no moment when someone looks it over.

Open source adds something more. AI agents like to pull in ready-made libraries and packages to build faster. Open source is valuable in itself, but every package brings the risk of its maker, and of everything that package in turn uses. Packages can be outdated or contain known vulnerabilities. An AI can also invent a package name that does not exist, and an attacker can claim exactly that name with malicious code. If you do not know what was pulled in, you cannot keep it up to date either.

That is no reason to avoid AI. It is a reason to choose where it happens safely.

## Vibe coding with guardrails

CTXR runs on LOAM. That is the engine underneath, set up so an AI agent can safely build along:

- **Draft first, then live.** Every change, including from an AI, lands in a draft layer first. Only when you publish does it go live.
- **Access with roles and your own key.** An agent works with its own key. You decide per person or agent what is allowed. Access runs through one controlled point.
- **A log and version history.** Every change is logged and every earlier version is kept, so you can always see what has changed and roll back.
- **No database and no plugins.** Content lives as ordinary, structured files. So there is no database to inject a command into, and no pile of plugins each with its own vulnerability. The attack surface is small.

In a setup like this an AI can work hard without one mistake going straight onto your live site.

## Be careful with web shops and apps with logins

The points in the video are about apps with a login, an admin page, discount codes and payments, like a web shop. If you build something like that with AI, you have to be very careful: that is exactly where it goes wrong when nobody checks the security.

CTXR is not a web shop. It is built for sharing information online, from place marketing and location-based stories to company presentations. A web shop or an app with its own logins, discount codes and payments is a different kind of product with its own risks. If you build that with AI, you have to check extra carefully yourself.

## A short checklist for your AI-built site

- Is there a draft step between the AI and your live site?
- Can every agent or person only do what they need to?
- Is there a check before anything goes live?
- Is there no key or secret in code or in the browser?
- Does the server check prices, rights and input itself, instead of trusting the browser?
- Do you know which open-source packages the AI pulled in, and are they up to date?
- Is there a version history so you can go back?

## How CTXR helps

With CTXR you build with AI, but within guardrails. You manage everything with the standard CMS, or with your own AI agent if you prefer. Draft first, then live. Also read how to make your places [findable for AI](/en/findable-for-ai), or start [free with the Sandbox](/en/start-free-with-ctxr).

**Shape and share location based stories. Start free at ctxr.app.**
