Hive Web Design

All posts

The risks of building your website or app with AI alone

· Hive Web Design

Close-up of an aluminium spirit level resting on dark timber boards, its green bubble centred between the two marker lines.
Photo: Santeri Viinamäki, CC BY-SA 4.0

AI tools can now build a website or an app from a few sentences. Site builders, chatbots that write code and "vibe coding" platforms make it look easy. For a small business owner, that's tempting.

We think AI is a useful tool. The risk comes when you rely on it without the know-how to check what it produces. This post covers what the research shows, then gives you a list of questions to ask before you launch.

What "vibe coding" means

Andrej Karpathy coined the term in February 2025. He described it as when "you fully give in to the vibes… and forget that the code even exists." The OpenSSF glossary entry on vibe coding notes that once a person reviews the code, it is no longer vibe coding. That review step is what this post is about.

AI code can look right and still be unsafe

A 2025 Veracode report on AI-generated code tested more than 100 large language models on 80 coding tasks. The code introduced security vulnerabilities in 45 percent of cases. Larger models did not do significantly better on security than smaller ones. Veracode sells code-security scanning, and it judged these test tasks with its own tool. The results don't measure live sites, but they're still a useful warning.

Confidence is part of the problem. In a Stanford study presented at ACM CCS 2023, people using an AI assistant wrote significantly less secure code than people without one. They were also more likely to believe their code was secure. The people who trusted the AI less and worked harder on their prompts produced code with fewer vulnerabilities.

Polished answers are easy to trust. Purdue researchers writing at CHI 2024 found that 52% of ChatGPT answers to 517 programming questions contained incorrect information. People in their user study still overlooked the misinformation 39% of the time, because the answers read as thorough and well written.

Real apps have leaked real data

In March 2025, a researcher scanned 1,645 apps from Lovable's showcase and found 170 that exposed data to anyone. The database access rules were missing or too permissive. The exposed data included names, emails, phone numbers, API keys and payment details. The flaw was logged as CVE-2025-48757.

A passive scan by Escape, a security testing company, looked at more than 5,600 vibe-coded apps. It found more than 2,000 vulnerabilities, more than 400 exposed secrets and 175 instances of exposed personal data, including medical records. Escape calls these lower-bound estimates.

Secrets are things like passwords and API keys that should never sit in public code. GitGuardian's State of Secrets Sprawl 2025 report found that public repositories using GitHub Copilot had a 6.4% secret leakage rate. That was 40% higher than the average across all public repositories. GitGuardian sells secrets detection. Its report shows that the two go together. It doesn't prove that Copilot caused the leaks.

AI can invent things that don't exist

Most apps are built partly from packages: ready-made pieces of code that developers pull in. A USENIX Security 2025 study of package hallucinations looked at 576,000 code samples from 16 models. On average, at least 5.2% of packages suggested by commercial models and 21.7% by open-source models did not exist. The study found 205,474 unique fake package names.

As The Register reported, an attacker could register one of those fake names and fill it with harmful code. Seth Michael Larson of the Python Software Foundation called this "slopsquatting." When researchers ran the same prompt ten times, 43% of the fake names came back every time, which makes them predictable. The article didn't report a confirmed attack. It's a known risk worth checking for.

Feeling fast isn't the same as being fast

In a July 2025 trial by METR, 16 experienced developers worked on 246 tasks in projects they knew well. They expected AI to cut their time by 24%. Afterwards, they estimated it had cut their time by 20%. When their time was measured, AI had increased it by 19%.

Tools have improved since. METR's February 2026 update points toward a speed-up, though METR calls that signal unreliable. The lasting lesson is the gap between how fast the work felt and what was measured.

The mistakes are still yours

In June 2023, a federal judge in New York sanctioned two lawyers and their firm in Mata v. Avianca for filing court opinions that ChatGPT had made up. They kept standing by them after the court questioned them, and the sanctions, including a $5,000 penalty, rested on that bad faith. The judge wrote that "there is nothing inherently improper about using a reliable artificial intelligence tool for assistance. But existing rules impose a gatekeeping role on attorneys to ensure the accuracy of their filings."

In February 2024, a Canadian tribunal held Air Canada responsible for its website chatbot's wrong advice about a bereavement fare. Air Canada argued that it couldn't be held liable for what its chatbot said. The tribunal said this treated the chatbot as "a separate legal entity that is responsible for its own actions" and called it "a remarkable submission." It added: "It should be obvious to Air Canada that it is responsible for all the information on its website." This was a small-claims tribunal in Canada, so it doesn't set US law. The principle is still worth knowing.

In July 2025, Fortune reported that, according to SaaStr founder Jason Lemkin, Replit's AI agent deleted his live production database during a code freeze. The agent told him a rollback wouldn't work. The Register later reported that the rollback did work, and the data came back. Replit's CEO then announced that development and production databases would be kept separate and that rollback would be improved.

Your website has rules to follow too

The Federal Trade Commission's business guidance tells businesses to "reread your privacy policy to make sure you're honoring the promises you've pledged." A generic policy written by AI can describe things your business doesn't do, or miss things it does.

On content, Google says it focuses on quality rather than how content is made, and that "not all use of automation, including AI generation, is spam." Its spam policies do list "using generative AI tools or other similar tools to generate many pages without adding value for users" as scaled content abuse.

The fix: expert review

None of this means you should avoid AI. In Google's 2025 DORA report, 90% of the people surveyed said they use AI at work. The report also put it plainly: "AI doesn't fix a team; it amplifies what's already there."

What the stories above have in common is that nobody with the know-how checked the work before it went live. AI can draft it. Expert review checks it before launch.

Questions to ask whoever builds your site or app

You can ask these of a developer, an agency or yourself if you're using AI tools.

  • Where are the passwords and API keys kept? None should appear in the code or in anything a visitor's browser can see.
  • Who can read and change the data? Ask whether someone has tested the database access rules while logged out.
  • What outside packages does it use? Someone should confirm each one is real and is the one you meant to use.
  • What happens if something breaks or gets deleted? Ask where the backups are, how a rollback works and whether the test version is kept separate from the live one.
  • Does the privacy policy match what the site does? Check what it collects, where that data goes and who sees it.
  • Does every page help your customers? Pages made only to fill up search results can count as spam under Google's policies.
  • Who reviews the work before launch? Lovable told The Register that every project gets a free security scan before publishing, but that it's up to the user to act on the results.

How we can help

We build websites, web and mobile apps, and custom business software for small businesses and trade contractors. You get a written quote before work starts. Then you see the work as it's built and sign off along the way.

If you'd like us to build yours, see what we build or send us a few lines through the contact form.