npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@raquezha/noleaks

v0.0.4

Published

Security credentials protector shield for the Pi Coding Agent — blocks LLM access to .env, keys, and secrets

Readme

noleaks

Senior-grade credentials guard and Data Loss Prevention (DLP) shield for the Pi Coding Agent. It intercepts tool calls to block unauthorized access to sensitive files and redacts secrets from tool outputs.

Security model: noleaks is a powerful defense-in-depth "seatbelt," not an airtight sandbox. It prevents accidental leaks and stops common AI exfiltration techniques. For untrusted code or unattended automation, always use a real sandbox like Docker or a Micro-VM.

Key Features

  • 3-Tier Security Modes: Switch between max, basic, and off using the /noleaks command.
  • Output Scrubbing (DLP): Automatically redacts tokens, keys, and secret assignments from any tool's stdout before the agent sees it.
  • Symlink Guard: Resolves paths to their "real" location on disk, preventing bypasses using symbolic links.
  • Obfuscation Detection: Normalized Unicode (NFKC) and character-stripping to detect homoglyph attacks and command obfuscation.
  • Universal Word Scanning: Scans every word in a bash command to catch dangerous utilities hidden as arguments (e.g., sudo chmod).

Commands

| Command | Description | |---|---| | /noleaks | Show session statistics (blocked calls, redacted secrets). | | /noleaks mode max | (Default) Blocks sensitive paths AND redacts secrets from output. | | /noleaks mode basic | Allows reading sensitive paths but still redacts secrets from the output (Safe Debugging). | | /noleaks mode off | Disables all path blocking and redaction (Status icon: 🔓). |

What it blocks (in MAX mode)

| Category | Examples | |---|---| | Environment files | .env, .env.local, .env.production | | Private keys | id_rsa, id_ed25519, .pem, .key, .p12, .pfx, .keystore | | Credential stores | auth.json, .npmrc, .netrc, .pypirc, .pi-secrets/, ~/.ssh/ | | Cloud / platform config | ~/.aws/, ~/.azure/, ~/.config/gcloud/, ~/.docker/, ~/.kube/, ~/.gnupg/ | | Discovery Tools | nmap, tcpdump, wireshark (when combined with secrets) |

Usage

# Load directly
pi --extension ./packages/noleaks

# Via nothing mindset (meta)
pi --meta

Settings

Settings are persisted to ~/.pi/agent/noleaks.json. You can also enable it globally by setting "noleaks": true in your main settings.json.