Back to skill

Security audit

System Stats

Security checks for vulnerabilities and agentic risk

Overview

This skill locally reports system performance metrics and does not show hidden execution, persistence, credential access, or data exfiltration.

Install only if you are comfortable with a Chinese-language system monitoring helper that prints local machine performance details. For better supply-chain hygiene, use a virtual environment and pin psutil to a reviewed version.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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)

T08 · Insecure Dependencies

Note
Location
SKILL.md:41
Finding

Unpinned Third-Party Dependency Installation

Content
View full analysis

Vulnerability Details

File Location: SKILL.md:41
Vulnerability Type: Unpinned dependency installation
Risk Level: Low

Vulnerable Code:

shell
pip install psutil

Technical Analysis

The installation command retrieves the currently available version of psutil without a version constraint, cryptographic hash verification, lock file, or explicitly trusted package index. Although the documented package name correctly corresponds to the module imported by scripts/main.py, the dependency content may change after this skill has been reviewed.

This makes installation non-reproducible and exposes users to upstream package compromise, package-index compromise, or a malicious future release. Python packages can execute package-controlled code during installation and subsequently when imported by the skill.

Attack Path

  1. An attacker compromises the upstream psutil release process or the package index used by the victim.
  2. The attacker publishes or serves a malicious package version under the expected package name.
  3. A user follows the documented pip install psutil command.
  4. pip resolves and installs the attacker-controlled version because no reviewed version or hash is enforced.
  5. Malicious code may execute during installation or when scripts/main.py imports psutil.

This path depends on compromise of the upstream dependency or package distribution channel; the audited project does not itself retrieve or execute a separate remote payload.

Impact Assessment

Successful exploitation could execute arbitrary Python or native package code with the privileges of the user performing the installation or running the skill. The potential scope includes access to that user's files, environment variables, network access, and any system resources available to the Python process. Administrative or root-level impact would require the installation or execution to occur under such elevated ...[truncated 12 chars]

Remediation
View remediation

Remediation Suggestions

  1. Pin psutil to a reviewed, exact version in a dedicated requirements file, for example:

    text
    psutil==REVIEWED_VERSION
    
  2. Generate and verify cryptographic hashes for all supported distributions, then require hash validation during installation:

    shell
    python -m pip install --require-hashes -r requirements.txt
    
  3. Use a lock file or controlled dependency-generation process to ensure reproducible installations.

  4. Configure an explicitly trusted package index or an internally controlled package mirror.

  5. Perform dependency vulnerability and provenance checks before updating the pinned version.

  6. Avoid installing dependencies with administrative or root privileges, and run the skill in a least-privileged virtual environment.

Vulnerability Patterns
  • 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
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The manifest description and all user-facing usage documentation are written in Chinese, which imposes a specific language on users without any opt-in or alternative locale. The policy explicitly calls for flagging language or locale constraints unless the skill offers choice or clearly documents a justified regional limitation, neither of which appears here.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The module description, error message, comments, and all user-facing output strings are in Chinese, and the code explicitly configures UTF-8 output to support that behavior. There is no indication that the user can opt into another language or locale, which can violate a language/locale policy requiring user choice.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill collects and prints additional host telemetry beyond the declared scope of memory, CPU, and network throughput, including disk I/O, system load, process count, and boot time. While not directly exploitative, this expands system fingerprinting and operational visibility, which can disclose unnecessary environment details to downstream users or agents.

Content

No source excerpt is available for this finding.