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

fivosense-mcp

v0.2.0

Published

MCP server for FivoSense security scanner

Downloads

31

Readme

FivoSense MCP Server

Model Context Protocol server for FivoSense security scanner. Enables AI agents (Claude, GPT, etc.) to use FivoSense for real-time security scanning.

Installation

cd mcp
npm install

Usage

With Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "fivosense": {
      "command": "node",
      "args": ["/path/to/fivosense/mcp/index.js"]
    }
  }
}

With Kilo

Add to your Kilo config (~/.config/kilo/kilo.json):

{
  "mcpServers": {
    "fivosense": {
      "command": "node",
      "args": ["/path/to/fivosense/mcp/index.js"]
    }
  }
}

Standalone

node index.js

Available Tools

1. scan_file

Scan a file for security vulnerabilities.

Input:

  • filepath (string): Path to file to scan

Output:

{
  "summary": {
    "file": "src/api.js",
    "totalFindings": 3,
    "critical": 2,
    "high": 1,
    "medium": 0,
    "low": 0
  },
  "findings": [
    {
      "type": "SQL Injection",
      "severity": "critical",
      "message": "Untrusted input flows to SQL query",
      "source": "req.query.id",
      "sink": "db.execute",
      "cwe": "CWE-89",
      "line": 15,
      "evidence": "req.query.id → query → db.execute()",
      "fix": "Use parameterized queries"
    }
  ]
}

2. scan_code

Scan code snippet without requiring a file.

Input:

  • code (string): Code to analyze
  • filename (string, optional): Virtual filename

Output: Same as scan_file

3. check_pattern

Quick check for specific vulnerability patterns.

Input:

  • code (string): Code to check
  • patterns (array): Patterns to check - ["sql", "xss", "command", "secrets", "destructive"]

Output:

{
  "sql": true,
  "xss": false,
  "secrets": true,
  "command": false,
  "destructive": false
}

Example Agent Usage

Claude/GPT with MCP

User: "Create a user search API endpoint"

Agent: Let me create the endpoint and scan it for security issues.

*Creates file src/api/search.js*

*Calls scan_file tool with filepath="src/api/search.js"*

Tool Response:
{
  "summary": { "critical": 1, ... },
  "findings": [{
    "type": "SQL Injection",
    "severity": "critical",
    "fix": "Use parameterized queries"
  }]
}

Agent: I found a critical SQL injection vulnerability. Let me fix it with parameterized queries.

*Updates file with fix*
*Re-scans to verify*

Tool Response:
{
  "summary": { "totalFindings": 0 }
}

Agent: ✅ Security scan passed. The endpoint is now secure.

Features

  • Real-time scanning: Scan code as it's generated
  • Taint-trace proofs: Exact evidence of vulnerability paths
  • Auto-fix suggestions: Specific remediation guidance
  • 433 detection patterns: SQL, XSS, SSRF, XXE, LDAP, SSTI, JWT, GraphQL, command injection, secrets, destructive commands
  • Zero dependencies: Uses FivoSense npm package

License

MIT