LAION-AI / LAION-AI/Open-Assistant
External Module to firewall "prompt-injection" (jailbreaks). "Prompt-engineering" shield
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 37.4k
- Forks
- 3.3k
- PR merge metrics
- No merged PRs in 30d
Description
There are many cases where LLM could go wild due to user's prompts, and there are a lot of some specific cases where the behavior is VERY unwanted and can cause harm/make useless.
As we're going to make OA wide-spread usage, I'm thinking of adding such things as "detection" or "understanding" if user's prompt trying to make bypassing initial/system prompt, so OA won't do extreme unexpected behavior in such cases (while being run on specific tasks):
It should be not turned on by default (I believe), but would be nice if devs/users had an option to setting this thing up.

Related to the theme:
https://github.com/Cranot/chatbot-injections-exploits
https://www.reddit.com/r/ChatGPT/?f=flair_name%3A%22Jailbreak%22
Maybe we can train an additional model (possibly not LLM) to detect/moderate "prompt-injection".
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by reviewing the linked prompt-injection resources and defining the optional detector or moderator's scope, configuration, and integration point; done requires an agreed implementation plan and clear behavior for bypass attempts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- machine-learning, python
- Domain
- ai, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100