AI Agents Are Finding Zero-Days. Test the SaaS Backend

Amazon says agents found a zero-day and took a server from a plain-language goal. Test what your SaaS exposes, and how fast you would see the burst.

By Muhammad Saif and Aashan Khan · Techtribe co-founders

On November 20, 2026 Amazon Threat Intelligence published an account of offensive agents that were given a goal in plain language and left to work. The post, Chinese-nexus actor's Cairn AI agents found a zero-day on their own, says the operator's instruction was to obtain shell access. During the campaign the agents found a previously unknown vulnerability in an open-source application and used it to take a server. Amazon's point for everyone else is the speed and the persistence: the person did not pick each next step, and a flaw that had no patch yet was still enough.

This is the zero-day side of a story we have already covered from the patch side. Google's November 16 report on agents that diff a public fix and attack whoever has not installed it is in how patches become exploits. The wider note on frameworks that run whole intrusions, fast and loud, is in autonomous AI hacking. Read those for the patch clock. This note is what a SaaS team tests on the backend it runs, when the bug may not be in a changelog yet.

Nothing below is a technique. Amazon's post describes operator behavior so defenders can prepare. We stay on the questions a founder can answer about their own system: what is on the internet, who can log in, what a burst looks like in the logs, and how quickly you can take a component offline. A test that produces those answers is more useful this month than a slide that says the threat landscape has shifted.

What Amazon says was visible

Amazon says it found a publicly hosted Cairn server on September 10, 2026, running without authentication, so the operational history was readable: project configuration, prompts, and agent output. The prompts were in Simplified Chinese. The campaign Amazon describes targeted addresses associated with universities in East Asia outside mainland China, over about 48 hours starting September 8.

The operator supplied addresses and a goal. The agents planned and adjusted. Amazon describes long stretches of work against targets that did not fall, including many hours against a hardened service and a separate attempt against a university GPU server that also failed. Persistence without success is part of the finding. An agent that keeps going after the first idea fails will still be running when your on-call has gone to bed. Detection that only alerts on a successful login will miss the hours of failures that came first.

The successful case, reported alongside those failures, is the one BleepingComputer and Amazon both flag: a zero-day in an open-source application, used to take a server. Secondary write-ups identify the application as medical imaging software. The exact mechanics belong in Amazon's article for defenders who operate that software. For a SaaS team on a different stack, the transferable fact is smaller. An agent with a goal and a network path found a flaw the vendor had not announced, in software the target had exposed. Your job is to know which software you have exposed, and to hear the attempt.

Amazon also says the operator left their own agent platform on the internet without authentication. That detail is easy to skip because it is about the attacker. It is also the most common SaaS mistake in the story. An admin interface, a debug port, a metrics UI, a queue dashboard, or an agent runner with no login is a full copy of your operational history waiting for a stranger. If your product has an internal tool that "is only a URL," it is on the test list before any zero-day conversation.

What a SaaS backend is, once an agent is the visitor

A SaaS backend is every process that answers a request for your product, plus the processes you forgot were in the same network. The application server, the admin panel, the database port that a diagram said was private, the Redis instance a tutorial bound to a public address, the Grafana you installed for a demo, the preview environment that uses production data, and the dependency you pinned two years ago inside a container you have not rebuilt.

Agents do not get bored of that list. A person scanning at random gets tired. A framework with a goal keeps enumerating what answers. Google's tracker said current offensive agents are loud. Amazon's account shows they also keep going after failure. Loud and persistent is a gift to a team that is logging, and it is invisible to a team that only stores logs for a day or only alerts on CPU.

The zero-day changes the comfort of "we are on a supported version." Supported means the vendor will ship a fix after they know. It does not mean the build you exposed has no unknown flaw. The practical response is to shrink what a flaw can reach. An application bug that can only talk to a database role with one tenant's rows is a different incident from an application bug that lands in a container with the cloud role that can read every bucket. You test the blast radius on purpose, ahead of the flaw you do not know about.

Known bugs still come first. An agent that can use a zero-day can also use the vulnerability you have a patch for and have not installed. The n-day post is the clock for those. A backend test that ignores outstanding critical updates is a tour of a building with the side door open. Patch the internet-facing components you can name, then spend the test on what remains.

What to test, in an order a small team can finish

Start with exposure. You are writing an inventory, not staging an attack.

  1. List every hostname and port that answers from the public internet. Include load balancers, staging, preview apps, status pages, admin hosts, and anything a cloud inventory marks as a public IP. A SaaS company of ten people usually finds at least one service nobody remembered owning. That service is the test's first finding.
  2. For each listener, name the software and the version that is actually running. The version in the git repo and the version in the container can differ. The image you think you deployed and the image the cluster is running can differ. The test is the running version, read from the host or the image digest, compared to the vendor's current security release.
  3. Find every login and every place that does not have one. Admin panels, database admin UIs, CI dashboards, feature-flag services, and storage consoles are the usual surprises. If a URL is reachable and the only protection is that the path is obscure, write it down as open. Obscurity is not a test you pass.
  4. Check that authentication runs before the application trusts the request. Session cookies, API tokens, and service-to-service identity should be checked at the edge or at the start of the handler, and the failure should return a refusal rather than a half-rendered admin page. A health check can stay open. A debug route that dumps configuration cannot.
  5. Check the network path from the application to everything else. The app tier should not be able to open arbitrary outbound connections to the whole internet, and it should not be able to reach the production database of a different environment. Security groups and equivalent policies are the test. A diagram from last quarter is a rumor.
  6. Read the logs you would have if someone tried and failed for six hours. Authentication failures, unexpected process starts, and a sudden climb in error rates need a place to go and a person to see them. If logs expire overnight, an agent that works while you sleep leaves you a gap where the evidence was. Keep the security-relevant streams longer than the debug streams.
  7. Name the blast radius of the role the application runs as. List the buckets, queues, and databases that role can read. If the list includes "all of them," the test has found the change that matters more than another library upgrade. Split the role, then retest.

Write the results as a page: exposed services, versions, missing logins, roles that are too wide, and the log you do not have. That page is the backlog. It is also the document you hand to anyone who later does a deeper exercise, so they do not spend a week rediscovering the open admin port.

A second pass, still without exploit work, is the business logic you know is sensitive. Password reset, invite links, file upload, export, and any endpoint that takes a URL and fetches it on the server's behalf. For each one, state the rule in a sentence a new engineer can test: whose file can this user download, which host is the server allowed to fetch, how long does an invite live. Then have someone who did not write the endpoint try to violate the sentence using only the product's normal UI and API. When the sentence is false, you have a bug your own team can fix. That kind of test is slower than a port scan and it finds the issues customers actually hit.

What "good" looks like on a backend an agent might study

Internet-facing components have owners and versions. Preview environments use fake data and separate credentials. Admin tools sit behind the same identity provider as the rest of the company, with a second factor, and they are not published as their own wide-open host. Databases and caches have no public address. The application role can do the product's job and cannot create new cloud keys or read other tenants' stores.

Logs for auth failures and for process creation exist, and someone has looked at them once so you know the query works. A kill switch exists for the worst component: you can take the admin host or the preview environment off the internet without redeploying the whole product. You have used the switch in a drill, or at least once during an incident, so the steps are real.

Dependencies that are end of life are listed. A listing is not a patch, and it is the start of one. PHP applications that are still on old branches have a specific, current reason to be on that list. The November patch story for those apps is in the PHP2Shell audit. A SaaS that "is mostly Node" and still ships one PHP admin panel is a SaaS with a PHP edge. The inventory in step 1 is how you notice.

Tenant isolation is tested with two accounts you control. Export, search, and file download are the usual places a missing check hides. An agent that finds a logic bug does not need a memory-corruption zero-day to read the wrong customer's data. Fixing that check is ordinary engineering. It belongs in the same test because it is the bug you can actually close this week.

Backups restore. A server taken over is a bad week. A server taken over whose only backup sits on the same disk is a company-ending week. The test is a restore you have done, to a separate account, with a date on it. Put that date on the same page as the exposure list. It changes how calmly everyone else reads the list.

What does not hold

"We use a major cloud" does not hold. The open security group, the public bucket, and the admin container are yours. The cloud provider secures its own control plane. Your account's configuration is the product's attack surface. Amazon's story is about a customer of the internet, not about a flaw in AWS.

"We would hear from the vendor" does not hold for a zero-day that has not been announced, and it does not hold for a misconfiguration the vendor cannot see. Your inventory and your logs are the early channel. The vendor bulletin is the channel for the bug they have named. Subscribe to those too. They are not a replacement for the first.

A penetration test from last year does not hold as a description of the system you are running now. Preview apps, a new admin, and a dependency bump all happened after the PDF. Re-run the exposure list on a schedule. Bring in outside testers when the list is short enough that their time goes to subtle bugs. Paying for a report that opens with "the database was on the internet" is a purchase you can avoid with an afternoon.

Turning the logs off to save money does not hold once agents are persistent. The cost of a log stream that records auth failures is the cost of knowing. A bill you cut to the bone is a blind spot sized exactly like the overnight window Amazon described, where attempts ran for many hours and some of them failed. Failures are the signal. Store them.

Asking a coding agent to "pentest our production app" from a laptop that holds production keys does not hold as the test. You have mixed an untrusted, noisy process with the credential that can destroy the thing you are testing. Scope a review against staging, with a role that cannot change production, and keep a person on the results. Offensive frameworks are available to anyone, including people who do not have your permission. Your own experiment should be the boring, authorized, limited kind.

A WAF with a default ruleset does not hold as the inventory. It can block some known patterns and it will not list the host you forgot. Use it as a layer after you know what should be reachable. A block on a host that should not exist is a weaker outcome than deleting the host.

How this fits a team that ships every week

The backend test becomes a release condition for new public endpoints. A pull request that adds a hostname, a port, or an admin route names the authenticator and the log line. The reviewer rejects the request when those two are missing. That is lighter than a quarterly test and it catches the change that created the exposure.

Once a quarter, someone who does not deploy every day re-reads the inventory against the cloud account. Drift is the point of the exercise. The account will have a load balancer the repo does not mention. Find it while it is still a surprise and not yet an incident.

If a deeper test is justified, scope it in writing: which hosts, which dates, which data must not be copied out, whom to call if the tester finds a live customer record. An open-ended "try to break prod" arrangement is how a test becomes an outage. The zero-day news does not require you to invite unbounded offense against the system your customers are using this afternoon. It requires you to know the system.

Founders often postpone this because the product feels too small to be a target. The universities in Amazon's account were targets because they were reachable, not because they were famous software companies. A SaaS with a public signup and an admin panel is reachable. Size is not the control. The control is the list you can produce on a Tuesday.

When the list is ugly, resist the urge to start over in a new architecture before you close the open doors. A rewrite that takes four months leaves the current admin panel on the internet for four months. Close the exposure this week. Schedule the structural work after the role and the logs are in place. Customers are safer with a boring patched system than with a beautiful redesign that has not shipped.

If you already pay for a staging environment that is a copy of production data, stop that copy. Preview apps built from production dumps are a second production, usually with a weaker login. Point them at synthetic data. The test is whether a developer can still do their job. They usually can. The dump was convenient, and convenience is why it is still there.

If this is your app, send the repo.

A 30-minute scope call. We read what is live, name what is dangerous, and quote a fixed scope.

How Techtribe reviews the backend you are actually running

We inventory what is on the internet, compare running versions to current security releases, and read the roles and the logs those services would produce under a burst of failures. You get a written page: what to close, what to patch, what to split, and which questions are still open because the log does not exist yet. We do not deliver exploit steps. We deliver the changes in your configuration and your code.

A fixed review fits when you are about to put a SaaS in front of paying customers, or you just learned an old admin host is still up. A Dedicated Team fits when the backend changes every week and the inventory has to stay true. SaaS development is the longer build when the right fix is a tighter service, not another dashboard. On the scope call we say which of those matches the page we expect to find.

Bring cloud access you are willing to grant to a read-only role, the list of hostnames you think are public, and the name of whoever gets paged. If you do not have a paging path, say so. The first recommendation may be a log and a person, before any new feature. If your edge is an old PHP app, bring that too. We will line it up with the legacy PHP audit instead of treating it as a footnote.

The fixed scope for taking a generated app to production is a page per tool: Lovable, Bolt, v0, and Replit.

Questions

What did Amazon report about AI agents and a zero-day?

On November 20, 2026 Amazon Threat Intelligence described a Chinese-nexus operator using the Cairn agent framework with a plain-language goal to obtain shell access. During the campaign the agents found a previously unknown flaw in an open-source application and used it to take control of a server. Amazon published the account so defenders would plan for that speed.

Is this the same thing as an agent turning a public patch into an exploit?

That pattern is the n-day problem Google described, where the bug is already public and the race is the patch clock. Amazon's November 20 account includes a flaw that was not yet a published patch. A SaaS team has to do both: patch what is known, and know what the backend exposes while something unknown is being looked for.

What should a SaaS backend test cover first?

What is reachable from the internet, which admin and data stores listen without a second factor, whether the request is authenticated before application code trusts it, and whether logs would show a burst of failures followed by a new process. Those are inventory and detection questions. They are the test a small team can run before it hires a deeper exercise.

Do we need a red team to learn anything useful?

A focused review of exposure, identity, and logs answers the questions that decide whether a longer test is worth paying for. If the admin port is open and nobody is watching the auth log, a red team will spend the first hour confirming what a config read already showed. Close that gap, then test the paths that are supposed to be safe.

Book a free call

Have a vibe-coded app in production?

30-minute free call. We'll read what you have, name what is dangerous, and quote a fixed scope.