Middleware System #661
Funkmyster
started this conversation in
Ideas
Replies: 1 comment
-
love this idea! have you seen any good methods for doing so? as far as i know, its unclear how good existing solutions to this are... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A middleware system would be very beneficial to the Enterprise community.
The use cases would be similar to Web Application middleware, for example, Django, where CSRF cybersecurity issues can easily be handled by adding CsrfViewMiddleware to your settings.py
I am proposing PromptLeakDetectionMiddleware and PromptInjectionMiddleware.
Inspiration: https://docs.djangoproject.com/en/dev/topics/http/middleware/
Concerns:
https://learnprompting.org/docs/prompt_injection/leaking
https://learnprompting.org/docs/prompt_injection/injection
Beta Was this translation helpful? Give feedback.
All reactions