Back to skill

Security audit

test-sample-skill

Security checks for vulnerabilities and agentic risk

Overview

This is a simple sample skill for packaging and import tests, with no code execution, data access, persistence, or hidden high-impact behavior.

Reasonable to install for sample packaging or import testing. Users who do not want Chinese-language output may want the maintainer to localize the optional confirmation and reference text.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (2)

Natural-Language Policy Violations

Medium
Confidence
88% confidence
Finding
The instruction says the agent may confirm with a brief Chinese sentence, which imposes a specific language in the skill's behavior. The file does not offer an opt-in or alternative language choice, so this is a natural-language locale policy concern.

Natural-Language Policy Violations

Low
Confidence
91% confidence
Finding
This markdown file contains user-facing natural language in Chinese at the title line, but it does not indicate that the language is optional or limited to a justified region-specific context. The policy requires flagging language or locale constraints when a specific language is effectively forced without user opt-in.

Static analysis

No suspicious patterns detected.