Back to skill

Security audit

Cn Base64 Tools

Security checks for vulnerabilities and agentic risk

Overview

This is a simple local Base64 helper with some documentation accuracy issues but no evidence of hidden access, persistence, exfiltration, or destructive behavior.

This skill appears safe to install for basic local text Base64 encoding and decoding, but expect limited functionality: URL-safe mode, file conversion, and some documented command examples are not actually supported by the bundled script.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • 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)

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The code matches part of the declared purpose: it provides standard Base64 text encoding and decoding in pure Python with no external API usage. However, the description claims broader functionality, specifically URL-safe Base64 support and file Base64 conversion, neither of which appears in the code. There are no undeclared dangerous capabilities or inconsistent resource accesses, but the declared functionality materially overstates what the implementation actually does.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The trigger text says to use the skill whenever the user needs Base64 encoding or decoding, but it does not define specific trigger phrases, exclusions, or scope boundaries. This broad natural-language condition could cause unintended invocation for general discussion, explanation, or troubleshooting requests related to Base64 rather than explicit tool use.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
97% confidence
Finding

This code file includes a user-facing string literal that forces a specific language/locale ('用法') for the CLI help output. The policy allows locale constraints only when justified or when the user is offered a choice, neither of which is present here.

Content

No source excerpt is available for this finding.