genpark-sql-syntax-abstract-syntax-tree-validator-skill

mcp
Security Audit
Warn
Health Warn
  • No license — Repository has no license file
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 7 GitHub stars
Code Pass
  • Code scan — Scanned 6 files during light audit, no dangerous patterns found
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

In-memory recursive SQL query validator checking syntax safety and blocking dangerous DDL/DML injection commands

README.md

genpark-sql-syntax-abstract-syntax-tree-validator-skill

Read-only SQL grammar parser and AST injection guard preventing destructive SQL execution in database agents.

Architecture

flowchart TD
    SQL[Raw Generated SQL] --> Tokenizer[Lexical Tokenizer]
    Tokenizer --> DDLFilter{Dangerous Keywords DROP/TRUNCATE?}
    DDLFilter -->|Found| Reject[Reject Query Execution]
    DDLFilter -->|Clean| Parser[Verify SELECT & FROM Structure]
    Parser --> Approved[Approved Safe Read Query]

Features

  • Strict Read-Only Enforcement: Blocks DROP, TRUNCATE, ALTER, EXEC.
  • Zero Dependencies: 100% Python Standard Library.

Reviews (0)

No results found