Skip to content

Is my AI-built website secure?

By Steve Umstead, Founder, Kenaz Works · · 3 min read

Check five things: whether any keys or passwords sit in the site's public code, who has access to every account, whether two-factor sign-in is on everywhere, whether a working backup exists, and whether the software is kept up to date. A small business site is rarely attacked because someone chose you. It is attacked because automated tools scan every site for the same handful of mistakes, and AI-built sites make some of those mistakes more often.

Are there secrets in my site's public code?

This is the risk most specific to AI-generated sites. To make a feature work, such as sending email, saving form entries or showing a map, the code needs a key or password for that service. An AI tool will sometimes put that key straight into code that is sent to every visitor's browser, where anyone can read it with two clicks.

With a key to your email service, someone can send email as you. With a key to your database, they can read or delete your customers' details.

How to check: if an AI tool wrote code for your site, ask a developer to look for keys in anything that runs in the browser, or search the code for words like "key", "secret", "token" and "password". Keys belong in the hosting platform's environment settings, read only by code that runs on the server. If a key was ever exposed, replace it with a new one; deleting it from the code is not enough.

Who can get into the accounts?

List every account behind the site: domain registrar, host or builder, email, form service, analytics, Google Business Profile. For each:

  • Is it in the business's name, with a business email address?
  • Who else has access? Remove former staff, contractors and anyone who no longer needs it.
  • Is anyone sharing one login? Give each person their own, so access can be removed cleanly.

Is two-factor sign-in on?

Turn it on for every account above, starting with the domain registrar and email, because whoever controls those controls everything else. Use an authenticator app rather than text messages where you can.

Is there a backup, and does it work?

Find out where the site's backups are, how often they run, and how far back they go. Then actually restore one, once, to a test copy if your platform allows it. A backup that has never been restored is a hope, not a backup. Keep a separate copy of your own content (words, photos, form submissions) somewhere you control.

Is the software kept up to date?

  • Hosted builders update their own platform. You still need to update any apps or add-ons you installed.
  • WordPress and similar need core, theme and plugin updates applied promptly, especially security updates. Remove plugins you do not use.
  • AI-generated code depends on libraries that publish security fixes; someone has to apply them and check nothing broke.

What about the forms?

Forms are the main way the public can send data into your site. A good form checks what it receives on the server, limits how often one source can send, filters bots, and never shows a visitor's input back on the page without cleaning it first. Most hosted form services handle this. Hand-built or AI-built forms often do not; have them checked (and see is my contact form actually working?).

Is the connection secure?

Every page should load over HTTPS, with the padlock, and the plain HTTP address should redirect to it. Most hosts do this automatically now; check that yours does on every page, including old addresses.

Where does this rule come from?

The standard is secrets stay on the server: passwords and keys never appear in the site's public code, every account uses two-factor sign-in, and there is a backup that has been restored at least once. It comes from the security rules in the Kenaz backend standards, which every Kenaz site and app is checked against before launch.

What to do with this

Rather hand the whole job to someone? My prices cover the build, and hosting and care cover the years after it, all published.

Keep reading

  1. Building it yourself

    What do I need to host a website myself?

    A domain, DNS, hosting, a security certificate and business email, each with its own account, renewal and failure mode. What each one is, and how to keep all of them in your name.

    Standard: You own the keys

  2. Building it yourself

    Can I use AI-written text and images on my business website?

    Yes, as a draft. But AI invents services, guarantees and details that are not true, writes copy that sounds like every competitor, and makes photos of jobs you never did. How to use it safely.

    Standard: Every claim is true