pysec

xerj-org/corpus-pysec-v2

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

0 GitHub stars · 1 commits on main · last push 2026-10-05 · View on GitHub · GitHub data fetched 2026-10-31

What an agent uses it for

an agent reviewing Python dependency trees queries this for PYSEC advisory records with fixed versions

Use it
xerj hub pull pysec
xerj "your question" --corpus pysec
xerj ask --def SYMBOL --corpus pysec

One line, no clone and no index: xerj hub pull pysec fetches this corpus’s signed, pre-indexed pack and checks its SHA-256 and signature before restoring it. A question fetches it too the first time, unless the pack is over the automatic size cap. The answer names the corpus, its pin date and its licence. Use --def for an exact value, signature or default. Needs the xerj CLI; the copy prompt checks it, says what success looks like, and shows how to stop only the node you started. No shell: the MCP tool xerj_hub_ask with corpus: "pysec", once the pack is on the machine (a tool never downloads one). Not sure this is the right corpus? The catalogue lists every one, a line each.

Sources and pins

sourcepinlicencesizereview note
xerj-org/corpus-pysec-v2 3373aa62a2dfCC-BY-4.0 13.5 MB / 7,723 files PyPA advisory database flattened per-PYSEC-id text records (v2 mirror @3373aa62, licence verified in mirror LICENSE); G7 round-2 4/5 pass 5/5 relevant 2026-10-05, dupcheck 11272/11272/0 CLEAN.

13.5 MB across 7,723 files. Added 2026-10-05.

People behind this corpus

Maintained by

Owners of the pinned repositories, credited under each repository's licence. They have not signed up here; their pages are attribution.

All contributors.

Rights

CC-BY-4.0. Redistribution permitted with attribution per the licence review. 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)

4.5/5 relevant. Graded .

Q: What root cause did the django advisory for CVE-2024-56374 give for the denial of service via IPv6 validation
expect: corpus-pysec-v2/records/PYSEC-2025-1.txt
top-5: corpus-pysec-v2/records/PYSEC-2025-1.txt / corpus-pysec-v2/records/PYSEC-2026-2049.txt:1 / corpus-pysec-v2/records/PYSEC-2026-250.txt / corpus-pysec-v2/records/PYSEC-2024-230.txt / corpus-pysec-v2/records/PYSEC-2015-21.txt:1
grade: pass
Q: Why did urllib3 2.0.5 ship a fix for CVE-2023-43804, and what did it prevent?
expect: corpus-pysec-v2/records/PYSEC-2023-192.txt
top-5: corpus-pysec-v2/records/PYSEC-2023-192.txt / corpus-pysec-v2/records/PYSEC-2026-142.txt / corpus-pysec-v2/records/PYSEC-2026-3411.txt:42 / corpus-pysec-v2/records/PYSEC-2026-1996.txt / corpus-pysec-v2/records/PYSEC-2026-3841.txt:78
grade: pass
Q: What happens to my python process if it deserializes a hostile PKCS7 blob with the cryptography library
expect: corpus-pysec-v2/records/PYSEC-2023-254.txt
top-5: corpus-pysec-v2/records/PYSEC-2023-254.txt / corpus-pysec-v2/records/PYSEC-2026-3553.txt:1 / corpus-pysec-v2/records/PYSEC-2026-1761.txt:41 / corpus-pysec-v2/records/PYSEC-2026-4135.txt:36 / corpus-pysec-v2/records/PYSEC-2026-1578.txt:83
grade: partial
Q: What did CVE-2026-25645 let a local attacker pre-plant in the temp folder used by pip-audit
expect: corpus-pysec-v2/records/PYSEC-2026-2275.txt
top-5: corpus-pysec-v2/records/PYSEC-2026-2275.txt / corpus-pysec-v2/records/PYSEC-2026-291.txt / corpus-pysec-v2/records/PYSEC-2026-2735.txt / corpus-pysec-v2/records/PYSEC-2026-331.txt / corpus-pysec-v2/records/PYSEC-2026-4118.txt
grade: pass
Q: What kind of malicious upload header triggered the regular expression denial of service in python-multipart
expect: corpus-pysec-v2/records/PYSEC-2024-38.txt
top-5: corpus-pysec-v2/records/PYSEC-2026-1850.txt / corpus-pysec-v2/records/PYSEC-2026-3039.txt / corpus-pysec-v2/records/PYSEC-2026-3039.txt / corpus-pysec-v2/records/PYSEC-2022-43178.txt:1 / corpus-pysec-v2/records/PYSEC-2025-94.txt
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.