Back to skill

Security audit

Cn Hex Decoder

Security checks for vulnerabilities and agentic risk

Overview

This is a small local hex encode/decode helper with no evidence of hidden access, persistence, or data exfiltration.

Installation appears low risk for users who want a simple local converter. Be aware that some documented features, such as color parsing, do not work in the provided script, and error messages are in Chinese.

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 (1)

Natural-Language Policy Violations

Low
Confidence
95% confidence
Finding
This code emits a user-facing error message only in Chinese: '用法: hex_decoder.py encode/decode <text>'. The policy scope includes language/locale constraints in natural-language strings, and this file does not offer any user language choice or document a justified locale restriction.

Static analysis

No suspicious patterns detected.