LeakJS

LeakJS is a robust tool designed to scan JavaScript files and URLs for predefined patterns, aiding in the identification of potential leaks and vulnerabilities. Leveraging Go's goroutines, it ensures fast and efficient scanning. Users can define custom patterns in YAML files for tailored scans

A new way for AI to search for data
View on GitHub
4GitHub stars
67commits on main
1forks
v1.2.7latest release, 2026-10-21

Go 96%, Shell 3%, Makefile 1% · created 2025-03-21 · last push 2026-10-21

What XERJ indexed

Snapshot

26 files · 177.7 KB

The whole repository at commit 77ef8cf950 (2026-10-21). main is 3 commits ahead.

Selected work

Abu Hurayra
@the5orcerer

“New features introduced in newer version”. 12 files, 2,691 lines in internal/scanner, internal/patterns, internal/crawler.

Licence

The repository

GPL-3.0

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

The XERJ corpus

Approach only

The author agreed by email on 2026-10-21. 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

Example questions

The prompt

Paste it into your AI agent. It clones the5orcerer/LeakJS at the pinned commit and indexes it on your machine.

Search the GitHub repository the5orcerer/LeakJS with XERJ (https://hub.xerj.org/corpus/the5orcerer--leakjs).
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/the5orcerer/LeakJS LeakJS && git -C LeakJS checkout 77ef8cf950827d448f6921dbe65ee425cfbb0ced
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./LeakJS --url http://127.0.0.1:9200 --prefix leakjs --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

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