Back to skill

Security audit

workbuddy SkillHub skill 自动发布

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious because its publisher script was flagged for following symbolic links outside the skill directory, which could expose private files during packaging; analysis was also incomplete.

Consider the skill risky to install until the publisher script’s packaging behavior and the incomplete analysis have been reviewed. In particular, verify that packaging cannot include files reached through symbolic links outside the skill directory; the scan does not establish that private files were actually disclosed.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (1)

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/skillhub-publish.mjs
Finding

Packaging follows symbolic links outside the authorized Skill directory

Content
View full analysis

Impact

Readable credentials or other private files can be included under innocuous archive names and disclosed to the publishing service, potentially becoming downloadable with the published Skill.

Vulnerability Patterns
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (17)

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 24)May include surrounding context.

md
- 本地目录必须有 `SKILL.md`、`manifest.yaml`、`LICENSE` 和清单 `icon` 指向的 512×512 PNG(未填写时依次识别根目录或 `assets/icon-512.png`)。

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 35)May include surrounding context.

md
node scripts/skillhub-publish.mjs validate /绝对路径/skill-dir

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 36)May include surrounding context.

md
node scripts/skillhub-publish.mjs plan /绝对路径/skill-dir

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 37)May include surrounding context.

md
node scripts/skillhub-publish.mjs package /绝对路径/skill-dir

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 38)May include surrounding context.

md
node scripts/skillhub-publish.mjs preflight

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 39)May include surrounding context.

md
node scripts/skillhub-publish.mjs publish /绝对路径/skill-dir --browser-id <browserId>

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 40)May include surrounding context.

md
node scripts/skillhub-publish.mjs publish /绝对路径/skill-dir --display-name "自媒体"

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 41)May include surrounding context.

md
node scripts/skillhub-publish.mjs publish /绝对路径/skill-dir --display-name "自媒体" --update

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 42)May include surrounding context.

md
node scripts/skillhub-publish.mjs publish /绝对路径/skill-dir --display-name "自媒体" --fill-only

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 43)May include surrounding context.

md
node scripts/skillhub-publish.mjs readback /绝对路径/skill-dir --browser-id <browserId>

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 89)May include surrounding context.

md
node scripts/skillhub-publish.mjs self-test

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/skillhub-publish.mjs (reported line 15)May include surrounding context.

js
const REQUIRED_FILES = ["SKILL.md", "manifest.yaml", "LICENSE"];
const ZIP_EXCLUDES = [
  ".git/*", ".factory/*", ".playwright-cli/*", "dist/*", "node_modules/*", "output/*", ".gitignore", ".DS_Store", "LICENSE", "LICENSE-CONTENT",
  ".env", ".env.*", ".keep", "*/.keep", "icon-source.svg", "*/icon-source.svg", "*/__pycache__/*", "*.pyc", "*.pem", "*.key", "*.p12", "*.pfx",
];

function fail(code, message, details = {}) {

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/skillhub-publish.mjs (reported line 1028)May include surrounding context.

js
await writeFile(join(dir, "LICENSE-CONTENT"), "Third-party content terms\n");
  await writeFile(join(dir, "assets", "icon-512.png"), png);
  await writeFile(join(dir, ".gitignore"), "dist/\n");
  await writeFile(join(dir, ".env"), "SHOULD_NOT_BE_PACKAGED=1\n");
  await writeFile(join(dir, "assets", ".keep"), "");
  await writeFile(join(dir, "assets", "icon-source.svg"), "<svg/>\n");
  await writeFile(join(dir, ".factory", "progress.json"), "{}\n");

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/skillhub-publish.mjs (reported line 1038)May include surrounding context.

js
try {
    const checked = await validateSkill(dir);
    const packaged = await packageSkill(dir, checked);
    const bad = packaged.entries.some((entry) => entry.startsWith(".git/") || entry.startsWith("dist/") || entry.startsWith(".factory/") || entry.startsWith(".playwright-cli/") || entry.startsWith("output/") || entry === ".gitignore" || entry === ".env" || entry.endsWith("/.keep") || entry.endsWith("/icon-source.svg") || entry === "icon-source.svg" || entry.includes("/__pycache__/") || entry.endsWith(".pyc"));
    if (bad) fail("self-test-failed", "zip 包含被排除的过程文件");
    if (packaged.entries.includes("LICENSE")) fail("self-test-failed", "SkillHub 上传包不应包含 LICENSE");
    if (packaged.entries.includes("LICENSE-CONTENT")) fail("self-test-failed", "SkillHub 上传包不应包含 LICENSE-CONTENT");

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env, network.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

Scope Creep

Low
Category
Excessive Agency
Confidence
70% confidence
Finding

Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.

Content

Scanner excerpt · LICENSE (reported line 12)May include surrounding context.

text
permit persons to whom the Software is furnished to do so.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE

The workflow requires a Chinese-language summary without user opt-in or an explained platform requirement.

Low
Category
Output Handling
Confidence
90% confidence
Finding

Step 5 instructs the agent to fill in a “中文简介” (Chinese-language summary), imposing a specific output language. The skill neither offers a language choice nor explains that SkillHub requires Chinese for this field.

Content

No source excerpt is available for this finding.