blazy 0.2.5

Unified, AI-safe meta-package manager for 26 OS and language package managers
# Security & Threat Model

`blazy` orchestrates system and language package managers on your host machine. Because package installation can mutate your system or run with elevated privileges, `blazy` enforces explicit trust boundaries.

## Trust Boundaries

1. **No Implicit Elevation:**
   - Providers that may trigger UAC / `sudo` (`winget`, `choco`, `apt`, `pacman`, `dnf`) are marked `requires_elevation: true`.
   - Executing an elevated plan is **blocked by default** unless `--allow-elevation` is passed or `allow_elevation = true` is explicitly configured.
2. **Plan-Before-Apply & Safe MCP Defaults:**
   - `blazy plan` and `--dry-run` perform zero mutations.
   - In `blazy mcp`, `apply_plan` defaults to `dry_run: true` so an AI agent must explicitly pass `dry_run: false` to execute a plan.
   - `blazy audit --fix` never auto-removes duplicate packages without `-y` / `--yes`.
3. **Provider Policy Controls:**
   - Users can restrict allowed managers via `denied_providers` and `provider_priority` in `~/.config/blazy/config.toml` (or `.blazy.toml`).
4. **Auditability & Rollback:**
   - Every executed action is recorded in `history.jsonl` (`%LOCALAPPDATA%\blazy\history.jsonl` on Windows).
   - `blazy undo` generates the inverse `ExecutionPlan` for the most recent successful `add` or `remove`.

## Reporting a Vulnerability

Please report security issues privately via GitHub Security Advisories or by contacting the maintainer directly rather than opening a public issue.