Getting Started
Start here if you want to use SicarioSpec in a real project.
SicarioSpec has three paths:
- Install the full
sicario-specSpec Kit bundle from Sicario-owned catalogs. - Use the
sicarioCLI when you want the full repo bootstrap: presets, docs, risk registers, workflows, docs-site scaffold, control maps, and verification. - Use the
sicario-coreSpec Kit preset directly when you only want the smallest baseline template overlay.
For native Spec Kit usage, path 1 is the important one. For running this as a complete security-governance starter kit with generated project files and verification, path 2 is faster.
Use the Full Spec Kit Bundle
Use this when you want native Spec Kit to install the complete SicarioSpec component set: the guard extension, the core preset, and all profile overlays. Because Spec Kit resolves bundles through its primitive catalogs, add the Sicario preset, extension, and bundle catalogs first:
From an existing Spec Kit project:
specify preset catalog add https://raw.githubusercontent.com/dfirs1car1o/sicario-spec/main/catalogs/presets.json --name sicario --priority 1 --install-allowed
specify extension catalog add https://raw.githubusercontent.com/dfirs1car1o/sicario-spec/main/catalogs/extensions.json --name sicario --priority 1 --install-allowed
specify bundle catalog add https://raw.githubusercontent.com/dfirs1car1o/sicario-spec/main/catalogs/bundles.json --id sicario --priority 1 --policy install-allowed
specify bundle install sicario-spec
specify preset resolve spec-template
specify extension info sicario-guard
What this installs:
sicario-guard, with 8 commands and hooks for specification, plan, and task checkpointssicario-core, the base secure-by-default template layer- 10 appended profile overlays covering docs, AppSec, AI systems, agent fleets, cloud/IaC, supply chain, compliance, SaaS, security toolchains, and enterprise strictness
Use specify preset resolve spec-template to confirm the composition chain. It
should include sicario-core as the base and end with
sicario-enterprise-strict as the highest-priority overlay.
Use the Full SicarioSpec CLI
Use this when you want a target repo fully bootstrapped.
python3 -m pip install "git+https://github.com/dfirs1car1o/sicario-spec.git"
sicario init my-project --integration all --profile public-core
cd my-project
sicario verify
The package is not published on PyPI; install from the git URL above (optionally
pinned to a release tag, e.g. ...sicario-spec.git@v0.5.1) or with
pip install -e . from a local checkout.
sicario init is brownfield-safe by default: new files are created, files it
can safely extend are merged or overlaid, and everything else is preserved — a
timestamped *.sicario-bak.* backup is taken before any file is changed. Useful
flags:
--dry-runpreviews the per-file adoption report and writes nothing.--forceopts into full overwrite (backups are still taken first).-i/--interactiveruns a setup wizard for frameworks, data classification, and cloud providers.--frameworksselects which control-map frameworkssicario verifyenforces (see Control Maps).
That creates a governed project with:
- Spec Kit preset material under
.specify/ - agent instructions for supported coding agents
- security, compliance, risk, diagram, and docs-impact starter files
- a Docusaurus docs-site scaffold
- GitHub workflow templates
- deterministic SicarioSpec verification
Use this path when you want the whole operating model, not just the native Spec Kit component install.
Use the Core Preset Only
Use this when you want the smallest upstream-compatible baseline.
From a local checkout during development:
specify preset add --dev /path/to/sicario-spec/presets/sicario-core
specify preset resolve spec-template
specify preset info sicario-core
From a release asset:
specify preset add --from https://github.com/dfirs1car1o/sicario-spec/releases/download/v0.5.1/sicario-core-0.5.1.zip
Use this path for community catalog discovery or for projects that only need the baseline governance template layer.
Pick a Profile
Use public-core first unless you already know the project needs a deeper
security lane.
sicario init my-api --profile appsec,compliance
sicario init my-agent-system --profile ai-system,agent-fleet,supply-chain
sicario init my-platform --profile cloud-iac,security-toolchain,compliance
Profile rule of thumb:
| Profile | Use when |
|---|---|
public-core | You need the baseline security evidence workflow. |
appsec | You are building an app, API, or service. |
ai-system | You use LLMs, agents, RAG, MCP, model tools, or evals. |
agent-fleet | You coordinate workers, queues, workflows, or SOAR-style automation. |
cloud-iac | You manage infrastructure, policy-as-code, containers, or Kubernetes. |
supply-chain | You need dependency, provenance, build, and third-party risk discipline. |
security-toolchain | You need scan, SBOM, SCA, IaC, or policy evidence. |
compliance | You need control applicability, evidence indexes, or risk acceptance. |
saas | You ship a SaaS product with tenant, privacy, and operational-readiness needs. |
enterprise-strict | You need stricter approval, CODEOWNERS, and change-control posture. |
core and docs are accepted as aliases that install the same baseline preset
set as public-core.
Daily Operating Loop
- Write or update the feature spec.
- Confirm the Security Evidence Chain is complete.
- Generate or update the implementation plan.
- Break the plan into tasks.
- Complete security, docs, risk, and evidence tasks with the code.
- Run verification.
- Review approval or accepted-risk decisions before release.
sicario verify
For automation, sicario verify --format json and
sicario verify --format sarif emit machine-readable output, and
sicario verify --validate-rules checks rule files without running the gate.
See Rule Engine for details.
The verification goal is not to claim the project is secure by magic. The goal is to make missing evidence visible before the work ships.
What To Read Next
- Presets: what each preset changes.
- Profiles: which bootstrap profile to use.
- Security Model: the governance rules SicarioSpec tries to make unavoidable.
- Control Maps: how control evidence is organized.
- Release Process: how this repo packages the CLI and preset assets.