superred-optimizer-agentvigil-websentinel
An AgentVigil indirect prompt-injection optimizer for superred agent targets.
Community port — not an official implementation. This module is an unofficial re-implementation of AgentVigil 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.
AgentVigil is a black-box fuzzer for indirect prompt injection against LLM agents. Starting from a corpus of injection seeds, it uses MCTS/UCT selection to decide which seeds to reuse and which to explore, and an LLM mutator (expand, shorten, rephrase, crossover, generate-similar) to evolve them — searching for injections that land through content the agent reads (web pages, retrieved documents, tool results, memory).
References: "AgentVigil: Generic Black-Box Red-teaming for Indirect Prompt
Injection against LLM Agents,"
arXiv:2505.05849, and "WebSentinel: Detecting
and Localizing Prompt Injection Attacks for Web Agents,"
arXiv:2602.03792. Official implementation:
wzunknown/agentvigil-websentinel.
See ASSUMPTIONS.md for the full paper-to-code mapping and every
deliberate departure.
WebSentinel is the detector/localizer side of the upstream work; this module implements the attack-generation side (the fuzzer described above) and does not implement a separate WebSentinel defense.
Install
pip install superred-optimizer-agentvigil-websentinel
Usage
from agentvigil_websentinel_optimizer import AgentVigilWebSentinelOptimizer
# Defaults: the official `new_seeds` web/content corpus, population_size=10,
# max_attempts=20 (mirrors the official fuzz-loop count).
optimizer = AgentVigilWebSentinelOptimizer()
# Also include the older official text-seed corpus.
optimizer = AgentVigilWebSentinelOptimizer(include_text_seeds=True)
This optimizer targets agent-style targets (AgentDojo, browser/RAG/memory/
MCP agents) that expose a content or tool-result surface. Wire it into a
Controller like any other superred optimizer — see the framework's
architecture overview.
License
This module is licensed under the MIT License.
It bundles seed corpora and mutator prompt text extracted from the upstream
reference implementation,
wzunknown/agentvigil-websentinel
(the mutator prompts from mutate_prompts.py and the seed corpora from
new_seeds.py/seeds.py). That repository publishes no license file; the
upstream authors granted the superred maintainers permission, in private
correspondence, to redistribute the ported material under MIT terms. See
NOTICE for the full attribution and LICENSES/ for the
license text applied to the upstream material.
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_agentvigil_websentinel-0.1.0.tar.gz.
File metadata
- Download URL: superred_optimizer_agentvigil_websentinel-0.1.0.tar.gz
- Upload date:
- Size: 43.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73631d54bec1b3bb26788cd0c505163fef496967a66bc2ee55c11c81184ce0e1
|
|
| MD5 |
64b1adb304615154211f75528ddc967e
|
|
| BLAKE2b-256 |
6cdf1509fa7a7fb7467d491ae774dc294bf01740b8d11c9e38ec07931d075646
|
Provenance
The following attestation bundles were made for superred_optimizer_agentvigil_websentinel-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_agentvigil_websentinel-0.1.0.tar.gz -
Subject digest:
73631d54bec1b3bb26788cd0c505163fef496967a66bc2ee55c11c81184ce0e1 - Sigstore transparency entry: 2519506655
- Sigstore integration time:
-
Permalink:
RoldSI/superred-modules@1c1cbc87f3969cd4417cb4ecbd685252ad82c185 -
Branch / Tag:
refs/tags/superred-optimizer-agentvigil-websentinel-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@1c1cbc87f3969cd4417cb4ecbd685252ad82c185 -
Trigger Event:
push
-
Statement type:
File details
Details for the file superred_optimizer_agentvigil_websentinel-0.1.0-py3-none-any.whl.
File metadata
- Download URL: superred_optimizer_agentvigil_websentinel-0.1.0-py3-none-any.whl
- Upload date:
- Size: 30.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80c3924b3631d7192fde487b7bf605f97bf466f46764d94a0ac7c2187c05c6c2
|
|
| MD5 |
9ba4ea877a231835f6c35931b167372c
|
|
| BLAKE2b-256 |
4ae31ce0db2071954a1f69041d986c9db3d58ff42444da37020e6cc77486bbab
|
Provenance
The following attestation bundles were made for superred_optimizer_agentvigil_websentinel-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_agentvigil_websentinel-0.1.0-py3-none-any.whl -
Subject digest:
80c3924b3631d7192fde487b7bf605f97bf466f46764d94a0ac7c2187c05c6c2 - Sigstore transparency entry: 2519506975
- Sigstore integration time:
-
Permalink:
RoldSI/superred-modules@1c1cbc87f3969cd4417cb4ecbd685252ad82c185 -
Branch / Tag:
refs/tags/superred-optimizer-agentvigil-websentinel-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@1c1cbc87f3969cd4417cb4ecbd685252ad82c185 -
Trigger Event:
push
-
Statement type: