AI can build a web application faster than a security team can learn it.
That speed is valuable, but it compresses decisions that used to happen separately. A generated application may add a user interface, API routes, authentication, file handling, database access, background jobs, and third-party services in one development session. If the application also contains an AI agent, model context and tool permissions become part of the attack surface.
Web application security testing has to follow those trust boundaries. Testing the public pages and running a generic scanner is not enough.
We learned this as the operator of Vibe Otter, a hosting company and AI application builder. We regularly tested the platform with humans, scanners, and model-driven agents. A later ARTEX-enabled operation demonstrated how differently a motivated attacker can combine breadth, velocity, and parallel tooling.
The incident details below are intentionally aggregated. We do not publish endpoints, parameters, infrastructure, payloads, vulnerabilities, or any statement about data access or loss.
Start with what the application actually does
OWASP's Web Security Testing Guide begins with information gathering for a reason: you can only test what you can find. For an AI-built application, the inventory should include more than pages and hostnames.
At minimum, map:
- public and authenticated pages;
- API routes and undocumented client calls;
- authentication, password reset, invitations, and session lifecycle;
- roles, organizations, projects, and tenant boundaries;
- file uploads, imports, exports, and generated artifacts;
- background jobs, queues, webhooks, and scheduled work;
- administrative and support workflows;
- model prompts, attachments, memory, and retrieval sources;
- tools an agent can call and identities those tools use;
- storage, databases, cloud services, and third-party APIs; and
- development, staging, and production differences.
The inventory is not paperwork. It defines the coverage denominator. If a route, tool, or identity never enters the map, a clean report says nothing about it.
Test authorization as a graph, not a page
Many serious web-application failures are not input-validation bugs. They are ownership and authorization mistakes.
A multi-tenant application may have users inside organizations, organizations with projects, projects with sessions, sessions with files, and background jobs that act on all of them. Testing one "access denied" response does not prove the whole graph is correct.
Authorization testing should vary:
- authenticated and unauthenticated state;
- valid, expired, revoked, and reused sessions;
- user roles and administrative roles;
- object identifiers owned by the caller and by another tenant;
- read, create, update, delete, export, and share actions;
- browser, direct API, agent, and background-job paths; and
- sequences where ownership changes during a workflow.
Agentic testing helps because a model can adapt when one object or response reveals a new relationship. Human control remains essential: cross-tenant tests need purpose-built accounts and data so validation never risks real customer information.
Treat uploads and generated artifacts as execution boundaries
Modern applications accept more than form fields. They receive images, documents, archives, code, prompts, URLs, model outputs, and files generated by other services.
Testing should ask:
- Is the file type validated by content, name, or both?
- Where is the original file stored?
- Which service parses or transforms it?
- Can active content survive a transformation failure?
- Can one tenant reference another tenant's object?
- Can a generated artifact be reinterpreted as code or configuration later?
- Which identity reads the file, and what else can that identity reach?
- Do logs preserve enough context to investigate a malicious upload?
The security boundary is not merely the upload endpoint. It is the full life of the artifact.
Test the agent, its tools, and its data separately
An AI feature introduces at least three distinct components:
- The model interprets user and system context.
- The harness decides what context and tools the model receives.
- The tools perform actions through application or cloud identities.
Each can fail independently. Prompt injection may redirect the model. The harness may expose context from the wrong tenant. A tool may accept an object identifier without rechecking ownership. A backend identity may have more cloud access than the task requires.
Web application security testing should therefore include:
- direct user prompts and untrusted content retrieved by the agent;
- tool calls with valid and invalid object ownership;
- attempts to move instructions through files, pages, or tool output;
- permission checks at the tool or API layer, not only in the prompt;
- model refusals and application-side enforcement as separate controls;
- outbound destination restrictions; and
- full logging of the human instruction, model decision, tool request, and application result.
A prompt that says "do not access other customers" is not an authorization control. The underlying application must enforce the boundary even if the model is confused or adversarially instructed.
Use more than one client and more than one speed
Our documented authorized Kimi K3.1 Pro test produced 200 requests in about 34 minutes across five client families, giving broader coverage than one client alone.
The later attack sent 649,671 direct HTTP requests across a four-hour, 49-minute window. Its highest-volume stream accounted for 603,281 of those — a password-cracking stream — while the remaining 46,390 requests accompanied separate exploration of other surfaces.
Those figures do not mean every test should reproduce maximum volume. They show why one browser session is not representative.
A controlled test should include:
- normal browser workflows;
- direct API requests;
- alternate methods and malformed-but-safe inputs;
- concurrency and repeated requests at agreed limits;
- state changes across sessions and accounts; and
- coordinated activity from more than one test identity when the control is supposed to correlate it.
The rules of engagement determine what is safe in production and what belongs in staging or an isolated replica.
Test whether defenders can see the sequence
An application can block an individual request and still fail operationally if hundreds of thousands of related attempts generate no meaningful alert.
Logging should answer:
- Who or what identity made the request?
- Which tenant, project, or object was involved?
- Did it arrive through a browser, API token, agent, or background service?
- What authorization decision was made?
- Which high-value action followed?
- Can events be correlated across multiple sources and client types?
After our incident, we evaluated the alarm against more than six million historical web requests. A replay of the historical incident trace escalates in under a minute without assuming one attacker IP or relying on the ARTEX name.
Detection should be validated against both a known-positive trace and a large background corpus.
What a useful web application security report contains
The report should provide:
- a mapped scope and explicit exclusions;
- test accounts, roles, and environments used;
- coverage by control class and trust boundary;
- validated findings with evidence and prerequisites;
- attack chains where several conditions combine;
- business impact in the application's own terms;
- specific remediation at the enforcing layer;
- monitoring and evidence gaps; and
- retest results after fixes.
It should also distinguish "tested with no finding" from "not tested." That one distinction prevents a great deal of false confidence.
Our web application penetration testing service applies this approach to conventional web applications, APIs, multi-tenant SaaS, AI-built applications, and agent-connected systems.
Sources
- OWASP Web Security Testing Guide: wstg.owasp.org
- OWASP Web Security Testing Framework: wstg.owasp.org — The Web Security Testing Framework
- NIST SP 800-115: csrc.nist.gov/pubs/sp/800/115/final
Vibe Otter figures are sanitized aggregates from internal testing and incident records.