Back to skill

Security audit

博弈论分析免费版

Security checks for vulnerabilities and agentic risk

Overview

This game-theory skill appears non-malicious, but it asks for broad activation and command/write-style capability beyond its narrow stated purpose.

Install only if you want an exec-capable helper for game-theory analysis, and avoid letting it handle unrelated analytics/reporting tasks. Review or constrain any file writes/exports, and install optional Python dependencies in an isolated environment with pinned versions where possible.

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:413
Finding

Unpinned Third-Party Dependency Installation

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, line 413
Vulnerability Type: Unpinned Python dependency installation
Risk Level: Low

Vulnerable Code Snippet:

markdown
| NumPy | Python 库 | 可选 | `pip install numpy` (矩阵运算) |

Technical Analysis

The documented command installs NumPy without a version constraint or cryptographic integrity verification. Consequently, the artifact installed at execution time may differ from the version that was reviewed or tested.

Although the instruction refers to a legitimate and widely used package, an unpinned installation remains exposed to upstream compromise, a malicious or defective future release, package-index manipulation, and unexpected compatibility changes. Python package installation can execute package build or installation logic when a suitable prebuilt wheel is unavailable.

No evidence was found that the project intentionally references a malicious package or package index. The risk arises from the absence of version and integrity controls rather than from confirmed malicious dependency content.

Attack Path

  1. A user or agent follows the dependency instruction in SKILL.md.
  2. The command pip install numpy resolves the package dynamically from the configured Python package index.
  3. The index supplies whichever release currently satisfies the unconstrained request.
  4. If that release or the package distribution channel has been compromised, malicious installation logic or package content is downloaded.
  5. The package is installed or its build hooks execute with the permissions of the invoking user or agent.
  6. Malicious code could then access resources available to that account.

This exploitation path depends on compromise or manipulation of the upstream package, distribution channel, or local package-index configuration.

Impact Assessment

Successful exploitation could execute arbitrary code with the privileges of the proces ...[truncated 280 chars]

Remediation
View remediation

Remediation Suggestions

  • Pin NumPy to a reviewed, compatible version instead of installing an unconstrained release.

  • Record cryptographic hashes in a locked requirements file and install with pip --require-hashes.

  • Use an explicitly trusted package index and require TLS certificate validation.

  • Install dependencies inside a dedicated virtual environment or isolated container.

  • Run package installation without administrative privileges.

  • Periodically review and deliberately update the pinned version after security and compatibility testing.

  • Prefer a command such as the following, backed by a reviewed lock file:

    bash
    python -m pip install --require-hashes -r requirements.txt
    
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (8)

Vague Triggers

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The trigger description is broad enough to match ordinary analytics, reporting, and visualization requests unrelated to game theory. Overbroad activation is dangerous because it can cause this exec-capable skill to be selected in many unintended contexts, effectively widening the operational surface area and bypassing user expectations about specialized tool use.

Content

No source excerpt is available for this finding.

Vague Triggers

High
Category
Not specified by scanner
Confidence
95% confidence
Finding

The activation condition says to use the skill whenever data analysis, report generation, statistical insights, or visualization are needed, which is far too general for a game-theory-specific skill. In practice this can hijack unrelated requests and route them through a tool set that includes exec and write, creating unnecessary exposure and incorrect task handling.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill markets itself as a game-theory tool but broadens activation to generic data analysis, reporting, statistics, and visualization requests. This scope inflation can cause the agent to invoke a tool with exec/write permissions in contexts far beyond its demonstrated functionality, increasing the chance of misuse, unsafe delegation, or user confusion about what actions the skill may take.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The description explicitly states '支持中文交互' and presents the skill as operating in Chinese, without offering a language choice or opt-in mechanism. That creates a language-policy concern because the documentation implies a fixed locale rather than allowing user preference.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The skill states that all analysis is completed locally without external API keys, but elsewhere includes network troubleshooting and connectivity-dependent guidance. This inconsistency can mislead users and host agents about whether network access is needed, undermining trust boundaries and potentially causing unexpected outbound operations in environments that assume local-only behavior.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The API key configuration example exports GAME_THEORY_LANGUAGE="zh", which establishes a specific language default. The document does not pair this with a clear user-facing choice or opt-in, so the skill appears to enforce a locale preference implicitly.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Low
Category
Not specified by scanner
Confidence
80% confidence
Finding

The skill declares write/save/export-style capabilities despite being framed as an analytical reasoning tool. Unnecessary write capability expands the attack surface by allowing creation or modification of local artifacts even when analysis could be performed read-only, which is riskier in combination with exec-enabled tooling.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Low
Category
Not specified by scanner
Confidence
83% confidence
Finding

The documentation presents a limited free/basic analysis skill, yet operational text advertises create/query/export, modify/reset/import, and save/convert behaviors that exceed the shown analysis-only examples. Such capability overstatement can prompt the agent to perform file or workflow actions users did not reasonably expect, especially when paired with write and exec access.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.