TECHNOLOGIES: AMAZON BEDROCK

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
Accredited & recognised
Cyber Essentials certified Cyber Essentials Plus certified IASME certifying body ISO 27001 certified ISO 9001 certified Crown Commercial Service supplier UK Cyber Security Council member
CREST
Approved Provider
10
Bedrock Test Areas
FREE
Retest Until Closed
24h
Scope to Active Test
CLIENT REFERENCE
“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.”
SquareOneImran SaghirProject Lead, SquareOneRead the SquareOne case study →
CLIENT REFERENCE
“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.”
CelloriDan WilcocksonFounder, CelloriRead the Cellori case study →
See all case studies →
WHY IT MATTERS
IAM

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

BR-01

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.

BR-02

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.

BR-03

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.

BR-04

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.

BR-05

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.

BR-06

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.

BR-07

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.

BR-08

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.

BR-09

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.

BR-10

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

01

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.

02

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.

03

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.

04

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.
What clients say
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.
CelloriDan WilcocksonFounder, Cellori

Under NDA Further named references available on a scoping call.

What happens next
  1. We reply within one business day with a fixed-price quote from a named CREST assessor.
  2. You approve the scope and we book a start date, usually within 24 hours.
  3. Live findings land in your client portal as we test, with a free retest of every fix.
Accredited & recognised
CREST member Cyber Essentials certified Cyber Essentials Plus certified IASME certifying body ISO 27001 certified ISO 9001 certified UK Cyber Security Council Crown Commercial Service supplier

Get your fixed pen test quote in 24 hours

⚡24h reply ✓CREST tester ↻Free retests

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.

✦ ALWAYS · ON EVERY TIER · NO EXCEPTIONS ✦
✓Free retests, no time limit
✓Free rescheduling
✓No cancellation fees
✓24-hour scope to active testing
✓Live findings to client portal
✓Executive + technical report
✓60-min walkthrough call
✓Letter of attestation
CHATBOT / RAG
£6,000–£12,000
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 quote
ENTERPRISE AI
£25,000+
Depends 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 quote

Full UK pen test cost guide

WHY 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.

EXPLORE EVERY SERVICE

20+ CREST-accredited testing services in one place

Web, mobile, API, cloud, AI, infrastructure, red team. Pick the test that fits your environment.

Penetration testing services
READY TO START

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.