We welcome contributions to make LLM security more robust!
git clone https://github.com/Crynge/PromptShield.git
cd PromptShield
# TypeScript
npm install
# Python
pip install -e .
# Rust (optional)
cd rust-analyzer && cargo build- Run tests:
npm testorpytest tests/ - Lint:
npm run lintorruff check src/ - Build:
npm run build
- Fork the repository
- Create a feature branch
- Make your changes with tests
- Submit a pull request
Add new patterns in src/core/patterns.ts following the existing format.
Please read and follow our Code of Conduct.