Back to skill

Security audit

Pywayne Bin Cmdlogger

Security checks for vulnerabilities and agentic risk

Overview

This skill is a documented command-output logger; its main risk is that logs can include sensitive input such as passwords.

Install only if you intentionally want command I/O recorded to disk. Avoid using it around passwords, tokens, private keys, or sensitive interactive sessions unless the log path and retention are acceptable.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

Vague Triggers

Medium
Confidence
91% confidence
Finding
The description says the skill is triggered by requests to "log, record, monitor, or trace command execution," which includes very broad verbs that overlap with common user phrasing. It does not define a narrow trigger list, exclusions, or boundaries for when this skill should activate versus other logging or monitoring-related skills.

External Transmission

Medium
Category
Data Exfiltration
Content
```bash
# Log curl request with verbose output
cmdlogger --log-path api_test.log curl -v https://api.example.com/data

# Log SSH connection process
cmdlogger --log-path ssh_session.log ssh user@remote-host
Confidence
50% confidence
Finding
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Natural-Language Policy Violations

Medium
Confidence
97% confidence
Finding
The documented log format uses Chinese-only stream prefixes (`输入`, `输出`, `错误`) with no indication that users can choose another language or that the locale is intentionally region-specific. This creates a language-policy concern because the skill appears to impose a specific language without user opt-in.

Static analysis

No suspicious patterns detected.