bastyn-scan
Static analysis for AI and agent code: Python, TypeScript, JavaScript, MCP manifests and live servers, Skills, and dependency CVEs
What XERJ indexed
Snapshot
Only crates/bastyn-cli/tests, crates/bastyn-core/rules, crates/bastyn-core/src, crates/bastyn-core/tests, skills/bastyn-scan, tests/corpus, tests/skill_cases at commit 44d57f9699 (2026-10-13). main is 61 commits ahead.
Selected work

“Check skill reference files and reduce false alarms in skill checks (…”. 16 files, 2,419 lines in crates/bastyn-core, tests, crates/bastyn-cli.
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-15. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
ai-securityclidevsecopsllmllm-securitymcpmodel-context-protocolowasp
Example questions
- How does bastyn-scan implement ai-security?
- What does crates/bastyn-core do in bastyn-scan?
- Show the cli code in bastyn-scan.
Inside the indexed corpus
- 325 files, 3.2 MB in total, about 10.2 KB per file.
- The selected commit changed 16 of those files (4.9%).
- Languages by size: Rust 92.6%, Python 5.3%, TypeScript 1.1%, Shell 0.6%, JavaScript 0.4%.
- On GitHub since 2026-08-31, last push 2026-10-26, 133 commits on main.
- The pin is 61 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported Apache-2.0 for bastyn-labs/bastyn-scan on 2026-10-31, and the LICENSE file at commit 44d57f9699 was reviewed as Apache-2.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Claudio Teixeira (@claudiotx) has 1 selected repository on the hub.
Using XERJ with bastyn-scan
- Code search MCP for Claude Code: cite file:line, not grep bastyn-scan is tagged mcp on GitHub.
- What is an MCP memory server?
- Batch lookup CVE and GHSA IDs offline in one query bastyn-scan is tagged security on GitHub.
- RAG without a vector database: one hybrid index The hub files it under AI, prompts and agents.
The prompt
Paste it into your AI agent. It clones bastyn-labs/bastyn-scan at the pinned commit and indexes it on your machine.
Search the GitHub repository bastyn-labs/bastyn-scan with XERJ (https://hub.xerj.org/corpus/bastyn-labs--bastyn-scan). 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/bastyn-labs/bastyn-scan bastyn-scan && git -C bastyn-scan checkout 44d57f96994b911b09308abe208a00ab56379a80 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./bastyn-scan --url http://127.0.0.1:9200 --prefix bastyn-scan --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: Apache-2.0. Keep the copyright notice and credit the authors.
Related
Claudio TeixeiraAI, prompts and agents corporaowasp-cheatsheetsbandit-pluginsgarakActenon/actenon-scanaggrete/aggreteNephilex/nephilex
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.