echo-chamber
Code and examples for Echo Chamber LLM Jailbreak.
File Explorer
- __init__.py
- base.py
- google_client.py
- ollama_client.py
- openai_client.py
- __init__.py
- attack.py
- crescendo.py
- dan.py
- evaluation.py
- evaluator.py
- logger.py
- timezone.py
- attack_and_evaluation.py
- basci_attack.py
- hate-speech_jailbreak_success_rates.png
- illegal-activities_jailbreak_success_rates.png
- misinformation_jailbreak_success_rates.png
- self-harm_jailbreak_success_rates.png
- sexism_jailbreak_success_rates.png
- total_jailbreak_success_rates.png
- violence_jailbreak_success_rates.png
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- evaluation_run.json
- summary.json
- calculate_experiment_metrics_by_category.py
- calculate_experiment_total_metrics.py
- run_experiment.py
- CorpHack.json
- GovHack.json
- Virus.json
- IdTheft.json
- IdTheft2.json
- Manipulation.json
- ChaosNews.json
- RacialNews.json
- Racism.json
- Bomb.json
- ChildGuns.json
- Weapon.json
- CorpHack.json
- GovHack.json
- Virus.json
- IdTheft.json
- IdTheft2.json
- Manipulation.json
- ChaosNews.json
- RacialNews.json
- Racism.json
- Bomb.json
- ChildGuns.json
- Weapon.json
- CorpHack.json
- GovHack.json
- Virus.json
- IdTheft.json
- IdTheft2.json
- Manipulation.json
- ChaosNews.json
- RacialNews.json
- Racism.json
- Bomb.json
- ChildGuns.json
- Weapon.json
- CorpHack.json
- GovHack.json
- Virus.json
- IdTheft.json
- IdTheft2.json
- Manipulation.json
- ChaosNews.json
- RacialNews.json
- Racism.json
- Bomb.json
- ChildGuns.json
- Weapon.json
- CorpHack.json
- GovHack.json
- Virus.json
- IdTheft.json
- IdTheft2.json
- Manipulation.json
- ChaosNews.json
- RacialNews.json
- Racism.json
- Bomb.json
- ChildGuns.json
- Weapon.json
- CorpHack.json
- GovHack.json
- Virus.json
- IdTheft.json
- IdTheft2.json
- Manipulation.json
- ChaosNews.json
- RacialNews.json
- Racism.json
- Bomb.json
- ChildGuns.json
- Weapon.json
- CorpHack.json
- GovHack.json
- Virus.json
- IdTheft.json
- IdTheft2.json
- Manipulation.json
- ChaosNews.json
- RacialNews.json
- Racism.json
- Bomb.json
- ChildGuns.json
- Weapon.json
- adv-bench.json
- run_experiment.py
- CorpHack.json
- GovHack.json
- Virus.json
- IdTheft.json
- IdTheft2.json
- Manipulation.json
- ChaosNews.json
- RacialNews.json
- Racism.json
- Bomb.json
- ChildGuns.json
- Weapon.json
- CorpHack.json
- GovHack.json
- Virus.json
- IdTheft.json
- IdTheft2.json
- Manipulation.json
- ChaosNews.json
- RacialNews.json
- Racism.json
- Bomb.json
- ChildGuns.json
- Weapon.json
- CorpHack.json
- GovHack.json
- Virus.json
- IdTheft.json
- IdTheft2.json
- Manipulation.json
- ChaosNews.json
- RacialNews.json
- Racism.json
- Bomb.json
- ChildGuns.json
- Weapon.json
- CorpHack.json
- GovHack.json
- Virus.json
- IdTheft.json
- IdTheft2.json
- Manipulation.json
- ChaosNews.json
- RacialNews.json
- Racism.json
- Bomb.json
- ChildGuns.json
- Weapon.json
- CorpHack.json
- GovHack.json
- Virus.json
- IdTheft.json
- IdTheft2.json
- Manipulation.json
- ChaosNews.json
- RacialNews.json
- Racism.json
- Bomb.json
- ChildGuns.json
- Weapon.json
- CorpHack.json
- GovHack.json
- Virus.json
- IdTheft.json
- IdTheft2.json
- Manipulation.json
- ChaosNews.json
- RacialNews.json
- Racism.json
- Bomb.json
- ChildGuns.json
- Weapon.json
- CorpHack.json
- GovHack.json
- Virus.json
- IdTheft.json
- IdTheft2.json
- Manipulation.json
- ChaosNews.json
- RacialNews.json
- Racism.json
- Bomb.json
- ChildGuns.json
- Weapon.json
- adv-bench.json
- explore.ipynb
- CorpHack.json
- GovHack.json
- Virus.json
- IdTheft.json
- IdTheft2.json
- Manipulation.json
- ChaosNews.json
- RacialNews.json
- Racism.json
- Bomb.json
- ChildGuns.json
- Weapon.json
- CorpHack.json
- GovHack.json
- Virus.json
- IdTheft.json
- IdTheft2.json
- Manipulation.json
- ChaosNews.json
- RacialNews.json
- Racism.json
- Bomb.json
- ChildGuns.json
- Weapon.json
- CorpHack.json
- Virus.json
- IdTheft.json
- IdTheft2.json
- Manipulation.json
- ChaosNews.json
- RacialNews.json
- Racism.json
- Bomb.json
- ChildGuns.json
- Weapon.json
- CorpHack.json
- GovHack.json
- Virus.json
- IdTheft.json
- IdTheft2.json
- Manipulation.json
- ChaosNews.json
- RacialNews.json
- Racism.json
- Bomb.json
- ChildGuns.json
- Weapon.json
- CorpHack.json
- GovHack.json
- Virus.json
- IdTheft.json
- IdTheft2.json
- Manipulation.json
- ChaosNews.json
- RacialNews.json
- Racism.json
- Bomb.json
- ChildGuns.json
- Weapon.json
- CorpHack.json
- GovHack.json
- Virus.json
- IdTheft.json
- IdTheft2.json
- Manipulation.json
- ChaosNews.json
- RacialNews.json
- Racism.json
- Bomb.json
- ChildGuns.json
- Weapon.json
- CorpHack.json
- GovHack.json
- Virus.json
- IdTheft.json
- IdTheft2.json
- Manipulation.json
- ChaosNews.json
- RacialNews.json
- Racism.json
- Bomb.json
- ChildGuns.json
- Weapon.json
- adv-bench.json
- explore.ipynb
- run_experiment.py
- explore.ipynb
- raw_data.json
- sr_by_category.json
- sr_by_category_model.json
- sr_by_model.json
- sr_by_objective.json
- sr_by_technique.json
- echo-chamber-example.svg
- deepseek-r1-0528.md
- gemini-2.5-pro.md
- grok-v4.md
- qwen3-32B.md
- deepseek-r1-0528.md
- gemini-2.5-pro.md
- gpt-4.1.md
- grok-v4.md
- qwen3-32B.md
- deepseek-r1-0528.md
- gemini-2.5-pro.md
- gpt-4.1.md
- grok-v4.md
- qwen3-32B.md
- README.md
- .gitignore
- .pre-commit-config.yaml
- .python-version
- LICENSE
- pyproject.toml
- README.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
complete
View Details ▼
complete
Get and set argument autocompletion rules of shell commands in Bash.
The specified completions will be invoked when `<Tab>` is pressed in Bash.
See also: `compgen`, `compopt`.
complete -F {{function}} {{command}}
Set arguments of a command to autocomplete through a function (completion response is sent in `$COMPREPLY` variable):
complete -C {{autocomplete_command}} {{command}}
Set arguments of a command to autocomplete through another command (`$1` is the command, `$2` is the argument the cursor is on, and `$3` is the argument preceding the cursor):
complete -b {{command}}
Set arguments of a command to autocomplete to shell builtins:
pass
View Details ▼
pass
Store and read passwords or other sensitive data.
All data is GPG-encrypted, and managed with a Git repository.
pass init {{gpg_id_1 gpg_id_2 ...}}
Initialize (or re-encrypt) the storage using one or more GPG IDs:
pass insert {{[-m|--multiline]}} {{path/to/data}}
Save a new password and additional information (press `<Ctrl d>` on a new line to complete):
pass edit {{path/to/data}}
Edit an entry:
pre-commit
View Details ▼
pre-commit
Create Git hooks that run before commits.
pre-commit install
Install pre-commit into your Git hooks:
pre-commit run
Run pre-commit hooks on all staged files:
pre-commit run --all-files
Run pre-commit hooks on all files, staged or unstaged:
ruff check
View Details ▼
ruff check
An extremely fast Python linter. `check` is the default command - it can be omitted everywhere.
If no files or directories are specified, the current working directory is used by default.
ruff check {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}
Run the linter on the given files or directories:
ruff check --fix
Apply the suggested fixes, modifying the files in-place:
ruff check --watch
Run the linter and re-lint on change:
ruff format
View Details ▼
ruff format
An extremely fast Python code formatter.
If no files or directories are specified, the current working directory is used by default.
ruff format {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}
Format given files or directories in-place:
ruff format --check
Print which files would have been modified and return a non-zero exit code if there are files to reformat, and zero otherwise:
ruff format --diff
Print what changes would be made without modifying the files:
uv pip
View Details ▼
uv pip
Provides pip-like commands for installing, uninstalling, and managing packages.
uv pip install {{package}}
Install a package:
uv pip install {{[-r|--requirements]}} {{requirements.txt}}
Install packages from a requirements file:
uv pip install {{package==1.2.3}}
Install a package with a specific version:
uv sync
View Details ▼
uv sync
Update the project's environment to match the lockfile.
uv sync
Sync the project environment with the lockfile:
uv sync --all-extras
Sync and include all optional dependencies:
uv sync --extra {{extra_name}}
Sync with specific optional dependencies:
