bastyn-scan

Static analysis for AI and agent code: Python, TypeScript, JavaScript, MCP manifests and live servers, Skills, and dependency CVEs

A new way for AI to search for data
View on GitHub
2GitHub stars
133commits on main
1forks
v0.8.0latest release, 2026-10-17

Rust 92.6%, Python 5.3%, TypeScript 1.1%, Shell 0.6% · created 2026-08-31 · last push 2026-10-26

What XERJ indexed

Snapshot

325 files · 3.2 MB

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

Apache-2.0

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

Apache-2.0, with credit

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

Inside the indexed corpus

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

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

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.