# blastradius

Reads a destructive shell command before it runs and reports what it would actually delete: how many files, how many git can restore, how many it cannot, the total size.

- Type: Plugin
- Updated: 22 Nov 2026
- Publisher: valenciayuna

[Contact us](https://www.ulpi.io/en/support#contact)

## What it does

Reads a destructive shell command before it runs and reports what it would actually delete: how many files, how many git can restore, how many it cannot, the total size, and which of them look valuable, then lets policy decide whether to show the report, block the call, or demand a one-shot blast_allow. Snapshots and verified restore exist as a separate step (blast_snapshot, blast_restore); restore skips files edited after the snapshot unless overwrite_conflicts is set.

Disclosure - no network; reads file metadata, directory listings, and the output of read-only git calls (git ls-files, git check-ignore, git rev-parse); writes snapshot copies under ULPI_HOME/plugin-data/; strict policy blocks the tool call while balanced and relaxed report and continue; local terminal backend only; no telemetry. Disclosure — no network and no telemetry; on every terminal call it reads file metadata, directory listings and the output of read-only git calls (git ls-files, git check-ignore, git rev-parse); it writes snapshot copies under the Ulpi plugin data dir (or BLASTRADIUS_SNAPSHOT_DIR), and blast_restore with confirm writes snapshotted files back to their original paths, skipping files edited since unless overwrite_conflicts is set; its blocks add to Ulpi approval and never replace it, and the agent can relax them through blast_policy or a one-shot blast_allow (BLASTRADIUS_ALLOW=1 turns them off); local terminal backend only.

## Tools it adds

The tools an agent gets once this plugin is installed.

- `blast_radius`
- `blast_allow`
- `blast_snapshot`
- `blast_snapshots`
- `blast_restore`
- `blast_policy`

## How to set it up

Covers rm and rm -rf, git clean, git reset --hard, truncate -s 0, and truncating redirects, and mv overwrite, including nested bash -c, subshells, and chained commands with cd tracking; anything it cannot resolve is reported as unmeasured instead of guessed.

```
> file
```

```
: >
```

## Review notes

What an owner reads and accepts before the install is approved.

- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

## More from the Marketplace

- [contagion](https://www.ulpi.io/en/marketplace/plugins/contagion): Taint-aware execution.
- [disk-cleanup](https://www.ulpi.io/en/marketplace/plugins/disk-cleanup): Auto-track and clean up ephemeral files (test scripts, temp outputs, cron logs) created during Ulpi sessions.
- [followup-chips](https://www.ulpi.io/en/marketplace/plugins/followup-chips): Clickable follow-up question chips under assistant replies.

[All listings →](https://www.ulpi.io/en/marketplace) · [Publisher's guide →](https://www.ulpi.io/en/docs) · [Report a problem →](https://www.ulpi.io/en/security#report)
