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.2

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.2
File Size Uploaded Provenance Actions
flagwake-0.5.2.tar.gz 308.4 kB With provenance Details for flagwake-0.5.2.tar.gz

Built distribution (wheel)

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

Total release size: 642.6 kB

Release files / flagwake-0.5.2.tar.gz

Download URL flagwake-0.5.2.tar.gz
Size 308.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8ec94ad20e954335442b9ad3cb31fa4a0242de4de4f366534f7c723187ae2b4a
BLAKE2b-256 checksum
How to use checksums
525cd0709835beda8965b881b9f8b660bd2aa81ebe4b29e230f65d3384826471
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 16, 2026.

Transparency log

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

Download URL flagwake-0.5.2-py3-none-any.whl
Size 334.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2aba1e0b0a91ff38e70e7f87302dd639ada6652dd733898cb5bfafee733ab79a
BLAKE2b-256 checksum
How to use checksums
8e8aebe039330e19591af5fd792f56b9e1ca87a1182a989f1ba5ed7297952d53
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 16, 2026.

Transparency log

Security for flagwake 0.5.2

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.2.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 16, 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