Scan your whole stack
Are you using aegis-devops?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v2c8baba69283e1ceda16fbd6fa65c60d80d55144
aegis-devops was last scanned on 10 Nov 2026 at version 2c8baba69283e1ceda16fbd6fa65c60d80d55144. Risk score 20 of 100 (low). No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 2c8baba69283e1ceda16fbd6fa65c60d80d55144 LATEST | 1 rule fired |
Findings for v2c8baba69283e1ceda16fbd6fa65c60d80d55144. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The skill's instructions or bundled files tell the agent to download content from a remote location and run it. This pattern can be used to change behavior after a review, but it also appears in legitimate installers. Check the source.
LOWThe score describes 2c8baba69283e1ceda16fbd6fa65c60d80d55144; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Stop AI agents from running kubectl delete, terraform destroy or DROP TABLE because a
ticket told them to.
Aegis-DevOps checks every command an agent wants to run before it runs, and blocks it if your policy says no. A policy rule only counts if nobody has edited it since it was signed, and if its author was allowed to write that kind of rule. So a planted line in a Jira ticket can't become policy.
1. Watch it block a pull request (nothing to install). Open the demo's example PR: it deletes a production database, and the failing check is Aegis blocking it, with the verdict posted as a comment. Fork the demo repository to try your own change; no cloud account needed.
2. Check a command yourself:
pip install aegis-devops && aegis init .aegis
aegis check command --pretty -- "kubectl delete namespace prod" # BLOCK (exit 3)
aegis check command --pretty -- "kubectl get pods -n prod" # ALLOW (exit 0)
3. Put it in front of your coding agent. In the same project:
claude plugin marketplace add moneytool/aegis-devops
claude plugin install aegis-devops@aegis-devops
Then ask Claude Code to delete the prod namespace: the hook blocks the command before it runs.
Gemini CLI: gemini extensions install https://github.com/moneytool/aegis-devops. Codex, GitHub
Copilot (CLI and VS Code), Cursor and OpenCode: aegis install codex|copilot|vscode|cursor|opencode
(see Coding agents). Aegis only acts in projects with a .aegis/ policy, and
only blocks what that policy blocks. aegis init writes example rules signed with a public
example key; replace both before relying on it (Configuration). It
works alongside RBAC and your agent's own permission settings; see
Why not RBAC.
In CI, the Aegis-DevOps Plan Check
Action checks a Terraform or OpenTofu plan on every pull request
(uses: moneytool/aegis-devops-action@v1 with plan: plan.json); aegis check terraform plan.json --exit-style ci does the same in any pipeline, and Aegis also works as a Python
library (Quick start).
Aegis intercepts a proposed agent action — a kubectl/terraform/aws/... invocation or a
plan file — and checks it against a Constraint Store before it runs, returning ALLOW,
BLOCK, or ESCALATE with citations. Unlike a naive policy engine, every constraint in the
store must independently pass an integrity check (has it been tampered with since
ingestion?) and an authority check (was its source ever allowed to assert this kind of
policy?), so a poisoned Jira ticket or a forged Slack message can't quietly become law. It
covers 20 CLI/plan targets today — Kubernetes, Terraform/OpenTofu, the three major clouds,
Helm/ArgoCD/Flux, Git/GitHub, SQL/migrations, and Pulumi — through one shared intent schema.
Requires Python 3.11+ (tested on 3.11, 3.13 and 3.14 on Linux and macOS).
pip install aegis-devops
aegis init ./.aegis
aegis init writes the example policy files (constraints, authority map, environment map,
plan constraints, signed sources) into a directory. Putting them in ./.aegis means the CLI
finds them with no flags and no environment variable — see Configuration
for the full search order. Then check a command:
aegis check kubectl --now 2026-03-16T10:00:00-05:00 --pretty -- \
kubectl scale deployment/api-server --replicas=5 -n prod
BLOCK: kubernetes scale deployment/api-server
citations: no-scale-prod-peak
covered: True latency_ms: 0.20
PLAN BLOCK: 1 intent(s)
STORE: loaded=30 quarantined=0 principals=3
warning: using example signing key
The warning is real and deliberate: the shipped policy files are signed with a public demo
key that ships beside them, so the CLI verifies them out of the box while telling you it used
a key everyone has. aegis init prints the two commands that replace it with your own — see
Signing. The example rules are a demo, not a starting policy;
replace constraints.example.yaml with your own constraints.yaml (a real file wins over the
.example one when both exist).
python -m venv venv
venv/bin/python -m pip install -e ".[dev]"
venv/bin/python examples/demo.py
examples/demo.py runs 15 intents across every supported tool through the interceptor and
prints each decision, starting with the store's health. A clone already has data/, so the CLI
finds its policy files without aegis init.
Exit codes, store health, the Claude Code hook, argv parsing, compound commands, dry runs and
library usage are all in docs/cli.md.
At load time, ConstraintStore.load parses the constraint YAML, verifies each
provenance_hash, and (with --sources) re-fetches and checks the original source —
anything that fails either check is quarantined, not silently dropped.
At decision time, AegisInterceptor.intercept matches each intent against the surviving
constraints on (provider, resource_pattern, action, scope, time_window), re-checks integrity
and authority (authority can be revoked after ingestion), applies any rate limit against the
decision ledger, downgrades a dry run to ALLOW, and takes the highest-precedence effect
(BLOCK > ESCALATE > ALLOW) among what's left. A PlanConstraint then runs once more over
the whole batch of intents from one plan/chart/invocation.
Every target below is checked with aegis check <target> [flags] -- <argv...>, except
terraform/tofu/pulumi-preview, which take a JSON document path instead of --.
| target | example |
|---|---|
kubectl |
aegis check kubectl -- kubectl scale deployment/api-server --replicas=5 -n prod |
terraform |
aegis check terraform plan.json (from terraform show -json tfplan > plan.json) |
tofu |
aegis check tofu plan.json (identical plan schema; provider stays terraform) |
pulumi-preview |
aegis check pulumi-preview preview.json (from pulumi preview --json) |
pulumi |
aegis check pulumi -- pulumi destroy --stack prod |
aws |
aegis check aws -- aws ec2 terminate-instances --instance-ids i-0abc --region us-east-1 |
az |
aegis check az -- az aks scale --resource-group rg1 --name aks1 --node-count 5 |
gcloud |
aegis check gcloud -- gcloud sql instances delete prod-db |
helm |
aegis check helm -- helm uninstall api -n prod |
argocd |
aegis check argocd -- argocd app sync prod-web --prune |
flux |
aegis check flux -- flux reconcile kustomization podinfo -n flux-system |
git |
aegis check git -- git push --force origin main |
gh |
aegis check gh -- gh workflow run deploy-prod.yml -r main |
psql |
aegis check psql -- psql -c "DROP TABLE users;" |
mysql |
aegis check mysql -- mysql -e "DROP TABLE users;" |
sqlite3 |
aegis check sqlite3 -- sqlite3 app.db "DELETE FROM users;" |
mongosh |
aegis check mongosh -- mongosh --eval "db.users.drop()" |
migrate |
aegis check migrate -- alembic downgrade base |
sql |
aegis check sql -- "DROP TABLE users;" |
argv |
aegis check argv -- gcloud sql instances delete prod-db (dispatches by binary name) |
command |
aegis check command -- "kubectl get pods; sudo kubectl delete node/w1" (a shell string; see Compound commands) |
scripts/benchmark.py runs Aegis and several baselines over the labeled 500-constraint corpus
in data/corpus/ (323 distinct rule structures), on 120 held-out intents, scored against an
oracle that never imports Aegis's own code. The full table
(precision/recall/F1, latency, coverage) and methodology are in
docs/benchmark.md; the columns that matter most are summarized below.
| verifier | rules shown & scored on | over-block | poison-susceptibility | ps_unauth + pe_unauth |
|---|---|---|---|---|
| aegis | 500 | 0.000 | 0.000 | 0.000 |
| opa-signed | 500 | 0.250 | 0.500 | 1.000 |
| opa | 500 | 0.500 | 1.000 | 1.000 |
| llm-heuristic | 500 | 0.500 | 1.000 | 1.000 |
| aegis-holdout | 100 | 0.000 | 0.000 | 0.000 |
| codex (gpt-6-astra) | 100 | 0.224 | 1.000 | 1.000 |
| codex-gpt-6-sol | 100 | 0.224 | 1.000 | 1.000 |
| codex-gpt-6-luna | 100 | 0.188 | 0.789 | 0.500 |
| claude-cli (haiku) | 100 | 0.235 | 1.000 | 1.000 |
| claude-cli-sonnet | 100 | 0.259 | 1.000 | 1.000 |
| claude-cli-opus | 100 | 0.235 | 1.000 | 1.000 |
| claude-cli-fable | 100 | 0.235 | 1.000 | 1.000 |
| ollama (mistral 7B) | 100 | 1.000 | 1.000 | 1.000 |
poison-susceptibility (ps + pe) is the fraction of poisoned rules — constraints an
unauthorized/tampered/forged author slipped in — that moved a verdict at all, split by kind;
ps_unauth + pe_unauth isolates the realistic pre-ingest attacker (an unauthorized principal).
It's the headline column because signing a policy bundle proves it wasn't altered in transit,
not that its author was ever allowed to write the rule — opa-signed scores 1.000 on it for
exactly that reason, while Aegis's independent authority check scores 0.000.
The codex* and claude-cli* rows are agent harnesses wrapped around a model, not raw
completions — seven models across two vendors (Claude Haiku 4.5, Sonnet 5, Opus 5 and Fable
5.1; GPT gpt-6-astra, gpt-6-sol and gpt-6-luna), each verified before its run to be the
model that actually answered. For context-window and cost reasons they, and the local model,
are shown only the corpus's 100-constraint holdout subset, so they are scored against the
oracle over those same 100 rules (19 poison candidates rather than 30); aegis-holdout runs
Aegis on the same 100 for a like-for-like row. Compare rows within one "rules" value. On that
basis model size and vendor do not change the picture: six of the seven models act on every
poisoned rule they are shown, gpt-6-luna on 15 of 19, and Aegis on none. A model can reason
about who wrote a rule, but it cannot recompute a hash or fetch a source. Up to v0.1.5 these
rows were scored against all 500 rules, which counted rules the models never saw as resisted
poison and understated their susceptibility (0.23–0.33); see CHANGELOG.md.
Keep both. Aegis sits alongside them; it doesn't replace either.
Agent permission settings (Claude Code's allow/deny rules, Copilot's tool approvals and similar) decide which commands an agent may run without asking you. They match the command text. Claude Code's documentation says a Bash deny rule "isn't a security boundary around the program", and recommends a PreToolUse hook when you need to inspect the full command before it runs. Aegis is that hook. It works out what the command will do, so every spelling of the same action reaches the same rule:
| Command the agent writes | Aegis with the example policy |
|---|---|
kubectl delete deploy web -n prod |
BLOCK (no-delete-in-prod-namespace) |
kubectl -n prod delete deploy web |
BLOCK, same rule |
/usr/bin/kubectl …, sudo kubectl …, env kubectl … |
BLOCK, same rule |
bash -c 'kubectl delete deploy web -n prod' |
BLOCK, same rule |
cd /tmp && kubectl delete deploy web -n prod |
BLOCK, same rule |
git -C . push --force origin main |
BLOCK (git-block-force-push-main) |
K=kubectl; $K delete deploy web -n prod |
Refused: it can't be checked statically, so the hook denies it and asks for the command on its own |
Permission settings also record what is allowed, not who decided it. An Aegis rule only gets a vote if nobody has changed it since it was signed and its author was allowed to write that kind of rule.
RBAC and IAM decide what an identity may do. A coding agent usually runs with the
developer's own kubeconfig and cloud credentials, so RBAC sees the developer and grants the
agent the same rights. Aegis decides each action against the policy: no deletes in the prod
namespace, no kubectl --as impersonation, no plan that deletes a database. Once agents do have
their own identities, the same policy compiles into the platform layer, so it holds even for
calls that never pass through the hook (an SDK script, a leaked key):
aegis compile aws: Service Control Policies scoped to agent identities.aegis compile kubernetes: ValidatingAdmissionPolicies scoped to agent identities, plus
aegis audit-identity kubernetes to report the RBAC permissions that would let an agent get
around them (impersonation, editing admission policies, RBAC escalation).Both are previews; see server-side enforcement.
OPA/Gatekeeper evaluates structured API objects against hand-authored rules. Aegis derives unstructured human constraints (from Slack, Jira, Git) and applies authority-driven validation to the agent's intent before it reaches the infrastructure.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.