Back to skill

Security audit

Go Doc Comments

Security checks for vulnerabilities and agentic risk

Overview

This skill is a coherent Go documentation helper with no hidden execution, credential use, persistence, or unrelated data access found.

Install it project-scoped if you only want it active for one repository; user-scoped installation makes it available across projects. Expect it to read and edit Go source comments when you ask for documentation work.

Vulnerability Patterns
  • 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
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (7)

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

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

❌ Redundant / obvious / noise comments (inside bodies)

go
i++            // increment i          ← delete
// loop over items                     ← delete; the loop is self-evident

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
85% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

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

Install this skill for me: https://github.com/rroy233/go-doc-comments-skill

text

The agent will clone the repository into the appropriate skills directory (`.claude/skills/` for project scope or `~/.claude/skills/` for user scope) and confirm the skill is available.

### Claude Code

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
85% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · README.zh-CN.md (reported line 38)May include surrounding context.

帮我安装这个 skill:https://github.com/rroy233/go-doc-comments-skill

text

agent 会把仓库克隆到合适的 skills 目录(项目级 `.claude/skills/` 或用户级 `~/.claude/skills/`),并确认 skill 已可用。

### Claude Code

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
85% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · README.zh-CN.md (reported line 38)May include surrounding context.

帮我安装这个 skill:https://github.com/rroy233/go-doc-comments-skill

text

agent 会把仓库克隆到合适的 skills 目录(项目级 `.claude/skills/` 或用户级 `~/.claude/skills/`),并确认 skill 已可用。

### Claude Code

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The README says the skill will auto-activate when the user mentions '给 Go 代码写注释', which is a broad natural-language trigger that can overlap with ordinary coding requests. It does not provide clear scope limits or negative examples distinguishing when the skill should and should not activate.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
91% confidence
Finding

The text states that the skill automatically preserves the existing comment language, but defaults to English when none exists. This is a natural-language locale policy choice without explicit user opt-in, which can conflict with organizational expectations for user language preference.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
84% confidence
Finding

The guidance says to match the existing comment language, but if none exists it instructs authors to default to English. This is a natural-language locale policy constraint applied without offering a user choice or opt-in, which fits the language/locale policy violation category.

Content

No source excerpt is available for this finding.