curral
Secure SQL gateway for DuckDB: authentication, Rego policies, row-level security and column masking
What XERJ indexed
Snapshot
The whole repository at commit ab915a6272 (2026-10-12). main is 16 commits ahead.
Selected work

“Serve Flight SQL for database IDEs”. 13 files, 2,404 lines in internal/server, internal/engine, internal/auth.
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-25. 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
duckdbgolangicebergoparbacregorow-level-securitysql
Example questions
- How does curral implement duckdb?
- Where does curral handle “Serve Flight SQL for database IDEs”?
- What does internal/server do in curral?
Inside the indexed corpus
- 115 files, 724.1 KB in total, about 6.3 KB per file.
- The selected commit changed 13 of those files (11.3%).
- Languages by size: Go 93.9%, PowerShell 2.3%, Shell 1.9%, Python 1.7%, Dockerfile 0.2%.
- On GitHub since 2026-10-07, last push 2026-10-30, 56 commits on main.
- The pin is 16 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 lucasapassos/curral on 2026-10-31, and the LICENSE file at commit ab915a6272 was reviewed as Apache-2.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Lucas Passos (@lucasapassos) has 1 selected repository on the hub.
Using XERJ with curral
- Search a SQL dump without restoring it curral is tagged sql on GitHub.
- Batch lookup CVE and GHSA IDs offline in one query The hub files it under Security and vulnerabilities.
- 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 lucasapassos/curral at the pinned commit and indexes it on your machine.
Search the GitHub repository lucasapassos/curral with XERJ (https://hub.xerj.org/corpus/lucasapassos--curral). 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/lucasapassos/curral curral && git -C curral checkout ab915a627231743a08d817391440013d3ecb9a2a 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./curral --url http://127.0.0.1:9200 --prefix curral --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
Lucas PassosSecurity and vulnerabilities corporakicskubescape-regolibrarygatekeeper-libraryapache/iceberg-goArkGravity/burrowapache/beam
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.