# A Security Analysis of Verifiable Credential Verification Pipelines: Attack Surface Arising from JSON-LD/RDFC Canonicalization Compared with SD-JWT VC and mdoc

DevFeed: [A Security Analysis of Verifiable Credential Verification Pipelines: Attack Surface Arising from JSON-LD/RDFC Canonicalization Compared with SD-JWT VC and mdoc](<https://devfeed.tech/articles/a-security-analysis-of-verifiable-credential-verification-pipelines-attack-surface-arising-from-json-ld-rdfc-canonicalization-compared-with-sd-jwt-vc-and-mdoc-116152.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.04461>)

Author: Naohiro Fujie (MIRAI Design Laboratory, ITOCHU Techno-Solutions Corporation, OpenID Foundation Japan), Shigeya Suzuki (Global Research Institute, Keio University)

Published: 2026-11-04T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>), [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [Security](<https://devfeed.tech/topics/security.md>), [Cryptography](<https://devfeed.tech/topics/cryptography.md>)

Tags: [abstract](<https://devfeed.tech/tags/abstract.md>), [adversarial](<https://devfeed.tech/tags/adversarial.md>), [all](<https://devfeed.tech/tags/all.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [attack](<https://devfeed.tech/tags/attack.md>), [attack-surface](<https://devfeed.tech/tags/attack-surface.md>), [but](<https://devfeed.tech/tags/but.md>), [call](<https://devfeed.tech/tags/call.md>), [canonicalization](<https://devfeed.tech/tags/canonicalization.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [json-ld](<https://devfeed.tech/tags/json-ld.md>), [jwt](<https://devfeed.tech/tags/jwt.md>), [pipelines](<https://devfeed.tech/tags/pipelines.md>), [sd](<https://devfeed.tech/tags/sd.md>), [security](<https://devfeed.tech/tags/security.md>), [surface](<https://devfeed.tech/tags/surface.md>), [vc](<https://devfeed.tech/tags/vc.md>), [verification](<https://devfeed.tech/tags/verification.md>), [with](<https://devfeed.tech/tags/with.md>)

## AI overview

At the tested default settings, the W3C VCDM verification pipeline exposed three surfaces tied to remote context resolution and RDFC-1.0 canonicalization: denial of service from symmetric blank-node "poison graphs," context injection via @context, and SSRF through malicious URLs. The reported DoS cost followed graph symmetry more than node count: one 527-byte, five-node input reached 278x baseline, while an acyclic 1,500-node control remained 462-714x. A call limit stopped attack families at 16 calls or fewer and legitimate credentials completed at one, but the shallow, wide control passed the bound. Production education schemas also raised canonicalization cost to 16-49x across four environments. The authors identify a static document loader, context allowlist, and call limit plus size bound as mitigations. Their tested SD-JWT VC and mdoc verifiers required neither canonicalization nor external references and resisted all evaluated vectors. These findings concern the tested pipelines and configurations.

## Source excerpt

arXiv:2611.04461v1 Announce Type: new Abstract: We evaluate, at implementation level and under an explicit threat model, the verification pipelines of three Verifiable Credential (VC) formats: SD-JWT VC; the W3C Verifiable Credentials Data Model 2.0 with the Data Integrity cryptosuite eddsa-rdfc-2022 (W3C VCDM); and mdoc (ISO/IEC 18013-5). For W3C VCDM we identify and exercise three structural attack surfaces from remote context resolution and RDFC-1.0 canonicalization: denial of service (DoS) via poison graphs, context injection through @context, and server-side request forgery (SSRF) reachable via malicious URLs, all at default settings. A poison graph, whose blank-node references are symmetric enough to force RDFC-1.0 into deep recursion, raises it to 278x the baseline from five blank nodes in 527 bytes, and to 13.5 s from eight. Every experiment ran in four environments sharing runtime and library versions; the multiple moves with the machine (251--424x for one input), not with its speed. Cost tracks that symmetry rather than the node count: an acyclic input with 1,500 blank nodes stays at 462--714x. A call limit separates the two: every attack family aborts at 16 or below, every legitimate credential completes at 1, but a shallow, wide recursion, such as the acyclic control, passes whatever the bound. DoS does not presuppose adversarial input: with production education schemas, canonicalization costs 23--34x a simple credential in one environment, 16--49x across four. Effective mitigations are a static document loader, which removes the retrieval latency and both remote-context surfaces; a context allowlist; and a call limit with a size bound. SD-JWT VC and mdoc need neither canonicalization nor external references, and our verifiers resisted every vector evaluated. These are not format-specific defects but properties of the pipeline and its configuration.