Dev.to Security πŸ” Cybersecurity πŸ‘ 0 πŸ“– 1 min read

Jarvis PowerShell: Building a Read-Only-by-Default PowerShell-Style CLI in Pure Python

I just tagged the first GitHub release (v3.3.2) of Jarvis PowerShell, a solo learning project built in pure Python (standard library only, with optional packages for extras). It started as a single 68 KB prototype and g

Jarvis PowerShell: Building a Read-Only-by-Default PowerShell-Style CLI in Pure Python

I just tagged the first GitHub release (v3.3.2) of Jarvis PowerShell, a solo learning project built in pure Python (standard library only, with optional packages for extras).

It started as a single 68 KB prototype and grew over time into an ~11,000-line modular program split across 23 modules. The idea was to build a terminal that looks and behaves like Windows PowerShellβ€”same colors, familiar cmdlets (dir, cd, cat), and red PowerShell-formatted errorsβ€”while letting you talk to it in plain language when you don't want to remember exact flags.

Core design principles

  • Read-only by default: Nothing on disk is written, moved, or deleted unless you explicitly ask for it (such as launching a game, saving a report, or updating the tool).
  • Built-in red-team fuzzing (jarvis hack yourself): Attacks its own command parser and handlers with over 1,200 hostile payloads to catch crashes, edge cases, and injection flaws. maintenance also runs a health check and 203 automated self-tests across every command.
  • 9 patch gates & rollback (implement jarvis): Before applying an update, it verifies checksums, syntax, integrity, and startup speedβ€”creating a backup first and rolling back automatically if anything fails.

Tools & extras

  • Game & file tools: Locates installed games across Steam, Epic, GOG, itch.io, and Downloads, hunts for corrupted files (denux.hunter), and inspects file metadata and checksums (extract.port).
  • Windows Screen Watch & Guard: Detects active remote-desktop or screen-sharing tools (TeamViewer, VNC, Zoom, RDP, etc.) and triggers a configurable shield.
  • Optional Claude Code bridge: Hands off requests Jarvis can't answer locally to the Claude Code CLI with all external tools disabled (claude off to disable).

The project is open source under GPL-3.0-or-later. Any feedback on the security gates, self-testing setup, or architecture is welcome!

Repository: ://github.com

πŸ“° Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.