Lenstica
Lenstica logo: three glass lenses on graphite

Lenstica

Security monitoring for your development machine. A 7-day cooldown in every package manager, and lenses that watch for what slips through.

Free and open source (Apache 2.0) · macOS, Linux and Windows · No account, no telemetry

Why a cooldown?

Most malicious package versions are caught and pulled within hours or days. If your package manager only installs versions at least a week old, they never reach you.

  • npm, pnpm, Yarn, Bun, uv, pip, Poetry and Cargo all support a minimum release age now.
  • Each has its own setting name, unit and config file. Lenstica sets them all, and puts them back if something resets them.
8 of 10

prominent supply-chain attacks in 2024 and 2025 were live for less than a week, so a 7-day cooldown would have kept them out. Source

One app, many lenses

Each check is a lens that looks for one kind of risk. Findings show up in the menu bar, the window, the CLI and your AI agent, each with a remedy and often a one-click fix.

Cooldown everywhere

A 7-day minimum release age in npm, pnpm, Yarn, Bun, uv, pip, Poetry and Cargo, kept in place.

Dependency audit

Too-new and deprecated packages in every lockfile, worktree and global install, and optionally vulnerable and malicious ones.

Exposed secrets

Credentials that malware running as you could steal, found without storing or showing their values.

AI-agent instructions

Hidden text, prompt injection and risky settings in CLAUDE.md, AGENTS.md, skills, hooks and MCP configs.

Network exposure

Debuggers, databases, container ports and dev servers that other devices on your Wi-Fi can reach.

Local first

Runs on your machine with no account and no telemetry. Third-party lookups are off until you turn them on.

Install

There are no prebuilt releases yet. Build Lenstica from source with Rust 1.90 or newer.

Build

$ git clone https://github.com/olekslitus/lenstica.git
$ cd lenstica
$ cargo install --path .

Start

$ lenstica apply              # set the cooldown
$ lenstica status             # what needs attention
$ lenstica autostart install  # start at login

On Linux, first install libgtk-3-dev libayatana-appindicator3-dev libwebkit2gtk-4.1-dev, or build just the CLI. See the README for details and native packages.