glsec
Static security scanner and linter for GitLab CI. Finds.gitlab-ci.yml misconfigurations, supply-chain risks, and leaked secrets. Offline, SARIF output, OWASP CICD-SEC and CWE mappings
What XERJ indexed
Snapshot
Only internal/baseline, internal/output at commit c18a09f17b (2026-10-29). main is 119 commits ahead.
Selected work

“use relative paths in machine-readable reports”. 7 files, 269 lines in internal/output, internal/baseline.
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-30. 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
devopsdevsecopsgitlabgitlab-cigolintersecurityci-cd-security
Example questions
- How does glsec implement devops?
- Where does glsec handle “use relative paths in machine-readable reports”?
- What does internal/output do in glsec?
Inside the indexed corpus
- 605 files, 3.4 MB in total, about 5.8 KB per file.
- The selected commit changed 7 of those files (1.2%).
- Languages by size: Go 99.5%, Shell 0.4%, Dockerfile 0.1%, Makefile 0%.
- On GitHub since 2026-05-14, last push 2026-10-31, 662 commits on main.
- The pin is 119 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 glsec/glsec on 2026-10-31, and the LICENSE file at commit c18a09f17b was reviewed as Apache-2.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Ali Moharrami (@AliMoharramy) has 1 selected repository on the hub.
Using XERJ with glsec
- Find every place a config key is set in a repo glsec is tagged devops on GitHub.
- Batch lookup CVE and GHSA IDs offline in one query glsec is tagged security on GitHub.
- How do I run syntax-aware code search? glsec is tagged linter on GitHub.
- XERJ vs ast-grep: syntax search and an index
The prompt
Paste it into your AI agent. It clones glsec/glsec at the pinned commit and indexes it on your machine.
Search the GitHub repository glsec/glsec with XERJ (https://hub.xerj.org/corpus/glsec--glsec). 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/glsec/glsec glsec && git -C glsec checkout c18a09f17b2cbd40c172d4c56ed23108c440ee81 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./glsec --url http://127.0.0.1:9200 --prefix glsec --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
Ali MoharramiSecurity and vulnerabilities corporabandit-pluginsgosec-rulescaddybastyn-labs/bastyn-scango-gitea/giteaFortressCommunity/FortressWAF
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.