Amazon Bedrock Penetration Testing
Bedrock runs whatever your agent’s action groups and knowledge base retrieval allow, including instructions hidden inside a poisoned document. We test the permissions, roles and Lambda functions your team built around it. CREST-certified testers, fixed price from £6,000 for a 5-day single-application scope, quoted within 24 hours.
- Unlimited retesting
- Unlimited pre-retesting
- No hidden fees
“I would highly recommend EJN Labs to any organisation seeking reliable, detailed, and well-managed penetration testing services, particularly for government or enterprise-level projects.”
“There wasn’t another company we could find that could deliver what we needed in the timeframe we needed. The client loved it, and we got instant ROI from the engagement.”
IAM decides what an agent’s execution role, its action-group Lambda functions and its knowledge base connection can each reach, and every one of those roles is something your team configures, not something Bedrock decides for you.
Why Bedrock security depends on the roles and rules your team configures
An Amazon Bedrock agent decides which action group to invoke and what parameters to send it, and Amazon Bedrock’s own documentation is explicit that the agent passes the API or function it predicts, together with the parameters it derives from the session, straight to your Lambda function. That same guidance tells you to attach a resource-based policy to the Lambda function so the Bedrock service principal can invoke it, but nothing in that pattern limits what the function does once it is called. The agent’s own execution role is a service role scoped by a trust policy tied to your account and, ideally, a specific agent ARN, with identity-based permissions covering the base model, the S3 objects holding your action group schemas, and any knowledge base or guardrail the agent uses.
Knowledge base retrieval is authorised separately, through the bedrock:Retrieve and bedrock:RetrieveAndGenerate actions scoped to a specific knowledge base by its ARN, and AWS’s documentation on querying a knowledge base describes metadata filtering as a way to improve the relevance of a response. Whether a metadata filter is actually built to stop one customer’s query pulling back another customer’s documents is a decision your application makes; Bedrock does not enforce that separation for you automatically. The same ingestion path carries indirect prompt injection: a document, ticket or web page pulled into a knowledge base can carry instructions the model treats as trusted context once retrieved, which OWASP’s Top 10 for LLM Applications catalogues under LLM01: Prompt Injection alongside the direct kind, where a user simply types the attack at the agent.
Guardrails evaluates the prompt going in and the completion coming out against the content filters, denied topics, word filters, sensitive information filters, contextual grounding checks and Automated Reasoning checks you configure, but that evaluation stops at the model call. It does not extend to what an action group’s Lambda function does with the parameters it receives. Model invocation logging, which can record the full request and response for calls made through the Converse and InvokeModel APIs, is disabled by default, so unless your team has switched it on there is no CloudWatch or S3 record of what a model was asked or what it returned. We check what your guardrail configuration actually blocks against what you believe it blocks, and whether logging would give you anything useful during an incident.
SCOPE
What we pen test on a Bedrock application
Action Group Lambda Functions
Each action group is backed by a Lambda function that the agent invokes once it has decided which action to take. We test what that function is actually authorised to do, not just what the OpenAPI schema says it is for.
Parameters an Agent Passes Into Your Code
Amazon Bedrock’s own documentation confirms the agent passes the function it predicts and the parameters it derives from the session straight to your Lambda function. We test whether a crafted input can steer which action gets chosen or what gets passed in.
Agent Execution Role and Trust Policy
The service role Bedrock assumes to run your agent is scoped by a trust policy tied to your account and agent, with permissions for the base model, action group schemas and any knowledge base or guardrail attached. We check that role against what the agent actually needs.
Knowledge Base Retrieval Permissions
Retrieval is authorised through the bedrock:Retrieve and bedrock:RetrieveAndGenerate actions, scoped to a specific knowledge base by its ARN. We test whether the identity calling your application can reach a knowledge base, or documents within it, that it should not.
Metadata Filtering and Multi-Tenant Retrieval
Amazon Bedrock supports filtering retrieval on document metadata fields, but its own guidance frames this as a way to improve relevance, not as an access-control mechanism. Where your application relies on a metadata filter to keep one customer’s documents away from another, we test whether that filter can be bypassed or omitted.
Direct Prompt Injection Against the Agent
We test whether a user can type instructions that override the agent’s system prompt, trigger an action group it should not have access to, or extract configuration it should not reveal.
Indirect Injection From Ingested Documents
A document, web page or ticket pulled into a knowledge base can carry instructions the model treats as trusted context once it is retrieved. We test your ingestion sources for content that could steer the agent without a user ever typing anything malicious.
Guardrails Configuration and Coverage Gaps
Guardrails filters the prompt going in and the completion coming out, covering content categories, denied topics and sensitive information, but that evaluation does not extend to what an action group’s Lambda function does with the parameters it receives. We test what your guardrail actually blocks against what you believe it blocks.
Model Invocation Logging and What Gets Recorded
Model invocation logging is disabled by default, so unless your team has switched it on there is no CloudWatch or S3 record of what was sent to the model or what came back. We check whether logging is configured, and what it would actually show you during an incident.
Data Handling and Encryption Around the Model
We review how prompts, retrieved documents and generated output move between your application, Bedrock and any storage you control, including whether traffic to Bedrock runs over a VPC endpoint rather than the public internet.
OUR PROCESS
Amazon Bedrock Applications Penetration Testing: From Scope to Attestation
Scope and Access
We agree which agents, knowledge bases, action groups and model access are in scope, including whether testing indirect prompt injection against your knowledge base is included.
Map Roles, Actions and Retrieval
We map every agent’s execution role, action group Lambda function, knowledge base permission and guardrail against what it is meant to allow before any exploitation starts.
Manual Testing
CREST-certified testers attempt direct and indirect prompt injection, test what each action group’s Lambda function will actually execute, and check what a retrieval query can reach.
Reporting and Retest
You get a technical report with CVSS scores and reproduction steps, a walkthrough call, and a free retest once fixes are deployed.
CREDENTIALS
Verified Accreditations Auditors Accept
Every credential below is independently verifiable. UK procurement teams, FCA supervisors, ISO 27001 / SOC 2 auditors, and cyber insurance underwriters all recognise these standards.
GET YOUR QUOTE
Get a CREST Bedrock pen test quote in 24 hours
A fixed-price quote back in one business day, from a named CREST assessor. No sales pipeline, no chasing.
- CREST and IASME accredited. Testing your auditors and clients already recognise.
- Fast-track testing within 24 hours where required. Free retest of every fix included.
- Live findings via your client portal, not a four-week PDF.
- Fixed price from £3,500 for a single-role, single-app scope, agreed up front. Most engagements run £5,000 and up. No day-rate surprises.
Under NDA Further named references available on a scoping call.
- We reply within one business day with a fixed-price quote from a named CREST assessor.
- You approve the scope and we book a start date, usually within 24 hours.
- Live findings land in your client portal as we test, with a free retest of every fix.
Get your fixed pen test quote in 24 hours
Quote request received
We will reply within one business day with your fixed-price quote from a named CREST assessor.
Your data stays with us. No newsletter signup.
or book a 20-min scoping call first
We reply within one business day. Your data stays with us. No newsletter signup.
COMPLIANCE READY
Reports Mapped to Every Framework
Findings are written so your team can reference the report against each framework without translation work.
ISO 27001:2022
Annex A.8.8 management of technical vulnerabilities plus A.5.15-5.18 and A.8.2-8.5 access control validation.
SOC 2 Type I & II
CC6 logical access, CC7 system operations, CC8 change management evidence.
PCI DSS
Requirement 11.4 application penetration testing across cardholder data environments, including ecommerce penetration testing for online retail platforms.
FCA SYSC
SYSC 4.1.1R, 6.1.1R, 13 mapped to each finding for FCA-regulated firms.
UK GDPR
Article 32 effectiveness testing, customer-data security controls, ICO-acceptable evidence.
Cyber Essentials Plus
Direct certification through our IASME body status, single-vendor delivery.
PRICING
Transparent Amazon Bedrock Applications Penetration Testing Pricing
Pricing depends on the number of roles, integrations and environments in scope. See our pricing page for how we quote.
Depends on AI system complexity
Single LLM-powered chatbot, basic RAG (≤100 documents), no agent tools. Around 5 to 7 working days from kickoff to report.
Get a fixed quoteDepends on AI system complexity
Multi-tool agent system, complex RAG pipeline, fine-tuned model, multi-tenant. Around 8 to 12 working days from kickoff to report.
Get a fixed quoteDepends on AI system complexity
Production AI platform, multi-agent orchestration, regulated AI use case (FCA, NHS), custom-trained models. Around 12 to 18 working days from kickoff to report.
Get a fixed quoteSECTORS
Sectors We Test Bedrock For
Sector-specific scoping for regulated UK organisations.
Fintech & FCA-Regulated
FCA SYSC, Open Banking FAPI 1.0, PSD2 SCA, payment-flow scrutiny, KYC/AML testing.
Fintech sector pageSaaS Companies
SOC 2 Type I & II evidence, multi-tenant boundaries, role escalation, customer-tenant isolation.
SaaS sector pageLaw Firms
SRA Cyber Standard, privileged data, conveyancing fraud defence, partner-tier procurement.
Law firm sector pageHealthcare
NHS DTAC, DSP Toolkit v6, UK GDPR Article 32, EHR systems, telehealth platforms.
Healthcare sector pageInsurance
FCA / PRA Operational Resilience, cyber underwriting, claims data, broker portals.
Insurance sector pagePublic Sector
CCS / G-Cloud framework, NCSC-aligned, citizen-facing services, PSN-compliance scrutiny.
Public sector pageWHY EJN LABS
What You Get From Amazon Bedrock Applications Penetration Testing
Six concrete differentiators competitors don’t all match.
CREST-Certified Testers, Verifiable
Every test by a CREST-certified pen tester (CRT, CCT APP, CCT INF where applicable). Verify our company status at crest-approved.org.
24-Hour Startup, Where Required
From signed scope to active testing in a single business day for incident response, audit deadlines, or regulator-driven timelines.
Live Findings, Not 4-Week PDFs
Critical issues reported during testing through your client portal. Your team remediates while testing continues.
Audit-Ready Reports
Executive summary plus full technical report with CVSS scores and explicit framework mappings (ISO 27001, SOC 2, PCI DSS, FCA SYSC).
Free Retests, Standard
Verify remediation of every finding before close-out. Letter of attestation for audit submission included. Most competitors charge £1,500-£3,000 per retest.
UK-Based CREST Testers
Every engagement performed by vetted, UK-based CREST-certified testers, matched to your needs, security clearance, and compliance scope.
FAQ
Frequently Asked
What access do you need to test our Bedrock application?
Read-only access to the agent, action group, knowledge base and guardrail configuration in the AWS console, plus application-level test accounts covering every role your app defines. Where we are testing IAM roles directly rather than inferring them through the application, read-only console access to the relevant Bedrock and Lambda resources is enough; we do not need write access to your AWS account.
Will testing touch live data in our knowledge base?
We test whichever knowledge base and data sources you give us access to. If that includes production documents, we agree exclusions upfront, such as any personal data you would rather we worked from a sanitised copy of, and we confirm in writing what we can and cannot write to before testing starts.
How long does a Bedrock application penetration test take?
A single agent, its action groups and one knowledge base sit in our 5-day single-application scope, with a report typically landing around 5 to 7 working days after kickoff. Multiple agents, multi-agent collaboration or several knowledge bases move into a wider scope.
Do you test the foundation model itself?
No. We test the application you built around the model: your agent’s action groups, knowledge base permissions, guardrail configuration, IAM roles and logging. The underlying foundation model is Amazon’s and the model provider’s to secure, not something we or you can pen test directly.
What is out of scope for a single-application Bedrock review?
Other AWS services in your account that the application does not depend on, and any separate agents or knowledge bases beyond the one in scope, are not covered by a single-application engagement. If your estate includes standalone Lambda functions well beyond what the agent calls, our serverless review covers them separately.
Does AWS have a customer penetration-testing policy for Bedrock?
AWS’s customer penetration-testing policy names Amazon Bedrock AgentCore and AWS Lambda, the service behind an agent’s action groups, among the services customers may test without prior approval. It does not separately name Amazon Bedrock’s core agent, model invocation or knowledge base features either way, and AWS does not permit testing of its own infrastructure or services rather than your configuration of them. We confirm the current policy and any account-specific restrictions during scoping.
What does Guardrails actually stop, and what does it not?
Guardrails evaluates the prompt going into the model and the completion coming out of it against the content filters, denied topics, word lists and sensitive information filters you configure. It does not evaluate what your action group’s Lambda function does once the agent has decided to call it, which is where we focus a separate part of the test.
Can you test prompt injection through documents we have not ingested yet?
Yes. With agreement, we can add crafted test documents to a non-production knowledge base or ingestion source to test indirect prompt injection safely, without touching your production data or documents.
20+ CREST-accredited testing services in one place
Web, mobile, API, cloud, AI, infrastructure, red team. Pick the test that fits your environment.
Get a fixed price for your Bedrock application
Bedrock runs whatever your agent’s action groups and knowledge base retrieval allow, including instructions hidden inside a poisoned document. We test the permissions, roles and Lambda functions your team built around it. CREST-certified testers, fixed price from £6,000 for a 5-day single-application scope, quoted within 24 hours.



