Skip to content
Back to skills

Bounded Recovery Harness

ASecurity

Run auditable soft-mode visual jailbreak proxy recovery using generated skills and source-boundary logs.

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
toolspythonbashapi

Works with

  • api

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill bounded_recovery_harness --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Bounded Recovery Harness?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Bounded Recovery Harness
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-bounded-recovery-harness/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-bounded-recovery-harness)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
name: bounded_recovery_harness
description: Run auditable soft-mode visual jailbreak proxy recovery using generated skills and source-boundary logs.
---

# Bounded Recovery Harness

Use this skill when full visual-language-model attack recovery is blocked but soft-mode recovery allows a declared, executable, mechanism-faithful proxy. The harness must not read the original source repository during recovery; it uses only the paper artifacts, module plan, generated skills, runtime handoff, and safe proxy fixtures.

## Inputs

- `attempt_dir` containing `module_plan.json` and `environment/runtime_handoff.json`.
- `generated_skills_root` containing `safe_corpus_protocol`, `visual_pgd_prompt_optimizer`, and `jailbreak_proxy_evaluator`.
- Optional safe proxy parameters such as vector size, steps, and threshold.

## Outputs

- `recovery/recovery_result.json`.
- `recovery/logs/training_trace.json`.
- `recovery/logs/generated_data_item.json`.
- `recovery/logs/generated_skill_invocations.json`.
- `recovery/logs/experiment_command_log.json`.
- `recovery/source_manifest.json`.

## Workflow

1. Read the recovery target from `module_plan.json` and the runtime decision from `environment/runtime_handoff.json`.
2. Declare proxy recovery if full VLM packages, weights, or toxicity APIs are not available.
3. Use the safe corpus protocol to build a non-overlapping train/held-out proxy item.
4. Use the visual PGD optimizer to optimize a tiny continuous visual prompt.
5. Use the proxy evaluator to compute held-out `obedience_delta`.
6. Write mechanism checks showing loss decrease, prompt change, optimizer execution, source isolation, and threshold success.
7. Save all artifacts before running the Distiller recovery validator.

## Validation

Run:

```bash
python scripts/run_proxy_recovery.py --attempt-dir <attempt_dir> --skills-root <generated_skills_root>
```

Then run the bundled `validate_recovery_experiment.py` on the attempt directory.

## Limitations

This harness is a soft-mode proxy. It does not claim the original paper's harmful-content metrics or full VLM behavior. It verifies the core continuous visual prompt optimization and held-out generalization mechanism.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…