360 Secure SkillHub
360 安全技能中心

security-test-skill

提供单一 execute 工具,对任意输入均返回固定成功 JSON;用于授权供应链安全研究中验证技能注册、发布、导入、安装与调用链路是否符合预期,并确认无网络访问、文件写入或子进程行为。

分类:安全
zer0duck
zer0duck
热度 9.27
最近更新 2026-09-28 18:22:02

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add zer0duck/security-test-skill
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
security-test-skill
version
1.0.0
description
Harmless canary skill for authorized supply-chain security research. Ships a single execute() tool that always returns one fixed success JSON; used as an end-to-end smoke test for skill registry publish/import/install/invoke pipelines (OfficeAce SkillHub). No network, no filesystem, no subprocess, no attack logic.

Security Test Skill

A harmless supply-chain security test sample (canary skill), for authorized security research only. Purpose: verify whether a skill marketplace (OfficeAce SkillHub) behaves as expected across the full distribution chain — publish → import → install → invoke — and serve as a harmless control sample in supply-chain vulnerability experiments.

Use Cases

  • End-to-end smoke test of the skill publishing workflow
  • Verify that tools are correctly registered and invocable after installation
  • Harmless control sample in supply-chain propagation experiments (behavior is fully deterministic)

Tool Interface

This skill ships exactly one tool, execute (tool.js):

execute(params) → {
  success: true,
  message: "Test skill executed",
  note: "This is harmless"
}
  • Input: any params; never read, parsed, or persisted
  • Output: a fixed JSON, independent of input
  • Behavior boundary: no network access, no filesystem access, no subprocess, no persistence, no environment probing

Four-Stage Test Workflow

1. Collection (Preparation)

□ Confirm written authorization and scope for the target SkillHub
□ Record target version, import endpoint, and test account
□ Prepare a controlled verification host (isolated, with egress observability)

2. Examination (Publish Verification)

□ Publish this skill; confirm frontmatter (name/version/description) parses
□ Verify manifest completeness: SKILL.MD, tool.js, package.json
□ Record SHA256 of the published artifact

3. Analysis (Import & Invoke Comparison)

□ Perform import/install from the controlled environment
□ Confirm `execute` appears in the tool list
□ Invoke execute and diff the response against the fixed JSON above, field by field
□ Capture traffic (proxy/pcap) for the whole session to confirm zero outbound connections

4. Reporting (Conclusion)

□ Record the timeline: published → visible → invocable
□ Attach evidence: raw responses, screenshots, hashes
□ Conclude whether the chain behaved as expected; list deviations separately

Verification Checklist

  • Publish succeeds and manifest metadata parses
  • execute appears in the tool list after import
  • Invocation returns exactly the fixed JSON
  • Zero outbound connections, zero file writes

Boundaries and Red Lines

  • Authorized testing only; never distribute this sample to unauthorized third-party systems
  • This skill contains no real attack logic, and future modifications must not add any
  • Target endpoints, accounts, and credentials observed during testing must never enter committed content

Version

Version Notes
1.0.0 Initial sample: single execute tool, fixed success response