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

ai-hacker-mcp

v1.0.3

Published

MCP server for Kali Linux penetration testing - provides system prompts and tool listing for AI-assisted security testing

Readme

Kali MCP Server for iFlow CLI

MCP服务器,用于在iFlow CLI平台上进行AI辅助的渗透测试。

功能

  • 提供渗透测试角色扮演的system提示词
  • 获取当前Kali系统中已安装的安全工具列表
  • 配合iFlow CLI实现自动化渗透测试

在iFlow CLI中使用

1. 安装

npm install -g ai-hacker-mcp

或使用npx直接运行:

npx -y ai-hacker-mcp

2. 配置iFlow CLI

在iFlow CLI的配置文件中添加MCP服务器:

{
  "mcpServers": {
    "kali-pentest": {
      "command": "npx",
      "args": ["-y", "ai-hacker-mcp"]
    }
  }
}

3. 使用

启动iFlow CLI后,AI将自动获得渗透测试角色和能力:

  1. AI会自动调用 list_kali_tools 获取可用工具
  2. 根据目标选择合适的工具
  3. 通过iFlow CLI的终端执行工具(使用 ! 命令)
  4. 分析结果并提供安全建议

System Prompt

查看 system-prompt.md 了解完整的角色扮演指令和工作流程。

可用工具

list_kali_tools

列出当前Kali系统中已安装的安全和渗透测试工具

参数:

  • category (可选):按类别过滤工具(如:information-gathering, vulnerability-analysis, web-applications, password-attacks, exploitation等)

示例

在iFlow CLI中:

> 开始对 target.com 进行渗透测试

AI会自动:
1. 调用 list_kali_tools 查看可用工具
2. 选择合适的工具(如 nmap, gobuster, sqlmap等)
3. 通过 !nmap -sV target.com 等命令执行测试
4. 分析结果并提供建议

开发

npm install
npm start

发布到npm

  1. 更新package.json中的name字段为你的npm包名
  2. 运行:npm publish

注意事项

  • 仅在合法授权的范围内使用
  • 本工具用于教育和安全测试目的
  • 未经授权的渗透测试是违法的