Repository navigation
fix(security): allow Kùzu read-only introspection through the CALL allowlist - #1739
Merged
Merged
Conversation
…lowlist #1735 inverted the read-only guard to a CALL allowlist, but listed only Neo4j db.* procedures, so `cgc query "CALL show_tables() RETURN *"` stopped working on Kùzu, the default backend. Adds Kùzu/LadybugDB's read-only table functions; config-setting CALLs and FTS index create/drop stay rejected. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
Hi! 👋 Join our CodeGraphContext Discord channel to collaborate: https://discord.gg/dR4QY32uYQ |
Contributor
🔍 PR Code Graph Analysisfix(security): allow Kùzu read-only introspection through the CALL allowlist (#1739) 📊 Interactive VisualizationView the blast radius graph: PR Reviewer Dashboard 📦 ArtifactsThe graph JSON has been uploaded as a build artifact: Generated by CodeGraphContext using FalkorDB Lite |
Shashankss1205
commented
Oct 9, 2026
Shashankss1205
left a comment
Collaborator
Author
There was a problem hiding this comment.
Readonly Kuzu CALL allowlist tests pass. Parity CI shows the known #1730 51-edge Ladybug deficit. Do not bypass required checks on that basis.
This was referenced Oct 9, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #1735 (#1727).
#1735 correctly inverted the read-only Cypher guard to fail closed with a
CALLallowlist. But the allowlist only names Neo4jdb.*procedures. On Kùzu, the default embedded backend,cgc query "CALL show_tables() RETURN *"(the standard way to inspect a schema) is now rejected. The same goes fortable_infoandshow_connection.Change
Adds Kùzu/LadybugDB's read-only introspection table functions to the allowlist:
show_tables,table_info,show_connection,show_indexes,db_version.Still rejected, and pinned by tests:
CALL threads=4create_fts_indexanddrop_fts_indexTests
tests/unit/utils/test_cypher_readonly.pygains two tests. Together with the enforcement suites that makes 28 passed.cgc query "CALL show_tables() RETURN *"returns the table list again.🤖 Generated with Claude Code