The document presents a hybrid framework aimed at detecting SQL injection attacks in web applications, focusing on threats posed by inside attackers with administrative access. The proposed method integrates SQL query matching techniques with a blockchain framework to enhance security measures against such vulnerabilities. Through computational experiments and validation, the framework demonstrates effective detection and mitigation of SQL injection risks while addressing shortcomings in traditional approaches.