Agent & MCP Security Review for vibe-coded apps and AI agents
Your agent can read files, call APIs, and write to your database. The question is whether it can still be trusted after someone puts a sentence in a tool description. I review the tool layer of MCP servers, agents, and vibe-coded apps — and hand back concrete fixes, a risk score, and a release checklist you can actually run.
Fixed scope, fixed price, no credentials needed. Reports on your repository, not on a shared sandbox.
The problem
The code passes review. The tests pass. The agent works.
And then it does something you did not expect, because the model reads more than you think it reads.
In an agentic system, the code is not the whole program. The tool names, tool descriptions, schema fields, system prompt, and every piece of retrieved text are also instructions the model processes. When your app was vibe-coded — assembled by a model, in an afternoon, from a plan — those layers were written quickly and reviewed by nobody.
The failures that follow are predictable:
Tool metadata poisoning. Malicious or careless instructions embedded in a tool description. The model reads it. You never see it.
Excessive agency. A tool that can write, delete, send, or spend, with the only limit being a sentence in a prompt.
Untrusted output treated as trusted. Tool results or fetched pages pasted straight back into a prompt, a plan, or a generated script.
Unconstrained tool parameters. Path traversal, SSRF, and shell argument injection — in the tool layer, not in the model.
Secrets in reach. An environment variable or token that a spawned tool can read.
Memory and retrieval poisoning. Anything the agent writes down and later reads back is a future injection surface.
None of this requires an attacker with unusual skill. It requires an agent, a tool, and some text from outside your control.
The framing I work from: an agent is not a function. It is a program where part of the program text was written by somebody else — maybe your user, maybe a website, maybe the person who contributed a tool to your registry.
What a review is for. Not to certify you as compliant. To tell you which of your tools can do what, what the blast radius is when an instruction from outside gets through, and what you change before the next release.
Starter
Fix & Score
For teams that want the findings and the risk ranking, and want to fix it themselves.
Full review of your tool layer: every tool name, description, schema, and the permission boundary around it
Findings grouped by severity, each with the specific file or tool it came from
A risk score per finding, with the reasoning written out
A written fix for every finding: patch, config change, or tool constraint
* Prices in USD. Sales tax, where applicable, is added at checkout. The US has no federal VAT; state sales tax obligations depend on where you are established and on nexus rules — that is your tax question, not mine, and I am not giving tax advice here. Turnaround is fixed per package before we start, and confirmed in the scope proposal.
Scope & limits
The release checklist
This is the checklist that comes with every package, written against your stack during the review. The general version:
1. Tool metadata is under version control
Tool names, descriptions, and schema fields are diffed and reviewed in every pull request
No imperatives, no hidden URLs, no “always do this” language in a tool description
Descriptions validated in CI, not eyeballed at deploy time
2. Every tool has a known blast radius
Each tool is classified: read / write / delete / send / spend
Anything in write, delete, send, or spend has a boundary enforced in code, not in the prompt
The confirmation step exists in the implementation, not in the instructions to the model
3. Untrusted text has a typed, narrow path back
Tool output, fetched pages, files, and email are labelled as data, not instructions
The path back into a prompt, a plan, or a generated script is narrow and typed
No string concatenation from external content into executable code
4. Tool parameters are constrained server-side
Paths are resolved and checked against an allowed root
Outbound hosts are allowlisted
Shell arguments are passed as arrays, never interpolated into a command string
Unknown parameters are rejected rather than ignored
5. Secrets are not ambient
Every spawned tool and subprocess sees the minimum environment it needs
Long-lived keys are replaced by short-lived scoped tokens where possible
No token is reachable from a tool description or a tool argument
6. Memory and retrieval are treated as write surfaces
Writing to a store the agent later reads from is a privileged operation
Retrieved documents are treated as untrusted input at read time, not just at write time
7. The gate itself
One adversarial test in the suite: a document or tool output containing an instruction the agent should refuse
A documented answer to “what is the worst thing this agent can do in one step”
A rollback path that does not depend on the agent behaving correctly
8. Explicitly unresolved — worth stating in your own docs
Assume some injection gets through. Design so the blast radius is small. That is the honest state of the art today, and it is a design decision, not a bug you can close.
FAQ
How do I get a quote?
Send a short description of the agent, the tools it can reach, and who can trigger it. I reply with a scope proposal and a fixed price for one of the three packages.
Do you need access to my production system?
No. Repository access, the tool list, and the host or client configuration are enough. Where a finding needs a live check to confirm, I describe the exact probe and you run it, or we agree on a sandbox first.
Will you write the fixes?
Yes, in Fix + Release Gate. The two smaller packages deliver the findings, the fixes, and the checklist. The third one applies the fixes and re-checks them.
How long does it take?
Turnaround is part of the package and is fixed before we start. If you have a hard date, say so in your first message and I will confirm it in the scope proposal.
Do you sign NDAs?
Yes, before you share the repository, if you need one.
Is this legal or compliance advice?
No. This is a technical security review of your code and configuration. It is not legal advice and not a compliance certification. If you need an assessment for a regulator or a customer, tell me before we start so I can scope for that.
What do you not cover?
Production infrastructure penetration testing, cloud account testing, mobile, browser, and network attack surfaces, legal and compliance work, and any guarantee that nothing is left.
Do you work with US clients?
Yes. I invoice in USD. Sales tax, where applicable, is added at checkout.
Can I get a report I can show to my customers or investors?
Yes, with your name on it or anonymised. Say so in your first message, because it changes how I write it.
Do you publish other people's results?
No. I do not use customer names, logos, or findings in marketing. Every score or example you see from me is one I produced myself.
Find out what your agent can actually do
Send me the agent, the tools it can reach, and who can trigger it. You get a scope proposal and a fixed price, before any commitment.
Email hallo@samuelfleig.com with the subject line Agent & MCP Security Review, or use the form below.
The agent is a program. Someone else wrote part of the program text. Let me show you which part.
Request a scope proposal
Details you send are used only to prepare the scope proposal. No newsletter, no list, no follow-up sequence. To request deletion, use the same address.
I am Samuel Fleig. I build Human Agent Interface so people keep control of their AI agents. Offers for Switzerland are at /ch; offers for Germany are at /agentfaehig.