Skip to main content

Flagwake

A free, offline, re-checkable test of how an AI defender behaves during a security incident, scored with business cost.

Your defender (a program, a model behind a chat-completions endpoint, or a product with its own tools) works through simulated incidents in an invented company. Flagwake scores its decisions: how long the intruder held machines, the downtime the defender caused, data exposed, money lost through business flows, approvals respected, planted instructions obeyed. Every number can be re-derived from the stored commands, and an edited report fails.

pip install flagwake
flagwake demo      # two example defenders, a verified report, an edited copy that fails
flagwake ui        # the local page: add a defender, check it, run it, read the result

Where pipx is installed, pipx run flagwake demo does the same in one command.

Test your own defender:

flagwake init
flagwake defenders add --name mine --kind command --command "python my_defender.py"
flagwake defenders test mine
flagwake run --defender mine
flagwake verify flagwake-runs/mine/fresh/report.json
  • Offline and free. No model or judge inside the check; nothing leaves your computer.
  • Fresh incidents for every run, so a defender cannot have seen them before.
  • Re-checkable and signable. flagwake verify re-derives every number; the GitHub Action signs a report so anyone can check which repository, commit and run produced it.
  • Your own company. Describe your topology in a file and the incidents run in it.
  • Honest limits. It is a simulation: a score describes behaviour in this test only.

Screenshots, the method, the scoring and the limits: github.com/Sid00011/Flagwake.

Code: AGPL-3.0-only (commercial licences on request). Docs and data: CC BY 4.0.

Metadata

Release files for flagwake 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flagwake 0.5.0
File Size Uploaded Provenance Actions
flagwake-0.5.0.tar.gz 299.0 kB With provenance Details for flagwake-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for flagwake 0.5.0
File Interpreter ABI Platform Actions
flagwake-0.5.0-py3-none-any.whl Python 3 none any Details for flagwake-0.5.0-py3-none-any.whl

Total release size: 622.9 kB

Release files / flagwake-0.5.0.tar.gz

Download URL flagwake-0.5.0.tar.gz
Size 299.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8dfde730d5ada58ffa8988640696b515178f9f1e9c1bbd0deeadbb0bc7792830
BLAKE2b-256 checksum
How to use checksums
5561f3965219fc24e6726efaa57e2a97625b90026d859fedb3a24df391e999f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Release files / flagwake-0.5.0-py3-none-any.whl

Download URL flagwake-0.5.0-py3-none-any.whl
Size 323.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ff32cdf816226afbc38dcb4fe2da5bff1adb5b3607701e0bfab91d0564af433c
BLAKE2b-256 checksum
How to use checksums
ce1fe4fac990377ef593e2215c2fa7d335bd002768f8655476f873c61a86de1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Security for flagwake 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for flagwake-0.5.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page