← All projects
Project record1 mention
Originally shared on Hacker News

Penthera

Penthera is an open-source, rule-based, offline security/pentest scanner for checking apps and sites before they go to live. It runs locally with no signup and $0 cost via CLI, NPM, MCP, or agent skill, and can be run as a pre-commit hook or in CI. It has a --deep flag for very intense pentesting (SQLi, SSTI, SSRF, XSS, command injection) and an optional --ai flag using a local Ollama model, where the LLM never decides on findings. The submitter reports it scores #1 on some public benchmarks among free tools (npm malware, PyPI malware, JS injection bugs).

Last shared
01 / The problem

What it addresses

The submitter needed a free, non-AI, $0-token way to run hundreds of manual security checks before pushing apps/sites to live, noting that with the sprawl of AI-generated vibecoded apps and AI coding tools, code goes to LLM providers without knowing what happens behind the scene.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Penthera

    Penthera is an open-source, rule-based, offline security/pentest scanner for checking apps and sites before they go to live. It runs locally with no signup and $0 cost via CLI, NPM, MCP, or agent skill, and can be run as a pre-commit hook or in CI. It has a --deep flag for very intense pentesting (SQLi, SSTI, SSRF, XSS, command injection) and an optional --ai flag using a local Ollama model, where the LLM never decides on findings. The submitter reports it scores #1 on some public benchmarks among free tools (npm malware, PyPI malware, JS injection bugs).

    Problem: The submitter needed a free, non-AI, $0-token way to run hundreds of manual security checks before pushing apps/sites to live, noting that with the sprawl of AI-generated vibecoded apps and AI coding tools, code goes to LLM providers without knowing what happens behind the scene.

    Posted by @danosz · Original source ↗

    Story title · @danosz · · Source ↗

    Show HN: Penthera, offline pentest security scanner (open-source, rule-based)

    Submitted URL · @danosz · · Source ↗

    https://github.com/danoszz/penthera

    Source text · @danosz · · Source ↗

    penthera.org

    Source text · @danosz · · Source ↗

    local non-AI security for your app/site!

    Source text · @danosz · · Source ↗

    use it through CLI, NPM, MCP, skill/agent

    Source text · @danosz · · Source ↗

    Its super helpful as a free, open-source alternative to run these checks in your codebase.

    Source text · @danosz · · Source ↗

    no signup, $0, local, hackable

    Source text · @danosz · · Source ↗

    you can run it pre-commit hook, CI etc

    Source text · @danosz · · Source ↗

    Have some flags like --deep for a very intense pentest (SQLi, SSTI, SSRF, XSS, command injection)

    Source text · @danosz · · Source ↗

    Also --ai opts-in a local Ollama (or if you want paid also fine) model to find things beyond my rules (the LLM never decides on findings).

    Source text · @danosz · · Source ↗

    we score #1 on some public benchmarks among free tools (npm malware, PyPI malware and JS injection bugs)

    Source text · @danosz · · Source ↗

    our code goes to LLM providers but we'd never know what exactly happens behind the scene

    Source text · @danosz · · Source ↗

    For years I had a long .txt file with hundreds of manual security checks I ran before pushing a (client) app/site to live

    Source text · @danosz · · Source ↗

    you can run it pre-commit hook, CI etc