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

@mr0b0t0/vibe-check

v1.0.5

Published

AI-powered security and testing CLI for web applications. Automated security scanning, UI testing, and intelligent analysis.

Readme

@mr0b0t0/vibe-check CLI

Monorepo for the spec-driven validator CLI. Quick start:

pnpm i
pnpm -r build
pnpm dev:app # starts example web app on :3000
pnpm @mr0b0t0/vibe-check
pnpm @mr0b0t0/vibe-check -- spec lint -c ./specs/vibe.yaml
pnpm @mr0b0t0/vibe-check -- app up -c ./specs/vibe.yaml
pnpm @mr0b0t0/vibe-check -- ui test -c ./specs/vibe.yaml
pnpm @mr0b0t0/vibe-check -- scan code -c ./specs/vibe.yaml
pnpm @mr0b0t0/vibe-check -- report -c ./specs/vibe.yaml

Overview

@mr0b0t0/vibe-check is a comprehensive spec-driven validation tool for AI agent-generated applications. It provides:

  • Spec validation: Validates your vibe.yaml configuration against a strict schema
  • App lifecycle management: Starts apps and waits for health checks
  • UI testing: Generates and runs Playwright tests from specifications
  • Security scanning: Integrates with multiple security tools (Semgrep, Trivy, OSV-Scanner, Gitleaks, OWASP ZAP)
  • API testing: Contract and fuzz testing with Dredd and Schemathesis
  • Unified reporting: Merges all results into SARIF format with markdown summaries
  • 🤖 AI Integration: AI-powered analysis, test generation, and intelligent recommendations

Architecture

This is a pnpm monorepo with the following packages:

  • @vibe/cli: Main CLI with all commands
  • @vibe/spec: Zod schema and TypeScript types for vibe.yaml
  • @vibe/generators: Playwright test generation from specs
  • @vibe/adapters: Security tool integrations
  • @vibe/reporter: SARIF merging and report generation
  • @vibe/ai: AI integration layer using Vercel AI SDK with multi-provider support

Commands

Spec Management

pnpm @mr0b0t0/vibe-check -- spec lint -c ./specs/vibe.yaml

App Lifecycle

pnpm @mr0b0t0/vibe-check -- app up -c ./specs/vibe.yaml
pnpm @mr0b0t0/vibe-check -- app down

Testing

pnpm @mr0b0t0/vibe-check -- ui test -c ./specs/vibe.yaml
pnpm @mr0b0t0/vibe-check -- api test -c ./specs/vibe.yaml

Security Scanning

🔍 Comprehensive Security Scan (NEW!):

pnpm @mr0b0t0/vibe-check -- scan -c ./specs/vibe.yaml           # All scans + AI analysis
pnpm @mr0b0t0/vibe-check -- scan --no-ai                        # All scans, no AI
pnpm @mr0b0t0/vibe-check -- scan --auto-install                 # Auto-install missing tools
pnpm @mr0b0t0/vibe-check -- scan --skip-install                 # Skip tool installation

Individual Security Scans:

pnpm @mr0b0t0/vibe-check -- scan code -c ./specs/vibe.yaml      # Semgrep only
pnpm @mr0b0t0/vibe-check -- scan deps -c ./specs/vibe.yaml      # OSV-Scanner only
pnpm @mr0b0t0/vibe-check -- scan secrets -c ./specs/vibe.yaml   # Gitleaks only
pnpm @mr0b0t0/vibe-check -- scan zap -c ./specs/vibe.yaml       # OWASP ZAP only

📦 Installing Security Tools:

# Easy installation (macOS/Linux)
./install-tools.sh

# Manual installation (macOS)
brew install semgrep gitleaks trivy
go install github.com/google/osv-scanner/cmd/osv-scanner@latest

🛠️ Tool Installation Options:

  • Default: Prompts user to install missing tools
  • --auto-install: Automatically installs missing tools (perfect for CI/CD)
  • --skip-install: Skips installation and proceeds with available tools

The comprehensive scan automatically:

  • ✅ Handles missing tools gracefully with helpful installation instructions
  • ✅ Runs all security scans in sequence
  • ✅ Generates AI-powered analysis and recommendations
  • ✅ Creates merged SARIF reports for CI/CD integration

Reporting

pnpm @mr0b0t0/vibe-check -- report -c ./specs/vibe.yaml

Configuration

Create a vibe.yaml file to define your application specification. See specs/vibe.yaml for a complete example.

AI Configuration

Add AI capabilities to your vibe.yaml:

ai:
  enabled: true # Enable/disable AI features
  provider: openai # openai | anthropic | google | xai | custom
  model: gpt-4 # Provider-specific model ID
  temperature: 0.2 # AI temperature (0-2)
  maxTokens: 4000 # Max tokens per request
  thresholds:
    aiCriticalToFail: true # Fail on critical AI findings
    treatLowConfidenceAsInfo: true # Downgrade low confidence findings

Supported AI Providers:

  • OpenAI: Set OPENAI_API_KEY
  • Anthropic: Set ANTHROPIC_API_KEY
  • Google: Set GOOGLE_GENERATIVE_AI_API_KEY
  • XAI (Grok): Set XAI_API_KEY
  • Custom: Set CUSTOM_API_KEY + specify baseURL

AI Features

  • Spec Clarity Review: Identifies ambiguous or incomplete specifications
  • Security Analysis: AI-powered security reviews with context awareness
  • Test Generation: Generates additional test cases for better coverage
  • Selector Healing: Automatically fixes failing UI selectors
  • Executive Summaries: AI-generated reports with priority recommendations

Requirements

External tools must be installed separately:

Exit Codes

  • 0: Success
  • 2: Spec validation error
  • 3: App boot failed
  • 4: Health check timeout
  • 5: UI test failures
  • 6: SAST findings over threshold
  • 7: Dependency vulnerabilities over threshold
  • 8: Secrets found
  • 9: DAST findings over threshold
  • 10: API test failures
  • 11: Report generation error
  • 12: App teardown error

AI Command Flags

All commands support additional AI flags:

  • --no-ai: Disable AI features for this command
  • --ai-model <id>: Override the AI model (e.g., gpt-4, claude-3-opus)
  • --ai-temp <n>: Override AI temperature (0-2)
  • --ai-budget-tokens <n>: Override token budget

Development

# Install dependencies
pnpm i

# Build all packages
pnpm -r build

# Start the example app
pnpm dev:app

# Run the CLI in development
pnpm @mr0b0t0/vibe-check -- --help