Skip to content

LangSec

Version License Stars

LangSec: A Security Framework for Text-to-SQL

A security framework for validating and securing LLM-generated SQL queries. LangSec helps prevent SQL injection, unauthorized access, and other security vulnerabilities when working with language models that generate SQL.

Text To SQL Abuse

Demonstration of making a malicious query using Vanna. LangSec helps prevent such attacks by validating generated queries against a security schema.

LangSec