AGENT SKILL

build-attack-scenario

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

License 许可
MIT
所属仓库
dasobral/skills
最近更新
2026-08-15
Stars
★ 0
Forks
0

01 前言 Front Matter

name
build-attack-scenario
license
MIT
metadata
{ "plugin": "agent-attack-replay", "version": "0.1.0" }
description
Build a portable, hash-pinned agent attack scenario with explicit trusted goals, untrusted channels, prohibited effects, and benign criteria.

02 资源文件 4

03 SKILL.md 正文

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.

04 同仓库更多 Skills

dasobral
dasobral/skills

fixture-skill

Fixture skill used to prove trust inventory coverage.

Skill与智能体开发
★ 0
dasobral
dasobral/skills

write-conformant-code

Write code in any language that matches project conventions exactly. Reads CODING_REQUIREMENTS.md, prior review output, or built-in defaults before writing. Part of Codecraft pipeline: analyze → write → review → audit. Use when implementing features, functions, or any code that should fit seamlessly into an existing codebase.

开发工程师内容创作者写作与文案
★ 0
dasobral
dasobral/skills

test-crypto-interoperability

Record reproducible cryptographic interoperability cases, including negotiation, fallback, sizes, latency, fragmentation, and negative tests.

测试与质量
★ 0
dasobral
dasobral/skills

scientific-platform-architect

Design scientific computing platforms combining HPC kernels with modern infrastructure. Enforces compute-layer separation (Rust/PyTorch/Python), emulator-first thinking, and right-sized infrastructure. Use for MCMC pipelines, neural emulators, platform design, or scientific code review.

设计师代码审查视觉设计
★ 0
dasobral
dasobral/skills

rust-systems

Rust systems engineering for daemons, HTTP APIs, and AOS components. Enforces Tokio/Axum async-first, LiteLLM-compatible OpenAI APIs, workspace layouts, tracing, and systemd-compatible daemon design. Part of AOS Stack plugin. Use for .rs files, Cargo.toml, daemons, or Rust orchestrator services.

视觉设计
★ 0
dasobral
dasobral/skills

run-agent-attack-replay

Aggregate isolated agent attack trials with deterministic side-effect assertions, Wilson intervals, and preserved trace evidence.

Skill与智能体开发
★ 0