Skip to main content

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_prompt controllable 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.

Metadata

Release files for superred-optimizer-goal-passthrough 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for superred-optimizer-goal-passthrough 0.1.0
File Size Uploaded Provenance
superred_optimizer_goal_passthrough-0.1.0.tar.gz 5.1 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for superred-optimizer-goal-passthrough 0.1.0
File Interpreter ABI Platform
superred_optimizer_goal_passthrough-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.5 kB

Release files / superred_optimizer_goal_passthrough-0.1.0.tar.gz

Download URL superred_optimizer_goal_passthrough-0.1.0.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a978e22b6c11b15ade54ec2b2f96f2ed8c0ce44718c95de3bd4cbde35648a4f0
BLAKE2b-256 checksum
How to use checksums
ea4fe21f08511537ff5050072ef3b60d4269076b10414878355f2b85f4ca7741
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 log

Release files / superred_optimizer_goal_passthrough-0.1.0-py3-none-any.whl

Download URL superred_optimizer_goal_passthrough-0.1.0-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2faa7a9822a5dc14f5df4c00258f702d7d57acbe1e46ffeb7ef667cd89c580e8
BLAKE2b-256 checksum
How to use checksums
09d26d67aaa4c55bb22c213391f390d3d6857d058a4e0b96d0c30e9f976d91f3
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 log

Security for superred-optimizer-goal-passthrough 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.

Select from 2 files

Attestation for superred_optimizer_goal_passthrough-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 log

A 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page