superred-optimizer-fitd
A FITD (Foot-in-the-Door) multi-turn jailbreak optimizer for the superred red-teaming framework.
Community port — not an official implementation. This module is an unofficial re-implementation of Foot-In-The-Door (Ding et al.) for superred. It is not affiliated with, endorsed by, or maintained by the original authors. See ASSUMPTIONS.md for every deliberate deviation from the paper and reference code.
FITD exploits commitment and consistency. It opens with a benign question, then walks the model up a ladder of gradually more harmful "bridge" prompts, at each step asking it to revise its earlier answers a little further. Because the model has already committed to helping, each small step is easy to accept — the foot is in the door.
Reference: Ding et al., "Foot-In-The-Door: A Multi-turn Jailbreak for LLMs,"
arXiv:2502.19820 (EMNLP 2025). Official
implementation:
Jinxiaolong1129/Foot-in-the-door-Jailbreak.
See ASSUMPTIONS.md for the full paper-to-code mapping and every
deliberate departure.
Install
pip install superred-optimizer-fitd
Usage
from fitd_optimizer import FITDOptimizer
# Defaults follow the official code (level=10, max_attempts=5, ...).
optimizer = FITDOptimizer()
# Replay a pre-generated official prompt ladder exactly.
optimizer = FITDOptimizer(prompt_sequence=[...])
Wire it into a Controller like any other superred optimizer — see the
framework's architecture overview and a
target's README (e.g. superred-target-chatbot) for a full Controller.run() example.
License
MIT for this port's code (see LICENSE). The upstream reference
implementation,
Jinxiaolong1129/Foot-in-the-door-Jailbreak,
carries no LICENSE file; its authors granted the superred maintainers permission,
in private correspondence, to redistribute the ported prompts and judge text
under MIT terms. That material
is credited in NOTICE, and the MIT text applied to it is reproduced
in
LICENSES/Foot-in-the-door-Jailbreak-MIT.txt.
Metadata
Release files for superred-optimizer-fitd 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_fitd-0.1.0.tar.gz | 27.5 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| superred_optimizer_fitd-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 47.6 kB
Release files / superred_optimizer_fitd-0.1.0.tar.gz
| Download URL | superred_optimizer_fitd-0.1.0.tar.gz |
|---|---|
| Size | 27.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5aa497160ca182d9a2cf9f1dce3872fb6a13882fcb16d47e5c329c11c8aa4390
|
|
BLAKE2b-256 checksum How to use checksums |
ea05db3ebd47e8265dcab4e8f37fc25b699c7bac976628ff2b3fd259a6fef7c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.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 Aug 19, 2026.
Transparency logRelease files / superred_optimizer_fitd-0.1.0-py3-none-any.whl
| Download URL | superred_optimizer_fitd-0.1.0-py3-none-any.whl |
|---|---|
| Size | 20.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c72028989f5eeeca0d9d1878528350c69dce66de59f887bfdfc05d9a357fbdaf
|
|
BLAKE2b-256 checksum How to use checksums |
c301c85bb47cd03bb5fa09c500f3b4e1be5614e6207d85b67bd1481e61b66c4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.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 Aug 19, 2026.
Transparency logSecurity for superred-optimizer-fitd 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_fitd-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 Aug 19, 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.