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

opencode-api-security-testing

v5.5.0

Published

API Security Testing Plugin for OpenCode - Automated vulnerability scanning and penetration testing

Downloads

853

Readme

API Security Testing Plugin

OpenCode 插件,提供完整的 API 安全测试能力。

安装

npm install opencode-api-security-testing

配置

opencode.json 中添加:

{
  "plugin": ["opencode-api-security-testing"]
}

Agents (4个)

| Agent | 模式 | 描述 | |-------|------|------| | @api-cyber-supervisor | Primary | 编排者,协调完整扫描流程,永不停止 | | @api-probing-miner | Subagent | 漏洞挖掘专家 | | @api-resource-specialist | Subagent | 资源探测专家 | | @api-vuln-verifier | Subagent | 漏洞验证专家 |

Tools (10个)

| Tool | 功能 | 调用方式 | |------|------|---------| | api_security_scan | 完整 API 安全扫描 | api_security_scan target="url" | | api_fuzz_test | API 模糊测试 | api_fuzz_test endpoint="url" | | browser_collect | 浏览器采集动态内容 | browser_collect url="url" | | js_parse | JavaScript 文件解析 | js_parse file_path="/path/to/file.js" | | graphql_test | GraphQL 安全测试 | graphql_test endpoint="url" | | cloud_storage_test | 云存储安全测试 | cloud_storage_test bucket_url="url" | | vuln_verify | 漏洞验证 | vuln_verify vuln_type="sqli" endpoint="url" | | sqli_test | SQL 注入测试 | sqli_test endpoint="url" param="id" | | idor_test | IDOR 越权测试 | idor_test endpoint="url" resource_id="1" | | auth_test | 认证安全测试 | auth_test endpoint="url" |

使用方式

方式一:使用 Agent(推荐)

@api-cyber-supervisor 对 https://example.com 进行全面安全测试

方式二:使用 Skill

skill({ name: "api-security-testing" })

方式三:直接使用 Tool

api_security_scan target="https://example.com" scan_type="full"

依赖

Python 依赖会自动安装。也可手动安装:

pip install -r skills/api-security-testing/requirements.txt

重要

仅用于合法授权的安全测试,测试前确保有书面授权。