Skip to content
Agentmart
Submit a tool

build-attack-scenario

Build a portable, hash-pinned agent attack scenario with explicit trusted goals, untrusted channels, prohibited effects, and benign criteria.

Skill by dasobral

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/dasobral-build-attack-scenario

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Build a portable, hash-pinned agent attack scenario with explicit trusted goals, untrusted channels, prohibited effects, and benign criteria.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/build-attack-scenario

What's inside

Skill name
build-attack-scenario
Description
Build a portable, hash-pinned agent attack scenario with explicit trusted goals, untrusted channels, prohibited effects, and benign criteria.
License
MIT
Metadata
plugin: agent-attack-replay · version: 0.1.0
Instructions
28 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (5)

  • SKILL.md
  • scenario.json · references/examples/
  • scenario-definition.schema.json · references/schemas/
  • scenario.schema.json · references/schemas/
  • build_attack_scenario.py · scripts/

SKILL.md (first lines)

# Build Attack Scenario

Define a controlled evaluation; do not execute it while building the artifact.
Use synthetic, non-sensitive payloads and fixtures. Never place production
credentials, private prompts, personal data, or live endpoints in a scenario.

## Workflow

1. Create a definition containing the trusted goal, untrusted channel, payload
   family, prohibited side effects, benign success criteria, repetitions, and
   relative fixture paths. Add monitor-executable benign assertions and separate
   `attacker`, `victim`, and `judge` role inputs; never share hidden attacker
   reasoning with the judge.
2. Run
   `python3 scripts/build_attack_scenario.py definition.json --base-dir FIXTURES > scenario.json`.
3. Review the computed SHA-256 fixture and packaged TOML role-definition hashes.
4. Validate with
   `python3 scripts/build_attack_scenario.py --validate scenario.json`.
5. Require the replay harness's temporary workspace, mediated structured tools,
   deny-all network monitor, and hash-bound filesystem observations. An agent's
   statement that isolation or success exists is not enforcement evidence.

The generated scenario records hashes, not fixture contents. See
`references/schemas/scenario.schema.json`.
Definitions and outputs use Draft 2020-12 validation first. Missing
`jsonschema==4.26.0` yields an `evidence-gap` with setup guidance.

From dasobral/skills, MIT.

More from dasobral/skills

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Aug 15, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
0.1.0
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from dasobral

Cite this page

build-attack-scenario skill. Agent Mart. https://agentmart.dev/skills/dasobral-build-attack-scenario (last updated 2026-10-24)