Demo report — synthetic data
One synthetic Finance Operations Agent, shown before, part-way through, and after fixing. Each report is real output from Agent Verify's scan engine run on the code shown, not a real customer scan. Pick a version to see its findings and score.
A live API key in the code, every tool allowed, user text pasted into the prompt and a SQL query, and money moved with no checks.
Show the code that was scanned
const mcpServers = {
"accounting": { command: "npx", args: ["-y", "@modelcontextprotocol/server-stripe"] }
}
const agent = {
name: 'FinanceOpsAgent',
tools: ['*'],
permissions: ['payments:transfer', 'email:send', 'invoices:admin'],
systemPrompt: 'Follow the finance team's instructions to reconcile invoices and process payments: ' + userInput,
accountingApiKey: 'acct_prod_7Hq2Lx9Vb4Nc8Mz1Pw6Rt3Ys5',
}
async function lookupInvoice(invoiceId) {
return db.query('SELECT * FROM invoices WHERE id = ' + invoiceId)
}
export async function run(request) {
const invoice = await lookupInvoice(request.invoiceId)
const result = await stripe.transfers.create({ amount: invoice.amount, destination: request.destinationAccount })
await sendMail({ to: 'finance@example.com', subject: 'Payment processed', body: 'Transferred ' + invoice.amount })
return result
}Action required before deployment
This report found execution-trust gaps that should be fixed before this agent is connected to production tools, payments, deployments, or sensitive data.
This is a check of the code and configuration you submitted (static analysis), not a security certification. It cannot see how the agent behaves when it runs, or settings that live outside this code. What this does not cover
Next action
Fix first: Agent can move money with no amount limit. Then re-scan to verify the evidence changed.
Where can this agent hurt us?
Real evidence only — nothing below is inferred beyond what this scan found
Credential exposure
2 findings
Authorization gaps
Critical
Human approval gaps
Critical
External side effects
2 capabilities
Top attack paths — real capability combinations this scan detected
- 1. Payment capability without visible destination or approval constraints — If compromised or misused, this agent could initiate a financial transfer without a visible destination allowlist or human approval step — the highest-impact category of agent risk.
What to do next
Fix the highest-severity findings first, then re-scan to confirm. Pro shows the corrected code and lets you re-check changes instantly.
Section 01
Executive Summary
FinanceOpsAgent has critical security issues that must be resolved before deployment.
- No cryptographic verification — requests cannot be proven authentic
- Credentials are hardcoded — exposed to anyone with code access
- Permissions are overly broad — agent can access more than it needs
- No human approval gates — irreversible actions execute automatically
- No audit logging — no forensic trail if something goes wrong
Attack Surface
With this configuration, an attacker could: steal API credentials, invoke any tool or API the agent has access to, replay or forge execution requests.
Resolve 5 critical findings before deployment. Contact aiblockchainventures.com for integration support.
Highest risks
The 5 most important things to understand right now
- 1Agent can move money with no amount limit
- 2Hardcoded credentials detected
- 3Missing cryptographic signature
- 4Missing nonce validation
- 5SQL query built from unescaped input
What can wait (1)
- • No execution rate limiting
Fixing these will most improve the score. Re-scan after making changes to confirm — a future scan is not guaranteed to pass, since verification depends on the actual evidence present at scan time.
Capabilities
What this agent can do
Derived only from concrete evidence in the submitted content — this is what an attacker could use, not a judgment about whether it's appropriate.
Read from a database
DetectedSELECT * FROMSend email
DetectedsendMailInitiate a financial transfer
Detectedstripe.transfersMCP exposure
What this agent can access through MCP
Agent → MCP server → tool → potential action. Only servers/tools with concrete evidence in the submitted content are listed — an unidentified capability is shown as Unknown, never guessed.
payments
critical- • Create charges, refunds, or transfers
server-stripeaccounting → accounting
medium- • Unknown — server configured but its tool capabilities could not be determined from static content
mcpServers: "accounting"Potential blast radius
Dangerous capability combinations
Individual permissions often matter less than combinations. These are not claims that an exploit exists — only that this combination, if the agent is compromised or misused, could allow the described impact.
Payment capability without visible destination or approval constraints
If compromised or misused, this agent could initiate a financial transfer without a visible destination allowlist or human approval step — the highest-impact category of agent risk.
Security controls detected
What this agent already does right
- Memory is not configured to persist indefinitely
- Delegation/handoff appears scope-constrained
What Agent Verify could not determine
Static analysis limits
- Runtime-only behavior — logic that only executes under conditions not present in the submitted content.
- Permissions or credentials granted dynamically at deploy time (IAM roles, injected secrets, runtime config).
- Remote policy or authorization configuration enforced outside this codebase (e.g. an external policy engine).
- Production network ACLs, firewall rules, or VPC/service-mesh configuration.
- External identity provider policy (SSO scopes, OAuth consent grants) not visible in this content.
- Runtime secrets that are not present in the submitted source (e.g. injected via a secret manager).
- The exact tool set and permissions of connected MCP server(s) — only the integration itself was detected.
Category Scores
Security categories
Coverage across 11 security categories
Threat category breakdown
Which agent risks are relevant?
Prompt Injection
Untrusted text may influence system instructions or tool decisions.
Missing evidence
Prompt Injection
Untrusted text may influence system instructions or tool decisions.
Scanner looks for: Prompt assembly, system prompts, user input, and missing sanitization or boundaries.
Why it matters: A crafted instruction can redirect the agent from its intended task into unsafe execution.
How to fix: Separate system and user content, sanitize inputs, constrain tools, and verify execution requests before action.
A2SPA impact: A2SPA helps by requiring signed execution intent before a prompt-influenced tool call can run.
Tool Misuse
The agent can call tools that change data, money, infrastructure, or external systems.
Missing evidence
Tool Misuse
The agent can call tools that change data, money, infrastructure, or external systems.
Scanner looks for: Tool lists, function calls, invoke/execute paths, broad permissions, or wildcard tools.
Why it matters: Tool calls convert model output into real business actions.
How to fix: Use allowlisted tools, per-tool scopes, approval gates for sensitive actions, and audit logging.
A2SPA impact: A2SPA is directly relevant because it authorizes the intended tool action before execution.
Privilege Compromise
The agent may hold more authority than the task requires.
Missing evidence
Privilege Compromise
The agent may hold more authority than the task requires.
Scanner looks for: Admin/all/wildcard permissions, broad scopes, privileged credentials, or missing least privilege.
Why it matters: A compromised agent can escalate from one task into account-wide or infrastructure-wide impact.
How to fix: Apply least privilege, split duties, rotate secrets, and bind tools to narrow scopes.
A2SPA impact: A2SPA can bind signed authorization to an explicit scope and action.
Resource Overload
The agent may consume unbounded tokens, API calls, queue jobs, or infrastructure resources.
Missing evidence
Resource Overload
The agent may consume unbounded tokens, API calls, queue jobs, or infrastructure resources.
Scanner looks for: Missing rate limits, timeouts, token budgets, retry caps, or max call counts.
Why it matters: Runaway agents can create outages, cost spikes, and denial-of-service conditions.
How to fix: Add rate limits, token budgets, timeouts, retry caps, and circuit breakers.
A2SPA impact: A2SPA can make each execution auditable, but resource controls still need explicit limits.
Intent Breaking
The agent may drift from approved user or business intent.
Detected
Intent Breaking
The agent may drift from approved user or business intent.
Scanner looks for: Goal instructions, prompt override language, jailbreak patterns, or missing intent verification.
Why it matters: An agent can complete the wrong task while appearing successful.
How to fix: Validate requested action intent, constrain allowed goals, and require approval for sensitive deviations.
A2SPA impact: A2SPA signs intended execution payloads so execution can be checked against approved intent.
Identity Spoofing
The execution boundary may not prove which agent or caller requested an action.
Detected
Identity Spoofing
The execution boundary may not prove which agent or caller requested an action.
Scanner looks for: Agent identity, caller fields, service accounts, or missing signed identity checks.
Why it matters: Spoofed identity lets rogue callers inherit trusted agent authority.
How to fix: Verify agent identity, bind identity to the signed payload, and reject unknown callers.
A2SPA impact: A2SPA helps by binding action, identity, nonce, and timestamp into signed authorization evidence.
Command Injection
Untrusted input may reach a shell or command execution path.
Possible
Command Injection
Untrusted input may reach a shell or command execution path.
Scanner looks for: exec/spawn/subprocess/os.system, shell=true, or command strings built from request input.
Why it matters: Command injection can become remote code execution and credential theft.
How to fix: Avoid shell execution, validate arguments, use allowlisted commands, and pass args as arrays.
A2SPA impact: A2SPA can authorize the intended operation, but command safety must be enforced at the tool boundary.
Supply Chain
Dependencies, remote scripts, or plugin sources may change without review.
Possible
Supply Chain
Dependencies, remote scripts, or plugin sources may change without review.
Scanner looks for: Unpinned versions, remote install scripts, dynamic imports, or plugin dependencies.
Why it matters: A dependency compromise can silently alter agent behavior or steal secrets.
How to fix: Pin versions, verify integrity, review plugins, and use lockfiles or signed artifacts.
A2SPA impact: A2SPA limits unauthorized execution impact, but dependency integrity still needs supply-chain controls.
Replay Attacks
A previously valid execution request may be reused.
Missing evidence
Replay Attacks
A previously valid execution request may be reused.
Scanner looks for: Nonce, idempotency key, timestamp, expiry validation, or missing replay controls.
Why it matters: Captured requests can trigger repeated payments, deployments, or data changes.
How to fix: Require unique nonces, mark them used, enforce timestamps, and reject expired requests.
A2SPA impact: Nonce and timestamp validation are core A2SPA readiness evidence.
Version Drift
Runtime model or agent versions may change without controlled review.
Possible
Version Drift
Runtime model or agent versions may change without controlled review.
Scanner looks for: Model names, versions, unpinned model config, or missing version metadata.
Why it matters: Model drift can change decisions, prompts, and tool usage behavior between releases.
How to fix: Pin model/version config, record release metadata, and re-scan after model changes.
A2SPA impact: A2SPA receipts can include model/version metadata for accountability.
Auditability
Execution may not leave enough evidence to investigate or prove what happened.
Missing evidence
Auditability
Execution may not leave enough evidence to investigate or prove what happened.
Scanner looks for: Audit logs, receipts, request IDs, traces, or missing structured execution records.
Why it matters: Without non-repudiation, incidents become difficult to reconstruct and defend.
How to fix: Write signed/auditable execution receipts with identity, action, timestamp, and result.
A2SPA impact: A2SPA audit receipts support accountability at execution boundaries.
Score breakdown
Why this report scored 0/100
Execution readiness
0/100
Can this agent prove a request is genuinely authorized before it acts?
A2SPA readiness
20/100
Does the code actually sign and check execution requests, reject replayed or expired ones, and block action when that check fails?
Remediation progress
0/100
How much risk is left after everything this scan found?
What reduced the score
- - 5 critical, 6 high, and 4 medium findings reduced the score.
- - 4 execution authorization findings block verification.
- - Confidence is 100/100 based on file length, language detection, and visible agent behavior.
What improves the score
- - Fix agent can move money with no amount limit to improve score and reduce critical risk.
- - Fix hardcoded credentials detected to improve score and reduce critical risk.
- - Fix missing cryptographic signature to improve score and reduce critical risk.
- - Fix missing nonce validation to improve score and reduce critical risk.
- - Fix sql query built from unescaped input to improve score and reduce critical risk.
How is this score calculated?Show breakdown
Severity weighting: critical −20, high −10, medium −5 per finding (low-severity findings are shown but don't subtract points). Wildcard/broad tool or permission access caps the score at 65 regardless of other findings, because unrestricted access is treated as a ceiling on trust, not just one more deduction. This is a heuristic, evidence-based score — not a formal proof of security.
Prioritized fix plan
What to fix first
1. Agent can move money with no amount limit
Fix firstImproves runtime safety and reduces operational risk.
2. Hardcoded credentials detected
Fix firstImproves runtime safety and reduces operational risk.
3. Missing cryptographic signature
Fix firstBlocks execution-readiness because the agent does not show complete authorization evidence.
4. Missing nonce validation
Fix firstBlocks execution-readiness because the agent does not show complete authorization evidence.
5. SQL query built from unescaped input
Fix firstImproves runtime safety and reduces operational risk.
6. Dangerous MCP tool exposed: payments
Fix nextImproves runtime safety and reduces operational risk.
7. Data exfiltration path: private data + untrusted input + outbound channel
Fix nextImproves runtime safety and reduces operational risk.
Implement A2SPA
NOT DETECTEDAdd authorization at the execution boundary
Status reflects only static evidence in the submitted content — mentioning "A2SPA" by name is not treated as evidence; only an actual signature/verification code pattern is.
A2SPA signs the intended execution payload before action and verifies that signed payload at the server-side execution boundary. Add signing on the trusted caller side, verify before tools or payments run, reject reused nonces and expired timestamps, and fail closed when authorization is missing or invalid.
Place your private key in your deployment environment or secret manager, then reference it here with environment variables such as process.env.A2SPA_PRIVATE_KEY and process.env.A2SPA_PUBLIC_KEY.
Never paste a production private key into Agent Verify, source code, or a public repository. Store it in an environment variable or a secret manager.
Evidence Extracts
Hardcoded credentials detected
ApiKey: "acct************************" (redacted — 35 chars)Unrestricted tool access
tools: ['*']Dangerous MCP tool exposed: payments
server-stripePrompt injection surface detected
systemPrompt:SQL query built from unescaped input
query('SELECT * FROM invoices WHERE id = ' +MCP server installed without a pinned version
npx", args: ["-y", "@modelcontextprotocol/server-stripe"Data exfiltration path: private data + untrusted input + outbound channel
sendMailAgent can move money with no amount limit
transfers.createAgent sends emails or messages without review
sendMailSection 02
Findings (16)
Pro has the fix for all 16 of these findings.
Step-by-step guidance and copy-ready corrected code for each one, A2SPA guidance, a PDF report for clients and auditors, and 100 scans a month to re-check every change.
See what Pro unlocks — $19.99/moCompliance Mapping
Findings mapped to industry security frameworks
OWASP LLM Top 10
NIST AI RMF
SOC 2
Agent Fixer
Fixes are ready for 16 findings
- • Missing cryptographic signature
- • Missing nonce validation
- • Missing timestamp enforcement
- • Missing fail-closed enforcement
- • Hardcoded credentials detected
- • Unrestricted tool access
- • Missing human-in-the-loop gates
- • Dangerous MCP tool exposed: payments
The corrected code for this finding is ready
Pro shows exactly how to fix it, with copy-ready code.
Unlock fixes with Pro — $19.99/moRuntime Bill of Materials
Complete inventory of this agent's execution identity