wrongsecrets
Vulnerable app with examples showing how to not use secrets
What XERJ indexed
Snapshot
Only .devcontainer, src/main/java/org/owasp/wrongsecrets/challenges/docker, src/main/resources, src/test/java/org/owasp/wrongsecrets/challenges/docker at commit bcc5724e7d (2026-09-22). master is 275 commits ahead.
Selected work

“Add Challenge 73: Expose Secret in Agent Instruction Files”. 6 files, 195 lines in src/test, src/main, the project root.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-20. Agents read it for how it works, not to copy it. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: approach only
hashicorp-vaultjavakubernetessecretssecrets-managementdevsecopssecurityaws
Example questions
- How does wrongsecrets implement hashicorp-vault?
- Where does wrongsecrets handle “Add Challenge 73: Expose Secret in Agent Instruction Files”?
- What does src/test do in wrongsecrets?
Inside the indexed corpus
- Languages by size: HTML 50.4%, Java 30.2%, Shell 4%, JavaScript 3.8%, Vim Snippet 3.7%.
- On GitHub since 2020-08-19, last push 2026-10-30, 8,037 commits on master.
- The pin is 275 commits behind master; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported AGPL-3.0 for OWASP/wrongsecrets on 2026-10-31, and the LICENSE file at commit bcc5724e7d was reviewed as AGPL-3.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Anirban Ghosh (@kekubhai) has 1 selected repository on the hub.
Using XERJ with wrongsecrets
- Search text across Kubernetes pod logs from many pods wrongsecrets is tagged kubernetes on GitHub.
- Find every place a config key is set in a repo
- Batch lookup CVE and GHSA IDs offline in one query wrongsecrets is tagged security on GitHub.
- ripgrep vs a code index for coding agents: 30 tasks
The prompt
Paste it into your AI agent. It clones OWASP/wrongsecrets at the pinned commit and indexes it on your machine.
Search the GitHub repository OWASP/wrongsecrets with XERJ (https://hub.xerj.org/corpus/owasp--wrongsecrets). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/OWASP/wrongsecrets wrongsecrets && git -C wrongsecrets checkout bcc5724e7ddcc7aa641103e8451e38fcf09f4fde 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./wrongsecrets --url http://127.0.0.1:9200 --prefix wrongsecrets --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: AGPL-3.0. Read it for the approach only, do not copy code.
Related
Anirban GhoshSecurity and vulnerabilities corporacheckovcloud-custodiankeywhizopencost/opencostInditexTech/kumosshalyx-dev/halyx
Stats: GitHub API, fetched 2026-10-31. Selected work and consent: the XERJ registry.