← all corpora

rustsec-advisories

reference corpus · status withdrawn · domain SEC (Security and vulnerabilities) · lane A · refresh weekly · tags GLOBAL · ADVISORIES · VULNERABILITIES · SECURITY

What an agent uses it for

an agent reviewing Rust crate dependencies queries this for vulnerable crate versions, affected functions (271 RustSec advisories carry symbol lists), and patched releases: one text record per advisory from RustSec advisory-db (CC0) plus the crates.io OSV export (CC0, GHSA-sourced, zero alias overlap with RustSec)

Use it
curl -fsSLO https://raw.githubusercontent.com/xerj-org/xerj/corpus-hub/tools/xerj-code/hub/rustsec-advisories.json
xerj corpus add --from ./rustsec-advisories.json
xerj corpus index rustsec-advisories then xerj code rustsec-advisories "your question"

Needs the xerj CLI and a local node running; the copy prompt covers both, checks each step, and shows how to stop only the node you started. No shell: the MCP tool xerj_code_search with corpus: "rustsec-advisories", once the corpus is indexed on the node.

Sources and pins

sourcepinlicencesizereview note

0 B across 0 files. Added 2026-10-05.

People behind this corpus

Curated by

The hub maintainers maintain this registry entry; its sources are not GitHub repositories with an owner to credit, so the original publishers are the ones listed under Sources and pins.

All contributors.

Rights

?. See per-source review blocks. The review block records a human opening each licence file at the pin. Detector output is a hint, never the verdict.

Retrieval spot-check (G7)

5.0/5 relevant. Graded .

Q: Our Cargo.toml pins the openssl crate at 0.8.x; was there a man-in-the-middle issue with its default certificate validation, and which release fixes it?
expect: corpus-rust-vulns-txt/rustsec-2016-0001.txt
top-5: corpus-rust-vulns-txt/rustsec-2016-0001.txt:1 / corpus-rust-vulns-txt/rustsec-2021-0056.txt:1 / rustsec/records.jsonl / rustsec/records.jsonl / corpus-rust-vulns-txt/rustsec-2026-0179.txt
grade: pass
Q: smallvec grow use after free double free which versions are affected and what do I patch to
expect: corpus-rust-vulns-txt/rustsec-2019-0009.txt
top-5: corpus-rust-vulns-txt/rustsec-2019-0009.txt / rustsec/records.jsonl / corpus-rust-vulns-txt/rustsec-2026-0029.txt:1 / corpus-rust-vulns-txt/rustsec-2026-0142.txt / corpus-rust-vulns-txt/rustsec-2026-0282.txt:1
grade: pass
Q: libpulse-binding Stream objects get_context get_format_info memory safety bug which functions are affected
expect: corpus-rust-vulns-txt/rustsec-2018-0021.txt
top-5: corpus-rust-vulns-txt/rustsec-2018-0021.txt / rustsec/records.jsonl / corpus-rust-vulns-txt/rustsec-2018-0020.txt:1 / corpus-rust-vulns-txt/rustsec-2019-0038.txt / rustsec/records.jsonl
grade: pass
Q: memoffset offset_of span_of unsoundness uninitialized memory dropped on panic
expect: corpus-rust-vulns-txt/rustsec-2019-0011.txt
top-5: corpus-rust-vulns-txt/rustsec-2019-0011.txt / rustsec/records.jsonl / corpus-rust-vulns-txt/rustsec-2023-0045.txt / corpus-rust-vulns-txt/rustsec-2020-0103.txt / corpus-rust-vulns-txt/rustsec-2026-0252.txt
grade: pass
Q: webauthn-rs-core origin validation flaw allowing subdomain suffixes like attacker's hermit-crab.example for crab.example
expect: corpus-rust-vulns-txt/ghsa-22w3-693w-x895.txt
top-5: corpus-rust-vulns-txt/ghsa-22w3-693w-x895.txt / osv/records.jsonl / corpus-rust-vulns-txt/ghsa-22w3-693w-x895.txt / corpus-rust-vulns-txt/ghsa-7gmj-67g7-phm9.txt / osv/records.jsonl
grade: pass

Agent score

From structured reviews that AI agents send after they use this corpus: through xerj hub pull, MCP queries, or the xerj_corpus_feedback tool. Each review rates usefulness 1–5, whether the answer was found, and freshness. This is not the human hub star count shown above. The two are never mixed.

Loading agent reviews…

Score = Bayesian mean of usefulness (prior 3.0 with weight 5), so a few reviews cannot swing it. One voice per installation per corpus per week; abnormal-volume reviewers are dropped. Coverage gaps appear only once 3 or more agents report the same one. How it works.

Traffic

Traffic stats load from /api/hub-traffic when this page runs JavaScript.

Views: visits to this page (search-engine crawlers excluded). Unique: distinct visitors per day, by a hash salted with the day, so the 14-day unique figure adds up daily uniques. Pulls: growth of the GitHub release download count of this corpus’s pack (xerj hub pull downloads from there; includes our own pack-verification downloads). Searches: hosted-hub queries for this corpus. Referring sites appear after 3 views. What is collected.

Agent usage

Usage stats load from /api/hub-usage when this page runs JavaScript.

Counted: requests agents send to the hosted hub API (hub.xerj.org/api/v1/code, /def) for this corpus. Queries on your own node (xerj code, xerj ask with a local pack, the MCP tools) never leave your machine and are not counted. Templates replace identifiers, versions, paths, numbers and quoted text with placeholders; one is shown only once it has been seen 3 times in 30 days, and any word asked fewer than 3 times shows as <term>. Raw queries are never published. What is collected.