Zeus
Skill Wizbisy/zeus/skills/zeus
AI-first security auditor for GenLayer Intelligent Contracts. 4-phase pipeline (recon → detection → state analysis → verification → review) with 12 heuristics across 4 detection lenses, 6 kill gates with mandatory reviewer, and structured methodology audit trail per finding. Targets prompt injection, SSRF, consensus abuse, and storage bugs in gl.Contract Python code.From its SKILL.md
npx -y skills add Wizbisy/zeus --skill zeusAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.6 KB, as published. Nobody here has run it
Zeus — AI Security Auditor for GenLayer
Zeus is a structured audit methodology for GenLayer Intelligent Contracts, encoded as agent skills. It runs a 4-phase pipeline with multi-lens analysis, strict verification gates, and a mandatory reviewer, specifically tuned for LLM integration (gl.nondet.exec_prompt), web connectivity (gl.nondet.web.get), the Equivalence Principle (gl.eq_principle.*), and Optimistic Democracy consensus.
How It Works
When invoked via /zeus, a preflight readiness check runs first, then the pipeline runs sequentially:
- Preflight (
preflight/instructions.md): Verifies.pyfiles exist,from genlayer import *is present, and at least onegl.Contractsubclass is defined.
- Phase 0 — Recon (
recon/instructions.md): Mapsgl.Contractclasses, catalogs allgl.nondet.*andgl.eq_principle.*calls, scores files by risk. - Phase 1 — Detection (
detector/instructions.md): 4 parallel lenses (Prompt Injection, Web/SSRF, Equivalence/Consensus, State/Storage) with 12 heuristic checks. - Phase 2 — State Analysis (
state-auditor/instructions.md): Storage field audit, hallucination impact matrix,TreeMap/DynArray/u256type verification, cross-contractemit()ordering. - Phase 3 — Verification (
critic/instructions.md): 6 kill gates (Equivalence Guard, Prompt Structure, URL Restriction, GenVM Sandbox, Storage Persistence, Low-Impact Filter). Gate 2 requires demonstrable sanitization —response_format="json"does not kill injection findings. Gate 6 exempts all AI-* and WEB-* categories. - Phase 3b — Review (
reviewer/instructions.md): Mandatory devil's advocate on killed findings. Runs automatically — not optional. - Phase 4 — Report (
reporter/instructions.md): Structured markdown report with PoC traces and mitigations.
Test Fixtures
Runnable contract fixtures with golden expected reports are in tests/fixtures/. See tests/fixtures/README.md for how to verify pipeline correctness against these baselines.
Reference Files
Phase Instructions
preflight/instructions.md— GenLayer project readiness checkrecon/instructions.md— Architecture mapping and risk scoringdetector/instructions.md— 4-lens detection with 12 heuristics (AI-01..03, WEB-01..02, EQ-01..03, ST-01..03, MSG-01)state-auditor/instructions.md— Storage and hallucination impact analysiscritic/instructions.md— 6 kill gates (revised: Gate 2 and Gate 6 tightened)reviewer/instructions.md— Mandatory second opinion on killed findingsreporter/instructions.md— Final report generationfuzzer/SKILL.md— Property-based fuzz testing with LLM/web mocking
Commands
| Command | Description |
|---|---|
/zeus | Full 4-phase GenLayer audit (auto-runs preflight + mandatory reviewer) |
/zeus-quick | Skip state analysis for speed (reviewer still mandatory) |
/zeus-review | Standalone re-run of reviewer on killed findings from a previous audit |
/zeus-fuzz | Generate property-based fuzz tests for contract invariants |
/zeus-init | Standalone readiness report (preflight only) |
Built by Wizbisy(https://github.com/Wizbisy).