Home› Projects› PromptInject
PromptInject
Python

PromptInject

PromptInject is a framework that assembles prompts in a modular fashion to provide a quantitative analysis of the robustness of LLMs to adversarial prompt attacks. 🏆 Best Paper Awards @ NeurIPS ML Safety Workshop 2022

by agencyenterprise · GitHub
Stars
Forks
License
Created
Last commit
Language
adversarial-attacksagiagi-alignmentMITPython
View on GitHub
In plain words

Analyze how language models respond to tricky prompts to improve their reliability and safety.

You maintain this project?

Claim its page: indexed whatever its rank, translated into six languages, and enriched with what you write yourself.

Claim this page →
PromptInject — GitHub preview card
📈 Star history
528509
2026-07-202026-11-22
📈 Track PromptInject

Get an email alert on its next release or when it starts trending — never miss the moment.

Free · no card · unsubscribe anytime
Get email alerts →
📄 About

PromptInject is a framework that assembles prompts in a modular fashion to provide a quantitative analysis of the robustness of LLMs to adversarial prompt attacks. 🏆 Best Paper Awards @ NeurIPS ML Safety Workshop 2022

PromptInject has 528 stars on GitHub. It has been forked 58 times. PromptInject is written mainly in Python. It has been in active development since 2022. PromptInject is available under the MIT license. Its main topics are adversarial-attacks, agi, agi-alignment, ai-alignment.

❓ Frequently asked questions

What is PromptInject?

PromptInject is a framework that assembles prompts in a modular fashion to provide a quantitative analysis of the robustness of LLMs to adversarial prompt attacks. 🏆 Best Paper Awards @ NeurIPS ML Safety Workshop 2022

Is PromptInject open source?

PromptInject is an open-source project. It is released under the MIT license.

Is PromptInject free?

Yes. PromptInject is free and open source — you can use, modify and self-host it.

What license does PromptInject use?

PromptInject is available under the MIT license.

What language is PromptInject written in?

PromptInject is written mainly in Python.

🏅 Maintainer of this project?
olud.ai badge — PromptInject

Add this live badge to your README — your GitHub stars and directory rank, refreshed daily.

[![olud.ai](https://olud.ai/badge.php?tool=agencyenterprise-promptinject)](https://olud.ai/project/agencyenterprise-promptinject.html)
More badge options →
🧬 Shares DNA with🧬 View the DNA map →

Measured from GitHub topics shared by both projects, weighted by how rare each topic is.