一键导入
plugin-dev
A skill for developing and integrating new vulnerability scanning plugins for the Zero Trust Vulnerability Scanner (ZTVS).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
A skill for developing and integrating new vulnerability scanning plugins for the Zero Trust Vulnerability Scanner (ZTVS).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
A structured methodology for managing version control, remotes, and pull requests within the ZTVS repository.
Consolidates the standards for professional, gold-standard open-source development.
Create, view, and manage Pull Requests on GitHub.
| name | plugin-dev |
| description | A skill for developing and integrating new vulnerability scanning plugins for the Zero Trust Vulnerability Scanner (ZTVS). |
This skill enables the development and integration of new vulnerability scanning plugins for the Zero Trust Vulnerability Scanner (ZTVS).
ZTVS plugins are separate Go executables that communicate with the Host via JSON-RPC 2.0 over stdin and stdout.
Plugins MUST reside in plugins/<plugin-name>/.
Create a main.go and a separate file for each security check (e.g., ssh_check.go).
Use github.com/mosesgameli/ztvs-sdk-go/sdk to simplify the build process.
package main
import (
"github.com/mosesgameli/ztvs-sdk-go/sdk"
"context"
)
func main() {
sdk.Run(sdk.Metadata{
Name: "plugin-example",
Version: "1.0.0",
APIVersion: 1,
}, []sdk.Check{
&MyCheck{},
})
}
type MyCheck struct{}
func (c *MyCheck) ID() string { return "example_check" }
func (c *MyCheck) Name() string { return "Example Security Check" }
func (c *MyCheck) Run(ctx context.Context) (*sdk.Finding, error) {
// Implement security logic here
return &sdk.Finding{
ID: "F-EX-001",
Severity: "medium",
Title: "Example finding",
Description: "Something was found",
}, nil
}
APIVersion: 1 is used.--rpc flag (handled by sdk.Run).go build -o plugin-example ./plugins/plugin-example./zt scan and ensure the new plugin is listed.Evidence (e.g., file paths, command output) in the finding.