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 🙏

© 2025 – Pkg Stats / Ryan Hefner

vibechck

v0.2.7

Published

AI Coding Assistant Criticism Scanner - Detects vibe coding anti-patterns in AI-generated code

Readme

vibechck Scanner 🔍✨

AI Coding Assistant Criticism Scanner Ensure your codebase passes the vibe check.

🌐 Visit Website

🌐 GitHub

vibechck is a static analysis tool designed specifically to detect anti-patterns, hallucinations, and "lazy" coding practices often introduced by Large Language Models (LLMs) and AI coding assistants.

🚀 Key Features

  • 👻 Hallucination Detection: Finds phantom dependencies, "newborn" packages (supply chain risk), and typosquatting attempts.
  • 😴 Laziness Linter: Catches "lazy" AI patterns like // ... rest of code, hollow functions, mock implementations, and unlogged errors in catch blocks.
  • 🔒 Security Sentinel: Detects hardcoded secrets, dangerous deserialization patterns, insecure JWT usage, and hardcoded production URLs.
  • 🏗️ Architecture Scanner: Identifies "God functions", circular dependencies, and unused exports.
  • 👁️ Observability Checks: Flags unlogged errors and missing error tracking services (Sentry, LogRocket, etc.).
  • 💸 Cost Detection: Identifies expensive API calls (OpenAI, Anthropic, Cloudinary) in loops without rate limiting or caching.
  • 🛡️ Environment Safety: Detects destructive operations without environment guards and hardcoded production URLs.

📦 Installation

To use vibechck in your project, install it via npm:

npm install --save-dev vibechck
# OR
npx vibechck

🛠️ Usage

Basic Scan

Run Vibechck in your project root to scan the current directory:

npx vibechck

Options

# Scan a specific directory
npx vibechck ./src

# Output results as JSON (great for CI/CD)
npx vibechck --json > report.json

# Filter by severity
npx vibechck --severity=critical,high

# Run only specific modules
npx vibechck --module=laziness,hallucination

# Disable colored output (auto-detected in CI)
npx vibechck --no-color

🔌 Integration Guide

Adding to a CI/CD Pipeline (GitHub Actions)

Ensure every PR passes the vibe check before merging.

name: Vibechck
on: [push, pull_request]

jobs:
  vibechck:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Install dependencies
        run: npm ci
      - name: Run Vibechck
        run: npx vibechck --severity=critical,high

Adding to pre-commit hooks

Use husky to prevent committing "lazy" code.

npx husky add .husky/pre-commit "npx vibechck --module=laziness"

📝 Configuration

Create a .vibechck.yaml file in your project root to customize rules:

severity:
  - critical
  - high
  - medium

modules:
  hallucination: true
  laziness: true
  security: true
  architecture: true
  cost: true

laziness:
  detectAIPreambles: true
  detectUnloggedErrors: true
  patterns:
    - "// ... existing code ..."

ignoreRules:
  magic-number:
    - "tests/**/*.ts"
    - "examples/magic.ts"
  unused-export:
    - "src/api/public/**"

Ignore Rules

Vibechck supports granular ignores using glob patterns (via minimatch). You can ignore specific rules for specific files or directories:

  • **: Matches any sequence of characters (recursive).
  • *: Matches any sequence of characters (single level).
  • Relativity: Patterns are matched relative to the project root.

Default Ignores

To prevent recursion crashes and save time, Vibechck automatically ignores the following directories by default:

  • node_modules
  • .git
  • .venv
  • dist, build, .next, .nuxt, .output, target, vendor

📄 License

AGPL-3.0-or-later