lenstica

mcp
Security Audit
Warn
Health Warn
  • License — License: Apache-2.0
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Warn
  • network request — Outbound network request in assets/screenshot/demo.js
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

Secure your dev machine - set package cooldowns, find malicious software, exposed secrets, poisoned AI-agent instructions, and more.

README.md

Lenstica logo

Lenstica

Secure your dev machine.
lenstica.com · Download · Changelog · Roadmap

Latest release Checks License: Apache-2.0 Platforms: macOS, Linux, Windows

Lenstica is a security monitor for your development machine. It finds
malicious and vulnerable packages, exposed credentials, poisoned AI-agent
instructions and services other devices on your network can reach, and keeps
your package managers from installing versions that are only days old.

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

Features

Feature What it does
Dependency audit Finds malicious, vulnerable, deprecated and too-new packages in every lockfile, worktree and global install (malware and vulnerability lookups once you turn them on)
Exposed secrets Finds credentials that malware running as you could steal, without storing or showing their values
AI-agent instructions Flags hidden text, prompt injection and risky settings in CLAUDE.md, AGENTS.md, skills, hooks and MCP configs
Network exposure Shows what accepts connections and flags debuggers, databases, container ports and dev servers that other devices on your Wi-Fi can reach
Inventory Lists what is on your machine: signed-in accounts (names only, never keys), repositories, apps with the permissions each holds (Full Disk Access, Accessibility, Screen Recording… on macOS; Flatpak sandboxes on Linux), containers, virtual machines, and editor and browser extensions, each with the findings about it
Package cooldown Sets a minimum release age (7 days by default) in npm, pnpm, Yarn, Bun, uv, pip, Poetry and Cargo, and restores it if something resets it (why)
Software ages Flags package managers, Homebrew formulae and casks, Rust toolchains and Node.js releases that are too new
One-click fixes Fixes findings from the menu or the CLI, and backs up every file it edits
Your own lenses Runs your own checks: a Rust crate, any CLI that prints JSON, or gitleaks, osv-scanner and trufflehog
Local first Runs on your machine, with no account and no telemetry

Built on

Lenstica builds on the tools and data security teams already use:

docs/related-tools.md lists more, and what Lenstica
uses from each.

Installation

Download the app for macOS, Windows or Linux from
lenstica.com or the
releases, and open it.
It updates itself, installing each new release once it has been out for
your cooldown, as it asks of your packages. For Linux servers and CI there is
also the CLI alone, lenstica-cli_<version>_linux_<arch>.tar.gz.

To build it from source instead, with Rust 1.90 or newer:

git clone https://github.com/lenstica/lenstica.git && cd lenstica
cargo install --path .
  • Linux: first install libgtk-3-dev libayatana-appindicator3-dev libwebkit2gtk-4.1-dev, or build the CLI without the menu bar app:
    cargo install --path . --no-default-features --features secrets.
  • Native packages (.app/.dmg, .msi, .deb/.rpm/.AppImage): run
    bun install && bun run tauri build.
  • A copy built from source doesn't update itself.

Quick start

lenstica status             # run the lenses and show what needs attention
lenstica apply              # set the 7-day cooldown in each supported package manager
lenstica autostart install  # start the menu bar app at every login
  • Lenstica searches whichever of ~/Developer, ~/Projects, ~/src,
    ~/code, ~/dev, ~/repos and ~/workspace exist. To change that, edit
    scan.roots in ~/.config/lenstica/lenstica.toml or open Settings in the
    window.
  • To change the cooldown, run lenstica set <days>.
  • lenstica network lists what accepts connections, and from where.
  • lenstica assets lists what is on this machine: accounts, repositories,
    apps, containers, virtual machines and extensions.
  • lenstica check exits with status 1 when something needs attention, for
    scripts and CI.
  • lenstica --help lists every command.

Lenses

Each lens looks for one kind of risk and belongs to one or more categories,
which organise the window and the menu bar menu. lenstica lenses lists
them, and docs/lenses.md describes each one.

Category Lens Finds
AI agents agent-instructions Poisoned AI-agent instructions and risky agent settings
Packages package-managers Missing or weaker cooldown settings
Packages project-settings Repository files that lower the cooldown
Packages package-age Locked or installed versions younger than the cooldown
Packages install-scripts Package managers that run install scripts
Packages deprecated Deprecated (npm) or yanked (PyPI, crates.io) versions
Packages, Malware vulnerabilities* Known vulnerabilities and malware, from OSV.dev
Software software Installed software younger than the cooldown
Software homebrew-updates Homebrew auto-updating before every install
Secrets secrets Credentials malware could steal
Malware, Privacy aikido-malware* Packages on Aikido Intel's malware and telemetry lists
Malware safe-chain* Whether Aikido Safe Chain is set up
Network listening-ports Debuggers, databases, container ports and dev servers reachable from your network

* Relies on a third party, so it is off until you turn it on in its
category (or with enabled = true under [lenses.<id>]).

Why a cooldown?

  • Most malicious package versions are caught and pulled within hours or days.
  • Of ten prominent supply-chain attacks in 2024 and 2025,
    eight were live for less than a week,
    so a 7-day cooldown would have kept them out.
  • The major JavaScript, Python and Rust package managers all support a
    minimum release age now, but each has its own setting name, unit and config
    file. Lenstica sets them all and keeps them set.
  • To set them by hand instead, see docs/cooldown.md.

AI agents

Lenstica can hand its findings to Claude Code and other coding agents:

  • Prompt: click Copy Prompt for AI Agent on any finding, or run
    lenstica prompt. The prompts are templates you can change in Settings.
  • Skill: lenstica skill --install teaches Claude Code the CLI.
  • MCP server: claude mcp add --scope user lenstica -- lenstica mcp, or
    lenstica mcp --setup for other agents.

Privacy

Lenstica has no account and no telemetry. It sends only what it needs to look
things up:

  • Names and versions of public packages, to their registries
  • Versions of installed software, to their release sites, to date them
  • Only if you turn on the vulnerabilities lens: package names and
    versions to OSV.dev
  • Only if you turn on the aikido-malware lens: a download of Aikido's
    malware lists, whole
  • To update the app: a request for the list of Lenstica's releases to
    GitHub, every six hours (none with [updates] automatic = false)

It never sends:

  • Package names to Aikido
  • Anything about private-registry, git or local dependencies
  • Secret values, which it never stores, logs, shows or puts in prompts
  • What is on your machine: its list of accounts, repositories, apps,
    containers, virtual machines and extensions stays on it

Documentation

Contributing

Issues and pull requests are welcome; please open an issue before a large
change. CONTRIBUTING.md covers building, the tests, the
commit convention release notes are written from, and the checks.

cargo test --workspace
cargo clippy --workspace --all-targets -- -D warnings
bun install && bun test scripts

Security

Please report vulnerabilities through
private vulnerability reporting,
not in public issues.

Thanks

Thanks to Tim Mikeladze for the script that
inspired Lenstica.

License

Apache 2.0, see NOTICE. Icons are from
Lucide (ISC).

Reviews (0)

No results found