Back to skill

Security audit

Go Vuln Auth Bypass

Security checks for vulnerabilities and agentic risk

Overview

This skill is a static Go security-audit guide with no executable code, persistence, network behavior, or hidden privilege requests.

Install this only if Chinese-language Go authentication and authorization audit guidance is useful to you. Treat the exploit paths as review examples, and run any suggested grep searches only against codebases you are authorized to assess.

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
  • System Prompt LeakageDirect Leakage, Indirect Extraction, Tool-Based Exfiltration
  • 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 (3)

Direct Prompt Extraction

High
Category
System Prompt Leakage
Content
// nginx 可能已规范化了实际路径,但 Authelia 看到的是原始路径
    for _, rule := range p.rules {
        if rule.Match(originalURL) {
            return rule.Policy == "allow", nil
        }
    }
    return false, nil
Confidence
85% confidence
Finding
Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.

Natural-Language Policy Violations

Medium
Confidence
94% confidence
Finding
The skill body instructs and presents its operating guidance in Chinese, including the activation instruction on L08 and the generalized detection model statement on L12, while the manifest metadata is in English. This creates a language/locale policy issue because the skill effectively imposes a specific language without opt-in or explanation that it is region-specific.

Natural-Language Policy Violations

Medium
Confidence
93% confidence
Finding
This markdown file presents its instructional content in Chinese only ('7 个真实 Go 认证/授权绕过漏洞案例...') with no indication that language selection is optional or that the file is intended for a Chinese-only audience. Under the policy, forcing a specific language without user opt-in is a natural-language locale violation.

Static analysis

No suspicious patterns detected.