Turnkey CI verification for Mipiti threat model assertions
Project description
mipiti-verify
Turnkey CI verification for Mipiti threat model assertions. Security controls that never drift.
Install
pip install mipiti-verify[all]
Usage
# Verify all models in the workspace (recommended)
mipiti-verify run --all \
--api-key $MIPITI_API_KEY \
--tier2-provider openai \
--tier2-model gpt-4o-mini \
--project-root .
# Verify a single model
mipiti-verify run <model_id> \
--api-key $MIPITI_API_KEY \
--tier2-provider openai \
--project-root .
# List pending assertions
mipiti-verify list <model_id>
# Show verification report
mipiti-verify report <model_id>
API keys are workspace-scoped — --all verifies every model accessible by the key.
Key flags
| Flag | Default | Description |
|---|---|---|
--reverify / --no-reverify |
--reverify |
Re-verify all assertions, not just pending. Catches regressions. |
--changed-files FILE |
none | Only verify assertions referencing files listed in FILE. Use git diff --name-only HEAD~1 > changed.txt. |
--concurrency N |
1 | Max concurrent Tier 2 LLM calls. Tune based on API rate limits. |
--dry-run |
off | Run verifiers but don't submit results. |
--output github |
text |
Emit GitHub Actions annotations (errors, warnings, notices). |
--tier2-provider |
none | AI provider: openai, anthropic, or ollama. Omit for Tier 1 only. |
--tier2-model |
gpt-4o |
Model name (e.g., gpt-4o-mini, claude-sonnet-4-5-20250514). |
GitHub Action
- uses: Mipiti/mipiti-verify@v0.10.0
with:
api-key: ${{ secrets.MIPITI_API_KEY }}
all: true
tier2-provider: openai
tier2-model: gpt-4o-mini
tier2-api-key: ${{ secrets.OPENAI_API_KEY }}
All assertions are re-verified by default. Use reverify: false to only check new assertions (e.g., to reduce Tier 2 API costs on PRs). Omitting tier2-provider runs Tier 1 only — controls won't reach "verified" status without Tier 2.
Development
git clone https://github.com/Mipiti/mipiti-verify.git
cd mipiti-verify
pip install -e ".[dev]"
python -m pytest -v
License
Proprietary. Copyright (c) 2026 Mipiti, LLC. All rights reserved. See LICENSE for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mipiti_verify-0.10.1.tar.gz.
File metadata
- Download URL: mipiti_verify-0.10.1.tar.gz
- Upload date:
- Size: 35.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1bc7497daff12bf35304c1440277a26fd7b5ca8fe9165fcfb098bb5b140e7f68
|
|
| MD5 |
cca248dbfaceb891458f3fc84aafa8d3
|
|
| BLAKE2b-256 |
3e5666d0889342995df2ad14d0fe9955d2940b8f53669548d372b6b4adfbee7f
|
Provenance
The following attestation bundles were made for mipiti_verify-0.10.1.tar.gz:
Publisher:
publish.yml on Mipiti/mipiti-verify
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mipiti_verify-0.10.1.tar.gz -
Subject digest:
1bc7497daff12bf35304c1440277a26fd7b5ca8fe9165fcfb098bb5b140e7f68 - Sigstore transparency entry: 1156380816
- Sigstore integration time:
-
Permalink:
Mipiti/mipiti-verify@763095a2823a182b9a0bd5df08231a7ca5ed29e3 -
Branch / Tag:
refs/tags/v0.10.1 - Owner: https://github.com/Mipiti
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@763095a2823a182b9a0bd5df08231a7ca5ed29e3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file mipiti_verify-0.10.1-py3-none-any.whl.
File metadata
- Download URL: mipiti_verify-0.10.1-py3-none-any.whl
- Upload date:
- Size: 31.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
195974fc29ed154f4482e970d3003addaab217baa5b8a749a13c621d27ca5249
|
|
| MD5 |
76f18b47ec6cd714d3cf86e56f15ca8e
|
|
| BLAKE2b-256 |
cef072a9f56a7e2e5e6e795abb1c4146c3201c93892ae23b0d296f1f2c2dfafd
|
Provenance
The following attestation bundles were made for mipiti_verify-0.10.1-py3-none-any.whl:
Publisher:
publish.yml on Mipiti/mipiti-verify
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mipiti_verify-0.10.1-py3-none-any.whl -
Subject digest:
195974fc29ed154f4482e970d3003addaab217baa5b8a749a13c621d27ca5249 - Sigstore transparency entry: 1156380870
- Sigstore integration time:
-
Permalink:
Mipiti/mipiti-verify@763095a2823a182b9a0bd5df08231a7ca5ed29e3 -
Branch / Tag:
refs/tags/v0.10.1 - Owner: https://github.com/Mipiti
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@763095a2823a182b9a0bd5df08231a7ca5ed29e3 -
Trigger Event:
push
-
Statement type: