Isaac Limb ← Portfolio GitHub ↗
Project · AI tooling

penetration-llm

A local-first penetration-testing agent that drives an offensive-security model entirely on-device. No cloud, no API keys, nothing leaves the machine.

View on GitHub ↗
Role
Solo
Stack
Python · local Ollama · DeepHat-7B · SQLite
License
MIT
Links
100%local, no API keys
7Bon-device model
3execution modes
MITopen source

What it is

A terminal assistant that runs an offensive-security model (a fine-tune of a 7B coder model) through a project-local Ollama on a loopback port. It proposes shell commands, runs them under one of three levels of human control, stores the session in SQLite, and exports a Markdown report. One loaded model plays two roles, planner and reporter, so there is no second resident model to pay for in memory.

Terminal chat DeepHat-7B · local Command proposal Executor SQLite → Markdown report
Execution modes
Manual · approve each command Assisted · confirm risky ones Automated · run and log
Everything runs against a loopback endpoint; no remote model, no keys.

Why I built it

I wanted an AI pentest helper I could point at my own infrastructure without sending recon data, credentials, or command output to a hosted model. Keeping the whole loop on-device made that safe, and forced a clean design: strict parsing of the model's command proposals, with a fallback for when a small model just drops a command into a code fence instead of structured output.

← All projects Get in touch →