← all corpora

owasp-wstg

reference corpus · status live · domain SEC (Security and vulnerabilities) · lane A · refresh pinned · tags GLOBAL · APPSEC · SECURITY

What an agent uses it for

an agent planning a web test pass queries this for test categories, procedures and expected results

Use it
curl -fsSLO https://raw.githubusercontent.com/xerj-org/xerj/corpus-hub/tools/xerj-code/hub/owasp-wstg.json
xerj corpus add --from ./owasp-wstg.json
xerj corpus index owasp-wstg then xerj code owasp-wstg "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: "owasp-wstg", once the corpus is indexed on the node.

Sources and pins

sourcepinlicencesizereview note
wstg 8df290a38090CC-BY-SA-4.0 14.6 MB / 362 files OWASP Web Security Testing Guide v4.2 as cloned. G7 round-1: 5/5 pass 5/5 relevant. Evidence: backlog/g7-night2-2026-10-04-graded.json

14.6 MB across 362 files. Added 2026-10-04.

People behind this corpus

Upstream authors (1)

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-SA-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)

5.0/5 relevant. Graded .

Q: During database injection testing, what does the UNION technique accomplish?
expect: document/4-Web_Application_Security_Testing/07-Injection/05-SQL_Injection.md
top-5: wstg/document/4-Web_Application_Security_Testing/07-Injection/05-SQL_Injection.md / wstg/document/4-Web_Application_Security_Testing/07-Injection/05-SQL_Injection.md / wstg/document/4-Web_Application_Security_Testing/07-Injection/07-XML_Injection.md:1 / wstg/document/4-Web_Application_Security_Testing/07-Injection/05.5-MS_Access.md / wstg/document/4-Web_Application_Security_Testing/07-Injection/07-XML_Injection.md:144
grade: pass
Q: When testing tokens, what should happen if a payload section has been altered?
expect: document/4-Web_Application_Security_Testing/06-Session_Management/10-JSON_Web_Tokens.md
top-5: wstg/document/4-Web_Application_Security_Testing/06-Session_Management/07-Session_Timeout.md / wstg/document/4-Web_Application_Security_Testing/06-Session_Management/10-JSON_Web_Tokens.md / wstg/document/4-Web_Application_Security_Testing/06-Session_Management/01-Session_Management_Schema.md / wstg/document/4-Web_Application_Security_Testing/01-Information_Gathering/04-Attack_Surface_Identification.md / wstg/document/4-Web_Application_Security_Testing/07-Injection/07-XML_Injection.md:397
grade: pass
Q: When testing login throttling, after how many failed tries do applications commonly freeze an account?
expect: document/4-Web_Application_Security_Testing/04-Authentication/03-Weak_Lock_Out_Mechanism.md
top-5: wstg/document/4-Web_Application_Security_Testing/02-Configuration_and_Deployment_Management/15-Feature_Flag_Security_Bypass.md / wstg/document/4-Web_Application_Security_Testing/07-Injection/07-XML_Injection.md:1 / wstg/document/4-Web_Application_Security_Testing/04-Authentication/03-Weak_Lock_Out_Mechanism.md / wstg/document/4-Web_Application_Security_Testing/03-Identity_Management/04-Account_Enumeration_and_Guessable_User_Account.md / wstg/document/4-Web_Application_Security_Testing/07-Injection/07-XML_Injection.md:266
grade: pass
Q: What risks come from misconfigured permissions on cloud object stores like S3, per the testing guide?
expect: document/4-Web_Application_Security_Testing/02-Configuration_and_Deployment_Management/11-Cloud_Storage.md
top-5: wstg/document/4-Web_Application_Security_Testing/02-Configuration_and_Deployment_Management/09-File_Permissions.md / wstg/checklists/checklist.json / wstg/document/4-Web_Application_Security_Testing/02-Configuration_and_Deployment_Management/14-Other_HTTP_Security_Header_Misconfigurations.md / wstg/document/4-Web_Application_Security_Testing/02-Configuration_and_Deployment_Management/04-Review_Old_Backup_and_Unreferenced_Files_for_Sensitive_Information.md / wstg/document/4-Web_Application_Security_Testing/02-Configuration_and_Deployment_Management/11-Cloud_Storage.md
grade: pass
Q: How can a tester map out every operation and type a GraphQL endpoint exposes?
expect: document/4-Web_Application_Security_Testing/12-API_Testing/99-GraphQL.md
top-5: wstg/document/4-Web_Application_Security_Testing/12-API_Testing/99-GraphQL.md / wstg/document/4-Web_Application_Security_Testing/02-Configuration_and_Deployment_Management/02-Application_Platform_Configuration.md / wstg/document/4-Web_Application_Security_Testing/07-Injection/07-XML_Injection.md:397 / wstg/document/4-Web_Application_Security_Testing/07-Injection/07-XML_Injection.md:226 / wstg/document/4-Web_Application_Security_Testing/12-API_Testing/03-Excessive_Data_Exposure.md
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.