OWASP Dependency-Check Report (XML)
The XML twin of the Dependency-Check report — the form most Maven and Jenkins integrations consume — carrying the same four SAMPLE findings inside a namespaced analysis element. Advisory identifiers use the invented NOVUS-SAMPLE namespace with SAMPLE-CVE aliases; no identifier here refers to a published CVE, GHSA or OSV record, and no package named exists.
<?xml version="1.0" encoding="UTF-8"?>
<analysis xmlns="https://jeremylong.github.io/DependencyCheck/dependency-check.2.5.xsd">
<scanInfo><engineVersion>0.0.0-sample</engineVersion></scanInfo>
<projectInfo>
<name>orchard-gateway</name>
<reportDate>2026-01-01T00:00:00Z</reportDate>
<credits>Advisory identifiers use the invented NOVUS-SAMPLE namespace with SAMPLE-CVE aliases; no identifier here refers to a published CVE, GHSA or OSV record, and no package named exists.</credits>
</projectInfo>
<dependencies>
<dependency>
<fileName>example-logger-3.4.1.tgz</fileName>
<sha256>7fb72ea58987e5327259b66384f96f5e657c3ce5225b8891c567cac6b58430ec</sha256>
<vulnerabilities>
<vulnerability source="NOVUS-SAMPLE">
<name>NOVUS-SAMPLE-2026-0001</name>
<severity>HIGH</severity>
<cvssV3><baseScore>8.1</baseScore><baseSeverity>HIGH</baseSeverity></cvssV3>
<cwes><cwe>CWE-20</cwe></cwes>
<description>SAMPLE advisory: fabricated improper-input-validation issue in a fictional logging library.</description>
<vulnerableSoftware>
<software versionEndExcluding="3.5.0">pkg:npm/example-logger@3.4.1</software>
</vulnerableSoftware>
</vulnerability>
</vulnerabilities>
</dependency>
<dependency>
<fileName>example-cache-0.9.2.tgz</fileName>
<sha256>f7af2ad2d3c3daaa5991b0eae38ffa151a2e2f3bf0f2bdd7333adc3a1dc860f7</sha256>
<vulnerabilities>
<vulnerability source="NOVUS-SAMPLE">
<name>NOVUS-SAMPLE-2026-0002</name>
<severity>CRITICAL</severity>
<cvssV3><baseScore>9.3</baseScore><baseSeverity>CRITICAL</baseSeverity></cvssV3>
<cwes><cwe>CWE-502</cwe></cwes>
<description>SAMPLE advisory: fabricated unsafe-deserialisation issue in a fictional cache library.</description>
<vulnerableSoftware>
<software versionEndExcluding="0.9.5">pkg:npm/example-cache@0.9.2</software>
</vulnerableSoftware>
</vulnerability>
</vulnerabilities>
</dependency>
<dependency>
<fileName>example-yaml-lite-1.1.7.tgz</fileName>
<sha256>d7094de3c8e15621381e5f9f02c0eecb9977d249a8a06ab2b0a34f5344a039af</sha256>
<vulnerabilities>
<vulnerability source="NOVUS-SAMPLE">
<name>NOVUS-SAMPLE-2026-0003</name>
<severity>MEDIUM</severity>
<cvssV3><baseScore>5.4</baseScore><baseSeverity>MEDIUM</baseSeverity></cvssV3>
<cwes><cwe>CWE-400</cwe></cwes>Specifications
- Seed
- 51200
- Sample Only
- true
- Tool
- Dependency-Check-shaped
- Serialisation
- XML
- Dependencies
- 4
- Namespaced
- true
- Line Endings
- LF
Testing contract
Reference control- Scenario
- Parse a namespaced XML report and diff it against its JSON twin.
- Expected result
- Both files yield the same four advisory ids, severities and base scores; an XPath that ignores the default namespace finds nothing and fails the test.
What is a .xml file?
XML (Extensible Markup Language) is a verbose, self-describing markup language using nested tags, attributes, and namespaces to represent structured, hierarchical data. It supports schemas, entities, and validation and underlies many document and data formats. It remains common in enterprise, publishing, and interchange contexts.
How to use this file
Use an example XML file to test parsers, namespace and schema validation, XPath queries, and protection against entity-expansion and external-entity attacks.
How to use this file for testing
“OWASP Dependency-Check Report (XML)” is a deterministic Novus Examples fixture for Conversion testing, Schema validation, Error handling. The same content exported across many formats and linked as a group, so you can convert one and diff against the expected twin.
Documented properties for this file: seed 51200 · LF. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.
Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.
SBOM, lockfile, provenance, and advisory fixtures describe the same fabricated component tree across formats, so a converter or scanner can be diffed against a known answer. Every package name, version, hash, and advisory ID is invented — never treat a finding here as real.
Code examples
import xml.etree.ElementTree as ET
tree = ET.parse("dependency-check-report.xml")
root = tree.getroot()
print(root.tag, [c.tag for c in root][:5])Related files
- lcovLCOV — Lines Hit Exceeds Lines Found (intentionally corrupt)An intentionally corrupt LCOV tracefile: every record declares LH eight greater than LF, so more lines were hit than exist. The syntax is perfectly valid, which is the point — the contradiction is semantic, and a coverage gate that trusts the summary counters computes over 100% coverage and passes a build it should have stopped. Recompute LH from the DA lines and the real figure is 127/140.

- jsonCSAF 2.0 VEX DocumentA CSAF 2.0 VEX advisory with the nested product tree that CSAF requires — vendor, product name, product version — and product_status buckets rather than a per-statement status field. Advisory identifiers use the invented NOVUS-SAMPLE namespace with SAMPLE-CVE aliases; no identifier here refers to a published CVE, GHSA or OSV record, and no package named exists.

- jsonCycloneDX VEX DocumentA CycloneDX VEX document asserting a different analysis state for each of the four SAMPLE advisories, so a suppression pipeline can be tested against every branch at once. Advisory identifiers use the invented NOVUS-SAMPLE namespace with SAMPLE-CVE aliases; no identifier here refers to a published CVE, GHSA or OSV record, and no package named exists.

- jsonOpenVEX Statement DocumentAn OpenVEX document covering all four status values, with the justification and impact statement OpenVEX requires alongside not_affected and the action statement it requires alongside affected. Advisory identifiers use the invented NOVUS-SAMPLE namespace with SAMPLE-CVE aliases; no identifier here refers to a published CVE, GHSA or OSV record, and no package named exists.

- jsonOSV Record With Schema Violations — Intentionally InvalidAn intentionally invalid OSV record: the JSON parses, but the required id is missing, modified is not an RFC 3339 timestamp, the SEMVER range has a fixed event with no introduced event, and severity.score is a number where the schema demands a CVSS vector string. Advisory identifiers use the invented NOVUS-SAMPLE namespace with SAMPLE-CVE aliases; no identifier here refers to a published CVE, GHSA or OSV record, and no package named exists.

- jsonAttestation With a Full SPDX PredicateAn in-toto statement whose predicate is an entire SPDX 2.3 document — the nesting that makes attestation payloads large and that a size-limited verifier has to cope with. Every package, version, hash and licence is fictional — the tree describes nothing real.

Generated by generation/supply_chain.py. Free for any use, no attribution required — license.