The AI Project Ended. Did Its Access Keys?
Barracuda was breached through a cloud key it gave an AI vendor and never retired. A four-step offboarding check for AI pilots, contractors, and integrations.
Every AI pilot, proof of concept and contractor build leaves something behind: an API key, an app registration, a service account or a shared login. If no one retires those credentials, they keep working long after the project ends. The fix is simple. Retire AI vendor access keys the day the work stops, not when someone happens to remember.
What happened at Barracuda
On November 16, Barracuda disclosed that an attacker spent 44 hours, from November 1 to 2, moving through about 10 of its cloud accounts. The attacker got in with a cloud access key that Barracuda had issued to a third-party AI vendor for an earlier project. The key sat in a config file in the vendor's GitHub repository. It was exposed when the vendor's development environment was compromised.
Barracuda's own statement was direct: "We did not retire the key when the vendor — a company working in AI — finished that work. That is on us." BleepingComputer covered the disclosure in its report linking the breach to an AI-powered cyberattack.
Once inside, the attacker chained credentials, using one set of access to find the next. The activity matches ARTEX, an open-source AI-driven penetration-testing framework. Barracuda said there was no direct evidence that customer integration credentials were viewed. Even so, its security advisory told customers to revoke and recreate them.
Barracuda is a well-resourced security company. The failure wasn't exotic. It was an offboarding step that didn't happen.
Why AI projects leave more keys behind
Forgotten credentials are an old problem, but AI work makes them more likely. A few patterns show up again and again:
- Pilots are short and informal. A team tries a tool for a few weeks, sets it up quickly and moves on. Nobody writes down what was connected.
- Integrations need broad access. An AI tool that reads email, files or a CRM usually needs wide permissions to be useful. That makes any leftover key more valuable to an attacker.
- Outside builders keep copies. Contractors and vendors store keys in their own code, config files and laptops. You can't see how they protect them, and you can't clean them up yourself.
- Nobody owns the shutdown. Someone is responsible for launching the pilot. Rarely is anyone assigned to end it.
Attackers increasingly use automated tools to find exposed keys and test what each one unlocks. A key you forgot about is still a key someone else can find.
A four-step offboarding check for AI projects
When an AI pilot ends, a contractor finishes or a vendor relationship stops, run through these four steps before you close the project.
- List everything the project was given. Write down every API key, cloud access key, app registration, service account, OAuth connection and shared login created for the work. Check your cloud consoles, your identity provider and the admin pages of connected apps such as email, file storage and your CRM. Ask the vendor or contractor for their own list and compare.
- Revoke or rotate each one. Delete credentials that are no longer needed. If something must stay running, rotate the key so any copy the outside builder kept stops working. Remove the vendor's user accounts and any third-party app consent they were granted.
- Check what the credentials did. Review the access logs for each key and account, especially for activity after the project wound down. Use from unfamiliar locations, or use after the work ended, needs a closer look.
- Confirm it in writing and assign an owner. Record what was retired, when and by whom. Ask the vendor to confirm they have deleted their copies. Name one person who signs off that the project is closed.
This doesn't take long for a single project. It takes much longer when it's done months later, after several pilots have stacked up.
Simple defaults that stop keys from lingering
The offboarding check fixes the past. A few defaults keep the same problem from building up again:
- Give every key an expiry date. If the cloud service or app allows it, set credentials to expire when the project is scheduled to end. An extension should be a deliberate choice.
- Grant the least access that works. Scope each key to the specific data and actions the project needs, not the whole account.
- Issue a separate credential to each vendor and project. Shared logins make it impossible to revoke one party's access without breaking someone else's.
- Keep keys out of code and config files. Ask vendors where they will store your credentials and how they will delete them when the work ends.
- Put the shutdown on the project plan from day one. Name the owner and the end date when the pilot starts, not when it finishes.
Where this fits with shadow AI and AI governance
Leftover keys are one part of a wider issue. Shadow AI is the use of AI tools inside a business without IT's knowledge or approval: an employee connecting a chatbot to a shared drive, or a department signing up for an AI service on its own. Those connections create credentials no one is tracking, so they can never be offboarded.
AI governance is the set of policies and responsibilities that decide which AI tools are allowed, what data they can touch, who approves new connections and how access is removed. A written offboarding step for AI vendors and contractors is one of the most practical pieces of AI governance a small firm can adopt.
An AI readiness assessment looks at where your business stands now: which AI tools are in use, what they are connected to, what access has been granted and which policies are missing. It's often where forgotten keys and unapproved tools first come to light.
Start with what's already connected
Most businesses can't answer a basic question: which AI tools, vendors and past projects still have access to our systems? Until you can answer it, you can't retire what's left over. Barracuda's breach came from a key issued for work that was already finished. The same kind of leftover access can sit unnoticed in a firm of any size.
SecurelyIntegrated.AI works with businesses across Tampa Bay, including Tampa, St. Petersburg, Clearwater, Brandon, Riverview and Wesley Chapel, to find and close these gaps. Our AI Readiness Assessment identifies the AI tools and integrations in use, the credentials they rely on and the governance steps that are missing, including offboarding. From there we can help with AI policy, secure integration and ongoing monitoring and review. To book an assessment, call 813-582-5351 or email sales@coast2coastmsp.com.
Straight answers
Does this apply if we've never hired an AI vendor?
Yes, if anyone has connected an AI tool to your systems. Browser extensions, meeting assistants, and "connect your account" features all create tokens or consents that outlast the trial.
How do we find keys we don't know about?
Start with the admin centers: enterprise applications and app registrations in Microsoft Entra ID, connected apps in Google Workspace, and access keys in your cloud console. Anything without a clear owner goes on the review list.
Isn't MFA enough?
No. API keys and app secrets don't use MFA. That's why they need expiry dates and owners.
Find out what your AI exposure actually looks like
A 30-minute call is enough for us to tell you whether you have a real problem, a small one, or none at all. No deck, no pressure.