Skip to main content

Safe local incident simulations for AI agents, MCP tools, and agent-generated code.

Project description

ai-incident-lab

Languages: English | 中文

Runnable incident simulations for AI agents, MCP tools, and agent-generated code.

Status

v0.2.2 - safe-local scenario CLI, bundled scenario pack, remediation steps, and first-run init flow.

Purpose

Create safe local workshops and regression scenarios that make Safe Agent Operations concrete.

First Production Surface

Local-only incident scenarios mapped to X-One tools, expected findings, remediation steps, cleanup steps, and reviewer lessons.

From PyPI:

python3 -m pip install xone-ai-incident-lab
ai-incident-lab init --output ai-incident-scenarios
ai-incident-lab list --scenarios ai-incident-scenarios
ai-incident-lab validate --scenarios ai-incident-scenarios
ai-incident-lab render --scenarios ai-incident-scenarios --format markdown --output ai-incident-runbook.md
ai-incident-lab render --scenarios ai-incident-scenarios --format json --output ai-incident-runbook.json

From Homebrew:

brew install x-one-ai/tap/ai-incident-lab
ai-incident-lab --version

For local development:

python3 -m pip install -e '.[dev]'
python3 -m pytest tests -q
ai-incident-lab validate --scenarios scenarios

Required Evidence

  • scenario README
  • safe reproduction steps
  • expected finding mapping
  • remediation steps
  • cleanup instructions
  • teaching notes

Scenario Contract

Scenarios use ai-incident-lab.scenario.v1 and must remain safe-local. They are review exercises, not exploit kits or runtime protection.

Non-Goals

  • no real exploit kit
  • no hosted sandbox first
  • no unsafe secret-bearing fixtures

OPT Operating Model

This project references the shared One Person Team workflow through ops/opt-overlay.md. Project-specific constraints live under ops/constraints, and evolvable local skills live under ops/skills.

Blocked Inputs

Inputs that require user or real-world data are recorded in ../x-one-skipped-inputs.md and should not block foundation work.

Real-user feedback should be classified as false-positive, false-negative, adapter-request, scenario-request, or catalog-update when it applies; portfolio-level handling is tracked in X-One portfolio health docs.

Docs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xone_ai_incident_lab-0.2.2.tar.gz (25.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xone_ai_incident_lab-0.2.2-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file xone_ai_incident_lab-0.2.2.tar.gz.

File metadata

  • Download URL: xone_ai_incident_lab-0.2.2.tar.gz
  • Upload date:
  • Size: 25.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for xone_ai_incident_lab-0.2.2.tar.gz
Algorithm Hash digest
SHA256 56678f97e162b0c8ceba11790dd2ecb7f21890dafd35bd001ea25252d0e50583
MD5 cd01688c691c8b1bdb63cf0912695fc0
BLAKE2b-256 a58d6c3155b97196d88a5fad85aa9a2cf57c02862ac7d5f934206476f126787c

See more details on using hashes here.

Provenance

The following attestation bundles were made for xone_ai_incident_lab-0.2.2.tar.gz:

Publisher: publish.yml on X-One-AI/ai-incident-lab

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xone_ai_incident_lab-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for xone_ai_incident_lab-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 10db374edd17816ddbf5391beacd11097241f3052d84d7524062e7effae4d587
MD5 85893ee9becd281719f7d59c1f0aeb67
BLAKE2b-256 3f7575858eb2581671d651ea628ecca16a4f559d5fc2376a2b3a7d727c3f885b

See more details on using hashes here.

Provenance

The following attestation bundles were made for xone_ai_incident_lab-0.2.2-py3-none-any.whl:

Publisher: publish.yml on X-One-AI/ai-incident-lab

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page