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

dsh-plugin-hos-forge-v2

v1.0.0

Published

AI Native Cybersecurity Plugin for DSH CLI - MCP Integrated Version

Downloads

165

Readme

dsh-plugin-hos-forge-v2

AI Native Cybersecurity Plugin for DSH CLI - MCP Integrated Version

🎯 设计理念

这个插件不重复造轮子,而是:

  1. 集成现有 MCP 工具 — 利用 DSH 已有的 MCP 生态系统
  2. 复用 HOS 安全引擎 — 基于 HOS_SKILL_WORKFLOW
  3. 配置驱动 — 在设置界面配置 API Key,而不是硬编码
  4. 工具编排 — 作为 MCP 工具的编排层,而不是直接调用 API

✨ 核心特性

| 特性 | 说明 | |------|------| | MCP 工具编排 | 复用 DSH 内置工具(web-search 等免费工具) | | HOS 安全引擎 | 基于 S-00-HOS-Sec-Engine 的安全分析 | | 配置驱动 | 在 DSH 设置界面配置,灵活启用/禁用工具 | | 多工具集成 | Semgrep、Nuclei、Nmap、SQLMap 等 |

🚀 安装

npm install -g dsh-plugin-hos-forge-v2

📖 使用

CLI 命令

# 安全分析(使用 MCP 工具)
dsh hos-forge analyze ./src --tools semgrep,nuclei

# 漏洞扫描
dsh hos-forge scan ./project --type full

# 安全审计
dsh hos-forge audit ./codebase --standard owasp

# 实时监控
dsh hos-forge monitor --port 3000

# 查看可用工具
dsh hos-forge tools

# 查看配置
dsh hos-forge config

MCP 工具配置

在 DSH 设置界面配置:

{
  "mcp": {
    "tools": {
      "semgrep": {
        "enabled": true,
        "path": "/usr/local/bin/semgrep"
      },
      "nuclei": {
        "enabled": true,
        "path": "/usr/local/bin/nuclei"
      },
      "web-search": {
        "enabled": true,
        "provider": "dsbuiltin"
      }
    }
  }
}

🏗️ 架构

用户请求 → CLI → MCP 工具编排器 → MCP 工具(免费) → 结果聚合 → HOS 安全引擎 → 返回结果

核心组件:

  • MCPToolOrchestrator — 管理和调用 MCP 工具
  • HOSSecurityEngine — 安全分析引擎
  • ConfigManager — 配置管理

📚 文档

📄 许可证

MIT License


Made with ❤️ by the HOS Team