ai-security-lab-public
AI/ML security portfolio: gateway hardening, RAG defenses, supply-chain integrity, and detections, with CI gates and a threat model
What XERJ indexed
Snapshot
The whole repository at commit 2968856407 (2026-10-11). main is 22 commits ahead.
Selected work

“score raw and guarded answers from one model call”. 8 files, 514 lines in ci-cd.
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-14. 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
ai-securitydetection-engineeringllm-securityragred-teamingsupply-chain-security
Example questions
- How does ai-security-lab-public implement ai-security?
- Where does ai-security-lab-public handle “score raw and guarded answers from one model call”?
- What does ci-cd do in ai-security-lab-public?
Inside the indexed corpus
- 101 files, 788.8 KB in total, about 7.8 KB per file.
- The selected commit changed 8 of those files (7.9%).
- Languages by size: TypeScript 77.2%, Python 18.2%, PLpgSQL 4.2%, Shell 0.5%.
- On GitHub since 2026-10-06, last push 2026-10-26, 54 commits on main.
- The pin is 22 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported GPL-3.0 for Phrozyn/ai-security-lab-public on 2026-10-31, and the LICENSE file at commit 2968856407 was reviewed as GPL-3.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
A Smith (@Phrozyn) has 1 selected repository on the hub.
Using XERJ with ai-security-lab-public
- RAG without a vector database: one hybrid index ai-security-lab-public is tagged rag on GitHub.
- Search API or a vector database for agent memory?
- Index a reference library for a coding agent
- ripgrep vs a code index for coding agents: 30 tasks
The prompt
Paste it into your AI agent. It clones Phrozyn/ai-security-lab-public at the pinned commit and indexes it on your machine.
Search the GitHub repository Phrozyn/ai-security-lab-public with XERJ (https://hub.xerj.org/corpus/phrozyn--ai-security-lab-public). 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/Phrozyn/ai-security-lab-public ai-security-lab-public && git -C ai-security-lab-public checkout 29688564074d8932b3169e8e9da4ab5eeaaa2244 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./ai-security-lab-public --url http://127.0.0.1:9200 --prefix ai-security-lab-public --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: GPL-3.0. Read it for the approach only, do not copy code.
Related
A SmithAI, prompts and agents corporalexbuildautorag12-factor-agentssandeepmothukuri/PromptSentinelartemasmith/skillsentinelGowthaman90/mcp-defense-bench
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.