Back to skill

Security audit

Computer

Security checks for vulnerabilities and agentic risk

Overview

The skill is a broad computer-management guide with disclosed but under-scoped commands that can change system settings, disrupt services, capture traffic, schedule reports, or run commands on remote hosts.

Install only if you want a powerful system-administration reference and are prepared to review every suggested command before running it. Treat optimization, benchmark, packet-capture, remote, crontab, and sudo examples as manual expert operations requiring explicit consent, target validation, backups or rollback steps, and awareness of what data may be captured or transmitted.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (1)

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:112
Finding

Unsafe Benchmarking and System-Tuning Commands May Cause Data Loss or Service Disruption

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 112-119, 334-373, and 517-520
Vulnerability Type: T09: Insecure Skill Coding Practices
Risk Level: Medium

Vulnerable Code

bash
dd if=/dev/zero of=testfile bs=1M count=1000 oflag=direct
dd if=testfile of=/dev/null bs=1M count=1000 iflag=direct

fio --name=randread --filename=test --rw=randread --bs=4k --iodepth=64 --size=1G --numjobs=4 --runtime=60 --group_reporting
bash
echo "performance" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
echo "powersave" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

echo 3 | sudo tee /proc/sys/vm/drop_caches

echo noop | sudo tee /sys/block/sda/queue/scheduler
echo 0 | sudo tee /sys/block/sda/queue/read_ahead_kb

sysctl -w net.core.rmem_max=134217728
sysctl -w net.core.wmem_max=134217728
bash
sudo hdparm -tT /dev/sda

fio --name=seqwrite --filename=test --rw=write --bs=1M --size=1G --numjobs=1 --time_based --runtime=60

Technical Analysis

The Skill presents directly executable disk benchmarking and privileged system-tuning commands without requiring target validation, free-space checks, backups, explicit user confirmation, or rollback procedures.

The dd and fio examples use predictable generic paths such as testfile and test. These commands can overwrite existing files in the current directory and consume at least 1 GB of storage. The write benchmark may also impose substantial I/O load and adversely affect other workloads.

The tuning examples modify live kernel and hardware-related settings. Clearing filesystem caches can temporarily degrade system performance, while changing CPU governors, network buffers, block-device schedulers, and read-ahead settings can disrupt workloads or be unsuitable for the actual hardware. The hard-coded /dev/sda target assumes a specific device layout without verifying that it is the intended disk ...[truncated 1887 chars]

Remediation
View remediation

Remediation Suggestions

  1. Default to read-only diagnostics and provide mutating optimization commands only after explicit user approval.
  2. Require confirmation immediately before every privileged command or benchmark that writes data.
  3. Create benchmark files in a newly generated private temporary directory, using exclusive creation to prevent overwrites and link-based attacks.
  4. Check available disk capacity and filesystem quotas before allocating benchmark files.
  5. Verify the selected block device through lsblk, mount information, and stable device identifiers instead of assuming /dev/sda.
  6. Warn users about benchmark duration, expected disk usage, I/O load, and possible effects on active services.
  7. Record existing kernel and device settings before modification and provide tested rollback commands.
  8. Avoid applying generic scheduler or read-ahead values without detecting the kernel, storage type, and supported settings.
  9. Clean up benchmark artifacts reliably after completion, including interrupted runs.
  10. Document that scheduled health reporting and external email or Slack notifications require explicit consent and disclosure of the transmitted report contents and destination.
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Rogue AgentSelf-Modification, Session Persistence
Findings (29)

Vague Triggers

High
Category
Not specified by scanner
Confidence
96% confidence
Finding

The manifest description claims the skill covers 'everything about the physical machine' and broad management, optimization, troubleshooting, and understanding. This overbroad scope makes accidental or opportunistic invocation much more likely for many generic computer-related prompts, increasing the chance that powerful commands are surfaced in inappropriate contexts.

Content

No source excerpt is available for this finding.

Vague Triggers

High
Category
Not specified by scanner
Confidence
95% confidence
Finding

The invocation examples are broad natural-language triggers covering health checks, optimization, diagnostics, monitoring, overclocking, resource management, and binary topics without any exclusions. Combined with the skill's powerful command set, this broad matching increases the risk of the agent selecting the skill for ambiguous requests and presenting unsafe operations.

Content

No source excerpt is available for this finding.

Missing User Warnings

High
Category
Not specified by scanner
Confidence
96% confidence
Finding

This section contains system-altering commands that modify scheduler settings, CPU governor, cache behavior, swap tuning, disk scheduler, read-ahead, and network buffers, several with root privileges. Without prominent warnings, validation, rollback guidance, or confirmation requirements, users may apply harmful changes that degrade stability, data integrity, or performance.

Content

No source excerpt is available for this finding.

Chaining Abuse

High
Category
Tool Misuse
Confidence
95% confidence
Finding

Piping unvalidated echoed values into sudo tee normalizes a command-chaining pattern that directly writes to privileged system interfaces. This pattern is dangerous because it is easy to adapt with user-controlled values and encourages one-line privileged state changes without review.

Content

Scanner excerpt · SKILL.md (reported line 334)May include surrounding context.

md
echo 150000 > /proc/sys/kernel/sched_min_granularity_ns

# 启用CPU加速
echo "performance" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

# 节能模式
echo "powersave" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

Chaining Abuse

High
Category
Tool Misuse
Confidence
95% confidence
Finding

This privileged pipeline changes CPU power policy using a terse shell construct that is easy to reuse or generalize unsafely. In a skill likely to be copied verbatim, the chaining pattern lowers friction for risky root-level modifications.

Content

Scanner excerpt · SKILL.md (reported line 337)May include surrounding context.

echo "performance" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

节能模式

echo "powersave" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

text

### 内存优化

Chaining Abuse

High
Category
Tool Misuse
Confidence
96% confidence
Finding

The pipeline writing '3' into drop_caches is a direct privileged state mutation using a generic shell idiom. This creates a reusable pattern for arbitrary root writes and is especially risky because the action is framed as optimization rather than exceptional maintenance.

Content

Scanner excerpt · SKILL.md (reported line 347)May include surrounding context.

md
cat /proc/meminfo | grep -E "MemFree|Cached|Buffers"

# 清理缓存(谨慎)
echo 3 | sudo tee /proc/sys/vm/drop_caches

# 调整swap倾向
sysctl vm.swappiness=10    # 0-100,越小越避免swap

Chaining Abuse

High
Category
Tool Misuse
Confidence
95% confidence
Finding

Using a pipeline to write scheduler settings into sysfs demonstrates a generic mechanism for privileged configuration changes that can be repurposed broadly. The combination of chaining and root access increases the chance of unsafe copy-paste behavior and misconfiguration.

Content

Scanner excerpt · SKILL.md (reported line 360)May include surrounding context.

md
pidstat -d 1 10

# 调整调度器(SSD)
echo noop | sudo tee /sys/block/sda/queue/scheduler

# 预读调整(SSD禁用)
echo 0 | sudo tee /sys/block/sda/queue/read_ahead_kb

Chaining Abuse

High
Category
Tool Misuse
Confidence
95% confidence
Finding

This pipeline directly modifies block device read-ahead through a generic root-write chain. The pattern is unsafe because it encourages arbitrary privileged writes with minimal context, making accidental or intentional misuse easier.

Content

Scanner excerpt · SKILL.md (reported line 363)May include surrounding context.

echo noop | sudo tee /sys/block/sda/queue/scheduler

预读调整(SSD禁用)

echo 0 | sudo tee /sys/block/sda/queue/read_ahead_kb

text

### 网络优化

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill documents remote host command execution via its own remote subcommand and direct SSH usage, despite being described as a local computer-management skill. Remote execution materially increases blast radius by enabling actions against other systems and can facilitate unauthorized administration if broadly auto-invoked.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

Most of the natural-language guidance, headings, and usage explanations are written in Chinese, while the file does not state that the skill is intentionally region-specific or provide an opt-in language choice. This can violate language/locale policy expectations when users have not selected that language.

Content

No source excerpt is available for this finding.

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

Scanner excerpt · SKILL.md (reported line 54)May include surrounding context.

computer specs # 快速规格查看

等效命令

sudo dmidecode --type system # DMI表信息(Linux) system_profiler SPHardwareDataType # macOS硬件报告 wmic computersystem get name,domain,manufacturer,model # Windows

text

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

Scanner excerpt · SKILL.md (reported line 86)May include surrounding context.

computer specs # 快速规格查看

等效命令

sudo dmidecode --type system # DMI表信息(Linux) system_profiler SPHardwareDataType # macOS硬件报告 wmic computersystem get name,domain,manufacturer,model # Windows

text

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

Scanner excerpt · SKILL.md (reported line 87)May include surrounding context.

computer specs # 快速规格查看

等效命令

sudo dmidecode --type system # DMI表信息(Linux) system_profiler SPHardwareDataType # macOS硬件报告 wmic computersystem get name,domain,manufacturer,model # Windows

text

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

Scanner excerpt · SKILL.md (reported line 153)May include surrounding context.

computer specs # 快速规格查看

等效命令

sudo dmidecode --type system # DMI表信息(Linux) system_profiler SPHardwareDataType # macOS硬件报告 wmic computersystem get name,domain,manufacturer,model # Windows

text

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

Scanner excerpt · SKILL.md (reported line 517)May include surrounding context.

computer specs # 快速规格查看

等效命令

sudo dmidecode --type system # DMI表信息(Linux) system_profiler SPHardwareDataType # macOS硬件报告 wmic computersystem get name,domain,manufacturer,model # Windows

text

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The skill combines network capture with bandwidth testing and later automation/notification concepts without any privacy or data-handling warnings. Packet capture can expose credentials, cookies, and private communications, so documenting it in a broad computer skill without consent boundaries is risky.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

The documentation explicitly includes packet capture and traffic inspection commands such as tcpdump and Wireshark, which extend beyond ordinary local hardware diagnostics into network surveillance. In a broadly scoped 'computer' skill, these capabilities could be invoked to inspect sensitive traffic without clear privacy boundaries or task restrictions.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The process and service management sections include kill, kill -9, SIGSTOP, renice, and service restart operations with no explicit warnings about interrupting workloads, causing downtime, or losing unsaved data. In a general-purpose skill, this omission can lead to unsafe operational guidance being applied casually.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
85% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · SKILL.md (reported line 315)May include surrounding context.

任务调度

bash
computer crontab           # crontab概览
crontab -l                  # 当前用户计划任务
crontab -e                  # 编辑
at now + 1 minute          # 一次性任务
atrm job_number            # 取消at任务

Session Persistence

Medium
Category
Rogue Agent
Confidence
85% confidence
Finding

Editing crontab directly enables persistent execution on the host, which expands the skill from diagnostics into persistence-capable administration. In a broadly activated computer skill, including persistence mechanisms without strict scoping or warnings increases misuse potential.

Content

Scanner excerpt · SKILL.md (reported line 316)May include surrounding context.

bash
computer crontab           # crontab概览
crontab -l                  # 当前用户计划任务
crontab -e                  # 编辑
at now + 1 minute          # 一次性任务
atrm job_number            # 取消at任务

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
93% confidence
Finding

This command writes a CPU governor setting across cpufreq sysfs paths using sudo tee, directly changing system behavior with elevated privileges. In a general skill lacking safeguards, it can alter performance, thermals, battery life, and stability across the machine without adequate warning or rollback guidance.

Content

Scanner excerpt · SKILL.md (reported line 334)May include surrounding context.

md
echo 150000 > /proc/sys/kernel/sched_min_granularity_ns

# 启用CPU加速
echo "performance" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

# 节能模式
echo "powersave" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
93% confidence
Finding

This is another elevated sysfs write that switches CPU policy, here to powersave mode, affecting system-wide behavior. Because it is presented as a simple one-liner in a broad skill, it lowers the barrier to making privileged configuration changes that may disrupt expected performance characteristics.

Content

Scanner excerpt · SKILL.md (reported line 337)May include surrounding context.

echo "performance" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

节能模式

echo "powersave" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

text

### 内存优化

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
95% confidence
Finding

Dropping caches via a privileged write to /proc/sys/vm/drop_caches is a direct kernel-tuning action that can distort performance, disrupt cache warmth, and be misused operationally. The command is presented with only a brief caution and without prerequisites, impact explanation, or confirmation requirements.

Content

Scanner excerpt · SKILL.md (reported line 347)May include surrounding context.

md
cat /proc/meminfo | grep -E "MemFree|Cached|Buffers"

# 清理缓存(谨慎)
echo 3 | sudo tee /proc/sys/vm/drop_caches

# 调整swap倾向
sysctl vm.swappiness=10    # 0-100,越小越避免swap

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
94% confidence
Finding

Writing a block scheduler setting with sudo tee changes low-level storage behavior and may be invalid or harmful on modern kernels or device types. Inappropriately applying it can reduce performance or create unstable storage tuning, especially when suggested generically.

Content

Scanner excerpt · SKILL.md (reported line 360)May include surrounding context.

md
pidstat -d 1 10

# 调整调度器(SSD)
echo noop | sudo tee /sys/block/sda/queue/scheduler

# 预读调整(SSD禁用)
echo 0 | sudo tee /sys/block/sda/queue/read_ahead_kb

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
93% confidence
Finding

Changing read-ahead settings via elevated sysfs writes directly modifies storage tuning and may negatively affect workloads if applied indiscriminately. The guidance is too generic for a privileged system-level change and lacks safeguards.

Content

Scanner excerpt · SKILL.md (reported line 363)May include surrounding context.

echo noop | sudo tee /sys/block/sda/queue/scheduler

预读调整(SSD禁用)

echo 0 | sudo tee /sys/block/sda/queue/read_ahead_kb

text

### 网络优化

Static analysis

No suspicious patterns detected.