langsec-ai/langsec

Security framework for LLM-generated SQL queries 🛡️

36
/ 100
Emerging

This framework helps developers integrate large language models (LLMs) that generate SQL queries into their applications safely. It takes an LLM-generated SQL query and a security schema, then validates the query to ensure it doesn't pose risks like SQL injection or unauthorized data access. This tool is for software developers and data engineers building applications that use AI to interact with databases.

No commits in the last 6 months. Available on PyPI.

Use this if you are building an application where an LLM generates SQL queries and you need to ensure those queries are secure before execution.

Not ideal if you are manually writing SQL queries or if your application does not involve LLMs generating database interactions.

application-security database-security LLM-integration SQL-query-validation AI-application-development
Stale 6m
Maintenance 0 / 25
Adoption 7 / 25
Maturity 25 / 25
Community 4 / 25

How are scores calculated?

Stars

32

Forks

1

Language

Python

License

Apache-2.0

Last pushed

Nov 16, 2024

Commits (30d)

0

Dependencies

3

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/langsec-ai/langsec"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.