ossec-hids
OSSEC is an Open Source Host-based Intrusion Detection System that performs log analysis, file integrity checking, policy monitoring, rootkit detection, real-time alerting and active response
What XERJ indexed
Snapshot
Only src/os_dbd at commit 988d8938a4 (2026-10-08). main is 159 commits ahead.
Selected work

“Address review findings for the ossec-dbd agent catalog.”. 8 files, 220 lines in src/os_dbd.
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-13. 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
hidssecuritypci-dssnist800-53osseccomplianceintrusion-detectionfim
Example questions
- How does ossec-hids implement hids?
- Where does ossec-hids handle “Address review findings for the ossec-dbd agent catalog.”?
- What does src/os_dbd do in ossec-hids?
Inside the indexed corpus
- 1,609 files, 11.9 MB in total, about 7.6 KB per file.
- The selected commit changed 8 of those files (0.5%).
- Languages by size: C 87.8%, Shell 6.6%, Makefile 2.6%, Perl 2%, NSIS 0.5%.
- On GitHub since 2013-09-17, last push 2026-10-31, 6,473 commits on main.
- The pin is 159 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported GPL-2.0 for ossec/ossec-hids on 2026-10-31, and the LICENSE file at commit 988d8938a4 was reviewed as GPL-2.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Scott R. Shinn (@atomicturtle) has 1 selected repository on the hub.
Using XERJ with ossec-hids
- Batch lookup CVE and GHSA IDs offline in one query ossec-hids is tagged security on GitHub.
- Index a reference library for a coding agent
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
The prompt
Paste it into your AI agent. It clones ossec/ossec-hids at the pinned commit and indexes it on your machine.
Search the GitHub repository ossec/ossec-hids with XERJ (https://hub.xerj.org/corpus/ossec--ossec-hids). 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/ossec/ossec-hids ossec-hids && git -C ossec-hids checkout 988d8938a49f365f77ef686bdc4c1e73e2d406b4 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./ossec-hids --url http://127.0.0.1:9200 --prefix ossec-hids --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-2.0. Read it for the approach only, do not copy code.
Related
Scott R. ShinnLaw and regulation corporascap-security-guidecomplianceascode-contentkubescape-regolibrarykyverno/kyvernoProblem99-io/kodebluethekiran/nero
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.