Welcome to opensentry Discussions! #6
sharma-open-source
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
🚀 Introducing OpenSentry – An Open-Source Security Layer for LLM Applications
Hi everyone! 👋
I've been working on an open-source project called OpenSentry, and I'd love to get feedback from the community.
The idea came from a simple observation.
For traditional software, we've spent years adopting security best practices:
But with AI applications, many architectures still look like this:
Raw user input is forwarded directly to the model without any validation or inspection.
As prompt injection attacks, jailbreaks, hidden instructions, and RAG-based attacks become more common, I felt there was a missing security layer.
That led me to build OpenSentry.
What is OpenSentry?
OpenSentry is an open-source TypeScript library that sits between users and an LLM.
Its goal is to evaluate prompts before they reach the model.
The architecture is intentionally layered:
The philosophy is to keep the common path extremely fast while allowing deeper semantic analysis only when it's actually needed.
Current Features
Benchmarks
Current benchmark highlights:
The goal isn't to send every prompt to another LLM. Instead, only ambiguous or high-risk prompts are escalated to the remote tier.
Why I'm Posting
I'm not looking for stars as much as I'm looking for honest technical feedback.
Some questions I'd love opinions on:
Constructive criticism is more than welcome.
GitHub Repository:
https://github.com/sharma-open-source/opensentry
Thanks for taking the time to read this—I appreciate any feedback, suggestions, or ideas for improving the project.
All reactions