AI Agent Security

Ship your AI agents through security review the first time

The product security program for teams building with AI and building AI agents. We design the identity, authorization, and tool-use controls your agents need, test what you build, and leave your team a process it keeps running.

Pre-launch security testing for Stacks · Launch security at Amazon Marketplace, Payments and Prime Air · AppSec programs that cleared enterprise procurement

agent plan · act · remember user ticket MCP memory shell db write send file write authorized by the task arrived in data the agent read gate before a privileged action

Your existing security model was built for humans clicking buttons

OAuth scopes, RBAC, request-rate limits, and code review all assume a person is behind each request, acting on a bounded task, for a bounded time. An agent breaks each assumption. It runs for hours or days, so a long-lived token is a standing grant. It reads documents, tool descriptions, database schemas, and images, so every one of those becomes a channel for instructions you never wrote. It makes a hundred times the calls a person would, so your rate limiter either starves it or stops noticing it. It writes to its own memory and config, so an injection that lands once can become a permanent instruction.

If your agents do any of this, you have the problem we solve

Each item is a real incident class from the past year, not a hypothetical. Read it against your own agents.

Your agent keeps memory or notes between sessions.

A document it read last week can still be giving it instructions today. We trace every path that writes to memory and gate each one as a privileged action with provenance.

Your agent connects to MCP servers or third-party tools.

Tool descriptions, tool results, and sampling messages share one context with no privilege separation. A payload split across two of them looks harmless to every scanner and complete to the model. We separate the channels and check the assembled context.

Your agent reads tickets, emails, PDFs, or screenshots from outside the company.

One image in a support ticket can rewrite the configuration file your agent trusts on every future turn. We put config and memory writes above the approval line regardless of how benign they look.

You rely on a monitor or guardrail model to block bad actions.

The monitor judges from a transcript, and the agent writes most of the transcript. We build checks from system-observed state and data provenance, so the agent cannot argue its way past them.

Your agent builds prompts from your database, schemas, or customer-supplied data.

A column comment becomes an instruction on every path that shares the same context builder. We classify every string entering a prompt by who controls it.

If you nodded at two or more of these, the two-week review will find where they apply to your system. If you nodded at none, you probably do not need us yet.

Which sounds like you?

We ship an agent feature next quarter and security review is the last gate.
Start with the architecture review
A customer's security questionnaire just asked about our AI agents.
See evaluation and red teaming
We are early and cannot justify a security hire yet.
See the fractional architect

How we engage

AI agent security assessment

MCP security review

Every engagement starts from your architecture and your threat model, not a generic checklist. Most clients begin with the two-week review and move to one of the build engagements once they know where the gaps are.

After the review

agentic identity and authorization

02 · Agentic Identity and Authorization Design

4 to 8 weeks

Ephemeral, task-scoped credentials in place of long-lived tokens; authorization that evaluates each agent request against the task it was given; rate limiting on token consumption and behavioral baselines. Done inside a mature multi-tenant platform without rearchitecting its core.

03 · MCP and Tool-Use Hardening

2 to 4 weeks

We review each MCP server and tool your agents can reach, classify what each channel can inject, design taint tracking so model-derived data cannot flow into shell commands, file writes, or outbound requests unchecked, and gate memory and config writes as privileged actions.

04 · Agent Security Evaluation and Red Teaming

3 to 6 weeks, or ongoing

Full trajectories, not single prompts: injection through every input channel, tool misuse, exfiltration, privilege escalation, memory poisoning, multi-step attacks. Findings mapped to the OWASP agentic categories. Reproducible failing traces you can turn into regression tests, scored on false positives as well as catch rate, plus an evidence package for enterprise questionnaires.

05 · AI-Assisted AppSec Program Build-Out

8 to 12 weeks

The review process, standards, and evidence trail enterprise procurement asks for, then threat modeling automated with coding agents so every engineering team runs its own first-pass assessment. The program we built to unblock upmarket sales, adapted to your stack.

06 · Fractional Security Architect

retainer

A senior security architect embedded with your leadership and engineering teams a set number of days per month: design reviews for new agent features, incident support, vendor and model evaluation. For Series A to C companies that need the judgment before the headcount. [CONFIRM: publish "from $6,000/month" or omit]

Not sure which fits? The architecture review is where most engagements start, and its output is yours whether or not we do the build.

What an engagement looks like

  • Named engineers before kickoff, so you know who shows up on day one
  • A shared Slack channel for the engagement and a weekly written status
  • Critical findings reported the same day, not in the final report
  • A draft report with a review window, then a live walkthrough with your engineers
  • One retest of fixed findings included
  • NDA and written authorization before any testing; credentials rotated after; raw evidence deleted on a stated schedule

Architects who still ship

We read your code and your infrastructure before we write a recommendation. Findings come with the mechanism, not just the CVSS score, so your engineers understand why a control matters and can extend it without us. We write designs your team can implement, and when you want us to implement them, we do that too. Every engagement ends with something you own: a threat model, a design document, a test suite, or working code.

We have secured the systems you are trying to build

Launch security at Amazon scale.

Our principals served as security architects on Amazon Marketplace, Payments, and Prime Air, where the review standards they wrote became the baseline for new products.

Programs that cleared enterprise procurement.

They built application security and anti-abuse programs at SaaS companies like Smartsheet, including detection systems that held up under the industry-wide password-spray campaigns of 2024 and 2025, and designed the agentic identity and authorization model for a mature multi-tenant platform. [CONFIRM: employment-agreement check on naming Smartsheet]

Pre-launch testing delivered on deadline.

In 2019 Foretheta ran the penetration test of Stacks' public web properties, working directly with its Head of Engineering, reporting twice a week, and closing with a final report and wrap-up review inside a three-week window. We have provided security code review to teams building on the Stacks Clarity platform since. [CONFIRM: naming rights and, if available, a one-line quote from the Stacks engineering lead]

We run agents and the infrastructure behind them in production ourselves, so every control we recommend is one we have had to live with.

20+

years of security engineering across Amazon, Microsoft, Smartsheet, and telecom

1,000+

engineers trained and mentored on secure-by-design practice

Procurement

security programs that cleared enterprise procurement and opened upmarket sales

Pre-launch

penetration tests delivered on deadline for public technology companies

Carnegie Mellon MS in Information Security Policy and Management · Co-inventor, U.S. Patent 10,728,272, risk scoring in a connected graph

[CONFIRM: name, title, headshot, LinkedIn URL for one principal]

From our research

Technical analyses of how agents fail, and what would have stopped it

All research

One article a week. Each one takes a real incident or experiment, explains the mechanism, and names the control we would build.

Get one article a week, plus the 20 questions we ask in the first week of every review. [CONFIRM: the 20-question checklist PDF to attach to the welcome email]

Questions we get on the first call

Our pen-test vendor already tests the product.

Pen tests probe the application. Agents add a layer where the attacker's input arrives as a document, a tool description, a schema, or an image, and where the harmful action is one the agent was authorized to take. That is what we test and design for; most pen-test scopes do not include it yet.

Our model provider is responsible for prompt injection.

The provider defends the model. Your agent's tools, credentials, memory, and permissions are yours, and every failure described on this page happened in that layer.

We cannot share source code.

Most reviews start from architecture diagrams, tool definitions, and a walkthrough with your engineers. We work under NDA and can review inside your environment.

We are too early for this.

The two-week review is sized for a team of five. Getting agent identity and tool permissions right before the first enterprise customer is cheaper than retrofitting after.

How is this different from a general AppSec firm?

Our principals designed agentic identity and authorization for a production multi-tenant platform and publish on agent failures every week. General AppSec firms are learning this on your engagement.

What does it cost?

The review is fixed-fee [CONFIRM: "from $18,000"]. Build engagements are quoted after the review. The fractional architect is a monthly retainer with no minimum term beyond the first month.

Start with a 30-minute architecture conversation

Tell us what your agents do, what they can reach, and what worries you. We will tell you where we would look first and whether a review makes sense. No deck, no discovery questionnaire.

or email security@foretheta.com

We respond within one business day. Engagements are fixed-fee or retainer, quoted after the first call.