3 ms·
I found this file full of regular expressions: https://github.com/NineSunsInc/mighty-security/blob/28666b3699f2b328c91c30eeb3995e85208d37c3/src/analyzers/compre
by simonw 1y ago
I found this file full of regular expressions: https://github.com/NineSunsInc/mighty-security/blob/28666b3699f2b328c91c30eeb3995e85208d37c3/src/analyzers/comprehensive/patterns.py https://github.com/NineSunsInc/mighty-security/blob/28666b36...
And this with prompts: https://github.com/NineSunsInc/mighty-security/blob/89e4b31982b7f06ab547816219213854da4b36de/src/analyzers/llm/prompts.py https://github.com/NineSunsInc/mighty-security/blob/89e4b319...
Are you running any other tests that I missed?
- jodoking 1y agoYes we are using regex as seems like the industry practice. I have DM'd you on X as masterfung btw to chat further.
- alienbaby 1y agoHow do you plan on maintaining your list of regex for catching prompt injections?
- jodoking 1y agogreat question. the way we are thinking about it is keeping a list of endpoints that can aid in getting the latest vulnerabilities, keywords, and patterns to detect. we don't know when that is released but that is on our roadmap for sure.