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

oops-sec-cli

v1.0.0

Published

AI-powered Code Review & DevSecOps CLI

Readme

Oops - AI Code Review Assistant 🚨

Never accidentally push bad code, exposed secrets, or vulnerable scripts again. Oops is an intelligent CLI tool that intercepts your Git commits via a pre-commit hook and uses AI (Google Gemini or a local Ollama model) to perform a deep logical security review of your code before it reaches your repository.


Features

  • Fast Local Scan: Instantly catches .env files, AWS keys, JWTs, and common secrets using Regex before the AI is even invoked.
  • AI-Powered Code Review: Sends staged diffs to Google Gemini or a local LLM for context-aware logical security reviews.
  • Interactive Fix Generation: If an issue is found, Oops can automatically generate a fix and save it to a local text file for you to apply effortlessly.
  • Cross-Platform: Works on Windows, macOS, and Linux.
  • Easy Integration: Seamlessly integrates with Husky.

🚀 1-Click Installation

You can install oops globally on your system using our automated installation scripts.

Windows (PowerShell)

iex (irm https://raw.githubusercontent.com/omn7/oops.ai/main/scripts/install.ps1)

macOS / Linux (Bash)

curl -fsSL https://raw.githubusercontent.com/omn7/oops.ai/main/scripts/install.sh | bash

Alternatively, you can install it manually by cloning the repo and running npm install -g .


⚙️ Initial Configuration

Once installed, simply run the interactive setup menu from anywhere in your terminal:

oops start

This interactive menu allows you to:

  1. Setup Local LLM: Connect to your local Ollama instance.
  2. Setup AI API Key: Securely enter and save your Gemini API Key.
  3. Run Manual Review: Immediately review any staged files in your current repository.

Your configuration is stored securely in ~/.oops_config.json.


🔗 Adding Oops to Your Projects

To protect an existing project, simply navigate to that project's folder and integrate Oops with Husky:

# 1. Initialize Husky
npx husky init

# 2. Add Oops to your pre-commit hook (ensure TTY for interactivity)
echo -e "exec < /dev/tty\noops --pre-commit" > .husky/pre-commit

(Note on Windows: Use echo "exec < /dev/tty followed by a new line with oops --pre-commit" > .husky/pre-commit if your shell doesn't support -e)

Now, whenever you run git commit, Oops will automatically intercept and scan your staged files!


🛠️ Automated Fixes

If Oops detects a vulnerability, it will block the commit and ask:

? Issues were found. What would you like to do?

If you choose to Generate a fix, Oops will output the exact code changes needed directly into an oops-fix.txt file in your directory.


Built with Node.js, @inquirer/prompts, and AI.