Repository navigation
Conversation
… non-SQLite backends - validar_sql_segura: block the standalone OUTFILE/DUMPFILE keywords instead of matching the phrase "INTO\s+OUTFILE". MySQL accepts comments between the two words (INTO/**/OUTFILE, INTO /*!50000 OUTFILE*/, or a -- / # line comment followed by a newline), so whitespace-only matching let a SELECT that writes a file on the server slip past the read-only check. Verified against a real MySQL 8.4: all five variants parse as valid syntax. - nos_nodo_data_exploration: skip when the configured backend is not a local SQLite file (db_url set, or db_dialeto / db_path extension is not sqlite). The node only knows how to open db_path with sqlite3, and the CLI leaves db_path at a default .db file, so a Postgres/MySQL run would silently explore that unrelated file and feed the LLM statistics from the wrong database. - Regression tests for every bypass variant, for legitimate queries that must keep passing, and for each skip case of the exploration node.
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.
Corrige dois problemas que ficaram do suporte a Postgres/MySQL.
Correçao da blacklist e de pular o no de exploraçao