I've started studying for the AAISM (Advanced in AI Security Management), working through a Coursera specialisation that prepares for it. The first course covers AI foundations and governance. I won't summarise it here. Instead, this is what it's changing in how I actually work as a developer who builds and looks after websites, now that AI is part of nearly every project in some way.
Why a web developer is studying AI governance
AI isn't a separate project for me any more. It's in the tools I use to write code, in plugins and services that call AI APIs, in features clients ask for (chatbots, smarter search, content suggestions) and in the AI agents that now browse and read websites.
The idea from the course that stuck with me most is simple. Traditional software is deterministic: the same input gives the same output, and you can trace why. AI systems learn from data, can change over time and often can't explain their own answers. The controls I'm used to, like code review, version control and security testing, still matter, but they don't cover everything. Governance is about filling that gap on purpose rather than by luck.
Most of the course is aimed at large organisations with ethics boards and model risk teams. The principles scale down well to one developer and a handful of clients, though. Here's how.
1. Know where AI is in each project
The course starts with understanding what you're trying to protect. For me, that's an AI register for each project, kept with the rest of the project documentation:
- which AI tools have been used to write or review the code
- which plugins or services send data to an AI provider, and which provider
- what data each one can see
- where that data is processed, and whether the provider keeps it or trains on it.
It's the same habit as keeping an up-to-date plugin list, and it feeds straight into a site's privacy policy. If a WordPress plugin quietly sends post content or form entries to an AI API, that provider is a data processor and should be listed.
2. Decide what data an AI tool can see
When I upgraded an inherited WordPress site, the production database contained live API keys. That's normal, and it's exactly the kind of thing that shouldn't end up in an AI tool.
My rules are now written down rather than in my head:
- No production databases,
wp-config.phpfiles or.envfiles go into an AI assistant. If I need realistic data, I use a sanitised copy. - No customer personal data, such as form entries, orders or user accounts. Under UK GDPR, pasting it into a chat window is processing it.
- Secrets stay out of the working folder, not just out of Git. AI coding agents can read everything in the project, so a
.gitignoreisn't enough protection on its own.
3. I'm accountable for the code, not the tool
A recurring theme in the course is accountability: when an AI system is involved, it has to be clear who's answerable for the outcome. For code, that's easy. If I ship it, I own it, whoever or whatever wrote the first draft.
So AI-written code gets the same review as a pull request from a new starter. I read every line, run the tests and check it against the security basics I'd expect of any code.
The course calls the specific failure here hallucination: output that's fluent, confident and wrong. In web development it looks like:
- functions, hooks or options that don't exist in the WordPress or PHP version the site runs
- code written for an older version of a library
- packages that don't exist at all.
That last one is a real security risk. Attackers register package names that AI tools tend to invent, so a composer require or npm install of a hallucinated package can pull in something malicious. Before adding any dependency an AI suggests, I check that it exists, who maintains it and when it was last updated.
4. Keep a human in the loop
Human oversight comes up again and again in the course, mostly in the context of high-stakes decisions like loans and medical diagnoses. The same principle applies to AI agents that can run commands and edit files:
- Agents work on a branch, and I preview the changes locally.
- Nothing deploys without me. On my own site, pushing to
mainpublishes it live, so that step stays with a person. - Least privilege. Agents don't get production credentials, SSH keys for live servers or access to client hosting accounts.
The course covers adversarial attacks: inputs crafted to make an AI system do the wrong thing. For AI agents, the equivalent is prompt injection. A web page, a support email or a code comment can contain instructions aimed at the AI reading it. So I treat everything an agent reads as untrusted input, the same as user input in a form.
5. Ask better questions about AI features on client sites
When a client asks for an AI feature, the course's three tests of trustworthy AI are a useful checklist: accuracy (is it right?), reliability (is it consistently right?) and robustness (does it hold up against odd or hostile input?). In practice, that turns into questions I now ask before building anything:
- What happens when it's wrong? A chatbot that confidently makes up a returns policy is a business problem, not just a technical one. Answers should come from the site's own content, with a fallback when there isn't a good answer.
- Can people reach a human? The course calls this contestability. For a website it's usually just a clear way to contact a real person.
- Is it obvious that it's AI? People should know when they're talking to an AI, and EU rules increasingly require it.
- What data goes to the provider? See point 1.
- How will we know if it gets worse? AI providers update their models, and behaviour can change without any change to the site. Logging questions and answers, and reviewing a sample now and then, catches that.
6. Document it like a model card
Model cards came up early in the course: short documents that explain what an AI model is for, how it was trained, and its known limitations. I'm not training models, but a lightweight version fits neatly into a client handover. For each AI feature, it covers:
- what it does and what it's not for
- which provider and model it uses
- what data it sends and what's logged
- known limitations
- who owns it on the client's side
- how to switch it off.
That last point matters more than it sounds. If something goes wrong, the client shouldn't need me to stop it.
7. Keep an eye on the rules
The regulations are moving quickly. The EU AI Act takes a risk-based approach, with the strictest rules reserved for high-risk systems like credit scoring and biometrics. The UK has so far preferred principles and existing regulators. Very little of my work is high-risk, but plenty of my clients sell into the EU, and the transparency rules apply to ordinary chatbots too. Knowing which category a feature falls into is now part of scoping it.
What's next
There are two more courses to go, on AI risk management and on AI technologies and controls. I'll write up what's useful as I go, rather than the exam notes.
If you're adding AI features to a website, or want a second pair of eyes on how AI is already being used on yours, I can help with a security review. Get in touch for a chat.