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-pentester

v1.0.0

Published

Minimal Root-Orchestrator PTES pentesting plugin for DeepSeek Harness

Readme

dsh-pentester

面向 DeepSeek Harness 的最小化 Root-Orchestrator PTES 渗透测试插件。

唯一事实来源是 docs/plan.md;架构视图见 docs/architecture.md,磁盘布局见 docs/workspace.md,领域术语见 CONTEXT.md

心智模型

User ⇄ DSH Root Session(pentester persona preset)
   → Root 是唯一 Orchestrator:判断缺口、派发 Delegation、决定推进/回溯阶段
   → Root 工具面 4 个:pentester_delegate / pentester_cancel_delegation /
     pentester_advance_stage / pentester_rollback_stage
   → Root 每次 reasoning 前注入 compact run state(target/branch/stage/delegations)
Delegation(并行多个)= 各一个 DSH child session(AgentProfile + 不可变 task_prompt)
   → Worker 工具只有 pentester_container_exec(dockerode;Root 不可见)
   → Worker 写完 result.md 即完成任务(完成标志);缺失 → failed
Deliverable = 文件(workspace/stages/<NN>-<stage>/delegations/D-00N/)

安装

# github 源
dsh plugin --profile web add github:fb0sh/dsh-pentester
# npm 源
dsh plugin --profile web add dsh-pentester

布局

| 目录/文件 | 职责 | | --- | --- | | src/ | model/stages/profiles/store、workspace/git、dsh/delegations/tools/worker-tools、docker/(host/connection/images/runtime)、rpc/settings-store、index | | src/ui/client/ | Settings 的 “Pentester Config” 页(Tab:Docker Engine) | | agents/*/profile.yml | 7 个 AgentProfile(systemPrompt/skills/mcpServers) | | docker/ | Toolbox Dockerfile(kali 等,镜像白名单来源) | | presets/pentester/ | Root persona preset + run-state.mjs(工具面限制 + 动态状态注入) |

开发

pnpm run check   # typecheck + build(含 client bundle)
pnpm test        # node --test

Docker host 优先级:Settings(settings.json)> 插件配置 > 本地 socket 自动发现 > DOCKER_HOST > 默认 socket。本地 Docker 用 bind mount(host workspace == 容器 /workspace);远程 daemon 用共享 volume,阶段边界才做 mirror sync。