langsec

0

Security framework for LLM-generated SQL queries 🛡️

Security

sql
security
llm
ai

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

Installation

pip install langsec

Documentation

For a detailed guide on how to use LangSec, please refer to the documentation.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

APACHE 2.0 © 2024 LangSec

Support

For issues and feature requests, please create an issue on GitHub or contact dev@lang-sec.com.