superred-optimizer-crescendo
Crescendo multi-turn jailbreak optimizer for the superred red-teaming framework.
Crescendo escalates a conversation from benign to harmful over several turns, backtracking and restoring history when the target refuses, until the conversation objective is achieved.
Install
pip install superred-optimizer-crescendo
Credits / upstream
This optimizer reimplements the Crescendo multi-turn jailbreak (Russinovich, Salem, Eldan; USENIX Security 2025 — https://crescendo-the-multiturn-jailbreak.github.io/).
The bundled attacker prompt variants
(src/crescendo_optimizer/prompts/variant_1..5.py) and the task-achieved
scoring prompt (evaluator.py) are taken from Microsoft PyRIT
(https://github.com/microsoft/PyRIT), MIT licensed, Copyright (c) Microsoft
Corporation. See LICENSES/NOTICE.md for per-file attribution.
Our optimizer harness, evaluator logic, capability-aware extensions, and
deterministic-replay mechanism are original superred code, MIT licensed
(see LICENSE).
Metadata
Release files for superred-optimizer-crescendo 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| superred_optimizer_crescendo-0.1.0.tar.gz | 47.1 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| superred_optimizer_crescendo-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 82.4 kB
Release files / superred_optimizer_crescendo-0.1.0.tar.gz
| Download URL | superred_optimizer_crescendo-0.1.0.tar.gz |
|---|---|
| Size | 47.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6572722afbe4fe5dafdee4f229f2199c39d16d8b1888584155ba33fc68f8bd79
|
|
BLAKE2b-256 checksum How to use checksums |
473fded3969039278084a004f4d8446b217d3ff3b89996523de1e0df4c2befb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 22, 2026.
Transparency logRelease files / superred_optimizer_crescendo-0.1.0-py3-none-any.whl
| Download URL | superred_optimizer_crescendo-0.1.0-py3-none-any.whl |
|---|---|
| Size | 35.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7fb5cd3b9ffea11b4219374a81c2f4b1af301f13a0370813c31068260b03debc
|
|
BLAKE2b-256 checksum How to use checksums |
c630aeecaf469697d225af8856aa4f111d557e7c2acf97bbc8e82c9ee8a45b37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 22, 2026.
Transparency logSecurity for superred-optimizer-crescendo 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for superred_optimizer_crescendo-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 22, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.