TECHNOLOGIES: LANGGRAPH

LangGraph Penetration Testing

Last updated:

A LangGraph checkpointer stores whatever state a thread holds, and the thread_id you pass decides which state loads. We test whether one user can reach another’s threads, memory and paused runs. EJN Labs is a CREST-accredited UK company providing LangGraph penetration testing, from £6,060 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
LangGraph 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
Threads

In LangGraph the thread_id tells the checkpointer which state to load. Who may use a given thread is a decision your application, or your Agent Server auth handlers, has to make.

How LangGraph decides whose state a run can load

LangGraph’s persistence layer gives agents short-term memory through checkpointers and long-term memory through stores. A checkpointer saves a thread’s graph state, and the documentation says the thread_id is the pointer: reusing it resumes the same checkpoint. Nothing in that call says the caller owns the thread. If the application takes a thread_id from the client, or derives it from something guessable, one user can load another’s conversation, tool results and pending actions. That is the first thing we test.

The second is the server. The LangGraph Agent Server exposes assistants, threads, runs and cron jobs over an API, and its documentation says that self-hosted deployments have no default authentication, while LangSmith deployments require an API key by default. Without a custom authentication handler, LangGraph sees only the API-key owner, so requests are not scoped to individual end users, and ownership is enforced only if you write authorisation handlers that filter by metadata. We test those handlers against threads, runs, crons and assistants, with two real users.

The third is the graph itself. Interrupts pause a run for human approval, but they work by re-running the node from its start on resume, so side effects placed before an interrupt need to be idempotent. Time travel lets a caller fork from an earlier checkpoint with modified state. This page covers what is specific to LangGraph; tool permissions, retrieval filtering and prompt injection are covered on our LangChain penetration testing page, and the wider method on AI penetration testing.

SCOPE

What we test in a LangGraph application

LG-01

Thread IDs and Cross-User State Access

The thread_id in the graph config tells the checkpointer which state to load, and reusing it resumes the same checkpoint. We test where your application gets the thread_id, whether a user can supply or guess another’s, and whether state, messages and tool results from one user’s thread can be read or continued by another.

LG-02

Checkpointer Storage and Encryption

Checkpointers store snapshots of graph state, InMemorySaver is for development, and production examples use a database-backed saver such as PostgresSaver. Encryption of persisted state is optional through EncryptedSerializer, with the key read from LANGGRAPH_AES_KEY. We review what the checkpoint tables hold, who can read them, the connection settings including sslmode, and where the key lives.

LG-03

Serialisation and the Pickle Fallback

The default serializer, JsonPlusSerializer, uses ormsgpack and JSON, and a pickle_fallback option exists for objects it cannot encode. We check whether your graphs enable pickle, and whether anyone who can write to a checkpoint store could place data that is later deserialised by the application.

LG-04

Store Namespaces and Long-Term Memory

Long-term memories live in a store under a namespace tuple, such as a user ID and a label, and the documentation says a namespace can be any length and does not have to be user specific. We test whether a user can read, write or search another namespace, and whether stored memories can carry instructions into later runs.

LG-05

Interrupts and Human Approval

An interrupt pauses the graph, saves state, and waits indefinitely until the run is resumed with a Command. We test who can resume a paused run and with what value, whether an approval can be replayed or edited, and whether side effects before the interrupt run again on resume.

LG-06

Time Travel, Replay and Fork

LangGraph can replay from a prior checkpoint or fork from one with modified state, and nodes after the checkpoint re-execute, including LLM calls, API requests and interrupts. We test whether a caller can fork a thread with altered state, and what re-executing the later nodes does to external systems.

LG-07

Agent Server Authentication

Self-hosted Agent Servers have no default authentication, LangSmith deployments use API keys in the x-api-key header by default, and a custom @auth.authenticate handler is needed to know the end user. We call the server with no credential, with a valid API key and with a user token, and check which requests succeed.

LG-08

Authorisation Handlers for Threads, Runs and Assistants

Custom @auth.on handlers can add an owner to resource metadata and return a filter for reads and searches across threads, runs, crons and assistants. We test every resource type and action with two users, looking for any that return another user’s thread, run, assistant or cron job.

LG-09

MCP and A2A Endpoints on the Agent Server

The Agent Server exposes agents over MCP using Streamable HTTP, and over A2A, and custom authentication can authenticate users to user-scoped tools. We test whether these endpoints enforce the same authentication as the main API, and what tools and data a client reaches through them.

LG-10

Graph Routing, Fan-Out and Recursion Limits

Send fans work out to nodes dynamically and Command updates state while routing, and one run may execute up to a recursion limit of super-steps, 10,007 by default from version 1.1.4. We test whether user input can steer routing or fan-out, and whether a crafted request can drive a run to a very large number of steps and tool calls. Tool permissions are covered in our LangChain test.

OUR PROCESS

LangGraph Penetration Testing: From Scope to Attestation

01

Scope and Access

We agree which graphs, Agent Server deployments and stores are in scope, and get two ordinary user accounts so we can test one user against another.

02

Graph and State Mapping

We map every graph, node and interrupt, where thread IDs come from, what each checkpointer and store holds, and every auth handler on the server.

03

Manual Testing

A CREST-certified tester manually tests thread access, auth handlers, interrupts and replay with real accounts, chaining findings where they compound.

04

Attestation and Retest

You get a technical report with CVSS scores and reproduction steps, a walkthrough call, a free retest once fixes are deployed, and an attestation letter for auditors.

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 LangGraph 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 LangGraph Penetration Testing Pricing

EJN Labs LangGraph Penetration Testing prices start at £6,060. 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,060–£12,060
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,060+
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 LangGraph 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 LangGraph application?

We need the application or Agent Server URL, and two ordinary user accounts so we can test one user against another. A read-only database role for the checkpoint tables is helpful for confirming what is stored, and the langgraph.json and auth handler code is useful if you want a grey-box review.

Will testing touch live data?

That is agreed before testing starts. Because LangGraph state is saved per thread, a staging deployment with test threads is a good target, and we create our own threads rather than read real customers’. We do not run destructive tests or export real conversations without written agreement.

How long does a LangGraph penetration test take?

One application with a small number of graphs sits in our 5-day single-application scope, with the report typically landing around 5 to 7 working days after kickoff. Several Agent Server deployments, many graphs or a large tool set moves into a larger scope with more testing days.

How is this different from your LangChain test?

The LangChain page covers tool permissions, retrieval filtering, prompt injection and tracing. This one covers what LangGraph adds: thread and checkpoint access, stores, interrupts, time travel, graph routing and the Agent Server’s authentication and authorisation. If you use both, we scope them as one application.

We use the open-source library, not the Agent Server. Does that change the test?

Yes. The Agent Server’s authentication handlers do not apply to the open-source library used in your own custom server, so there the thread access checks are yours to write and we test your own API layer. We confirm which you use at scoping.

What is out of scope for a LangGraph penetration test?

We never test LangChain’s hosted LangSmith platform or the model provider’s infrastructure. We test the application, graphs, stores, servers and configuration you run. A separate tool server or MCP server outside this application is scoped and quoted separately.

Does LangChain place rules on customer penetration testing?

We did not find a published penetration-testing policy for customers in the documentation we reviewed, and we confirm the current terms with you during scoping rather than assume. If you use a LangSmith cloud deployment, we limit testing to your own deployment at a volume agreed in advance.

Is EJN Labs CREST accredited?

Yes. EJN Labs is a CREST-accredited company, and every LangGraph engagement is carried out by UK-based, CREST-certified testers. Your report and attestation letter are recognised by auditors and insurers accordingly.

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 LangGraph application

A LangGraph checkpointer stores whatever state a thread holds, and the thread_id you pass decides which state loads. We test whether one user can reach another’s threads, memory and paused runs. EJN Labs is a CREST-accredited UK company providing LangGraph penetration testing, from £6,060 for a 5-day single-application scope, quoted within 24 hours.