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

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.3
File Size Uploaded Provenance Actions
flagwake-0.5.3.tar.gz 309.0 kB With provenance Details for flagwake-0.5.3.tar.gz

Built distribution (wheel)

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

Total release size: 643.7 kB

Release files / flagwake-0.5.3.tar.gz

Download URL flagwake-0.5.3.tar.gz
Size 309.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e7102ac5533877ca0a6fd18bdd9c9a237dcbc329a0bf3dda00f9d3d95b50773d
BLAKE2b-256 checksum
How to use checksums
d115f399255eb6f1ea6225a690f53ecd6f082b10d115004c57ff820eba65531c
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 18, 2026.

Transparency log

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

Download URL flagwake-0.5.3-py3-none-any.whl
Size 334.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eb23db3b8bb2095ce2b2560fc5a9fcda06ed0965ee7030397134536066191868
BLAKE2b-256 checksum
How to use checksums
df7fd8cbca9ce5a8069092e6b59cf4fe619576eca7fa912c2ab93b10bfd001e4
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 18, 2026.

Transparency log

Security for flagwake 0.5.3

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.3.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 18, 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