langsec-ai/langsec
Security framework for LLM-generated SQL queries 🛡️
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.
Stars
32
Forks
1
Language
Python
License
Apache-2.0
Category
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.
Higher-rated alternatives
GreyDGL/PentestGPT
Automated Penetration Testing Agentic Framework Powered by Large Language Models
berylliumsec/nebula
AI-powered penetration testing assistant for automating recon, note-taking, and vulnerability analysis.
ipa-lab/hackingBuddyGPT
Helping Ethical Hackers use LLMs in 50 Lines of Code or less..
MorDavid/BruteForceAI
Advanced LLM-powered brute-force tool combining AI intelligence with automated login attacks
mbrg/power-pwn
An offensive/defense security toolset for discovery, recon and ethical assessment of AI Agents