claudemods

All Claude Code modsbaselane-sh/mods

path-jail

A Claude Code mod in baselane-sh/mods

Asks before Write, Edit or NotebookEdit changes a file outside the working directory, by real path.

path-jail reaches L1 (reads) and passed claude plugin validate on Claude Code 2.1.302.

Install hint

/plugin install path-jail --marketplace baselane-sh/mods

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L1 Reads filesreads files

Validation

Passed on Claude Code 2.1.302

View the source on GitHub Back to the list

What the scan recorded

Observed events
classic hooks
Hooks
classic.PreToolUse
API calls
$.fs.stat, $.session.cwd
Validation on 2.1.302
Passed
Scanned revision
452251077ed9
Marketplace passed
baselane-mods-dev

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. How the scan works.

More from baselane-sh/mods

See all 199 mods from baselane-sh/mods

Badge for your README

Reach badge for path-jail Validation badge for path-jail

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/baselane-sh--mods--path-jail-reach.svg)](https://mods.aidojo.si/mods/baselane-sh--mods--path-jail/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/baselane-sh--mods--path-jail-validates.svg)](https://mods.aidojo.si/mods/baselane-sh--mods--path-jail/)