goal_passthrough
The unattacked direct-prompt baseline optimizer for superred.
GoalPassthroughOptimizer performs no attack. On each run it injects the
adversarial Goal.description verbatim, exactly once, into the first
user-facing controllable, then ends the run. It is the zero-attack
reference point in an attacker sweep: it answers "what does the target do
when simply asked the harmful question, with no jailbreak?"
Behaviour
| Event | Response |
|---|---|
RunStartEvent |
acknowledge; arm the single injection for this run |
first ControllablePreCallEvent (non-system_prompt) |
ControllableInjection(value=goal.description) |
subsequent ControllablePreCallEvent |
ControllableNoInjection (single-turn) |
ControllablePostCallEvent |
ControllableNoInjection (never edits responses) |
RunEndEvent |
RunEndResponse(done=True) (one attempt per task) |
The system_prompt controllable is always declined, so a benchmark
Task that pre-sets the system prompt via configure_target keeps it
intact. The baseline only fills the user-message channel.
Properties
- No LLM use. It never calls the
LLMClient, so it spends none of the per-task budget and is invariant to the attacker-model dimension. - Scope-robust. It locks onto the first non-
system_promptcontrollable it sees, so it works against any chatbot-style target regardless of how the user-message controllable is named. - Zero config. Constructs with no arguments, like every superred optimizer.
Install
pip install -e optimizers/goal_passthrough
from goal_passthrough_optimizer import GoalPassthroughOptimizer
Credits / upstream
This module is original work of the superred project, released under the MIT
License (see LICENSE). It contains no third-party code, no bundled datasets,
and does not reimplement or port any external paper method. Its only
dependency is the superred framework itself.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file superred_optimizer_goal_passthrough-0.1.0.tar.gz.
File metadata
- Download URL: superred_optimizer_goal_passthrough-0.1.0.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a978e22b6c11b15ade54ec2b2f96f2ed8c0ce44718c95de3bd4cbde35648a4f0
|
|
| MD5 |
db28ea98f75f79d2be1389e9a7dd81b7
|
|
| BLAKE2b-256 |
ea4fe21f08511537ff5050072ef3b60d4269076b10414878355f2b85f4ca7741
|
Provenance
The following attestation bundles were made for superred_optimizer_goal_passthrough-0.1.0.tar.gz:
Publisher:
release.yml on RoldSI/superred-modules
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
superred_optimizer_goal_passthrough-0.1.0.tar.gz -
Subject digest:
a978e22b6c11b15ade54ec2b2f96f2ed8c0ce44718c95de3bd4cbde35648a4f0 - Sigstore transparency entry: 2219225081
- Sigstore integration time:
-
Permalink:
RoldSI/superred-modules@44b3a2514b4d75fe7ebc3f015aa13ff3b6e8380c -
Branch / Tag:
refs/tags/superred-optimizer-goal-passthrough-v0.1.0 - Owner: https://github.com/RoldSI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@44b3a2514b4d75fe7ebc3f015aa13ff3b6e8380c -
Trigger Event:
push
-
Statement type:
File details
Details for the file superred_optimizer_goal_passthrough-0.1.0-py3-none-any.whl.
File metadata
- Download URL: superred_optimizer_goal_passthrough-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2faa7a9822a5dc14f5df4c00258f702d7d57acbe1e46ffeb7ef667cd89c580e8
|
|
| MD5 |
a94b6fc07597e8be8061eb43889c68f0
|
|
| BLAKE2b-256 |
09d26d67aaa4c55bb22c213391f390d3d6857d058a4e0b96d0c30e9f976d91f3
|
Provenance
The following attestation bundles were made for superred_optimizer_goal_passthrough-0.1.0-py3-none-any.whl:
Publisher:
release.yml on RoldSI/superred-modules
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
superred_optimizer_goal_passthrough-0.1.0-py3-none-any.whl -
Subject digest:
2faa7a9822a5dc14f5df4c00258f702d7d57acbe1e46ffeb7ef667cd89c580e8 - Sigstore transparency entry: 2219225128
- Sigstore integration time:
-
Permalink:
RoldSI/superred-modules@44b3a2514b4d75fe7ebc3f015aa13ff3b6e8380c -
Branch / Tag:
refs/tags/superred-optimizer-goal-passthrough-v0.1.0 - Owner: https://github.com/RoldSI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@44b3a2514b4d75fe7ebc3f015aa13ff3b6e8380c -
Trigger Event:
push
-
Statement type: