Back to skill

Security audit

Edinet Mcp

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward EDINET financial-analysis helper, with a disclosed but unpinned external package install users should treat cautiously.

Before installing, consider pinning edinet-mcp to a reviewed version or installing it in an isolated environment. Only provide an EDINET_API_KEY intended for this use, and treat the external package as the effective runtime component because this skill package contains only Markdown instructions.

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

Warning
Location
SKILL.md:4
Finding
Unpinned Third-Party Package Installation## Vulnerability Details **File Location**: `SKILL.md:4` and `SKILL.md:89` **Vulnerability Type**: Unpinned and externally resolved dependency **Risk Level**: Medium The Skill declares and recommends installation of the `edinet-mcp` package without constraining it to a reviewed version or verifying its integrity. **Complete code snippets:** `SKILL.md:4` ```yaml metadata: {"openclaw":{"emoji":"📊","requires":{"bins":["edinet-mcp"],"env":["EDINET_API_KEY"]},"install":[{"id":"uv","kind":"uv","package":"edinet-mcp","bins":["edinet-mcp"],"label":"Install edinet-mcp (uv)"}],"tags":["japan","finance","edinet","xbrl","financial-statements","mcp","securities","disclosure"]}} ``` `SKILL.md:89` ```markdown - Python package: `pip install edinet-mcp` or `uv tool install edinet-mcp` ``` ### Technical Analysis Both installation mechanisms resolve the current package associated with the `edinet-mcp` name from an external package source. The Skill does not specify an exact version, package hash, trusted repository, or immutable source revision. The project also contains no corresponding executable source code that would allow the installed implementation to be audited as part of this review. Consequently, the effective code installed by these instructions can change after the Skill has been reviewed. If the package's publishing account, distribution channel, or a future package release is compromised, installation or invocation could execute attacker-controlled code. Python packages may execute code through build or installation mechanisms, while the resulting CLI executes with the invoking user's privileges. ### Attack Path 1. An attacker compromises the upstream package, its maintainer account, or its distribution process and publishes a malicious release under the expected package name. 2. A user or agent follows the Skill metadata or setup instructions and runs `pip install edinet-mcp` or `uv tool install edinet-mcp`. 3. Bec ...[truncated 1042 chars]
Remediation
## Remediation Suggestions 1. Pin `edinet-mcp` to a specific version that has been reviewed, rather than resolving the latest available release. 2. Require cryptographic hashes for downloaded distributions, such as through a hash-locked requirements file or an equivalent verified installation workflow. 3. Explicitly identify the approved package index and official source repository to reduce dependency-confusion and source-substitution risk. 4. Prefer an immutable source revision or vendor the reviewed dependency when reproducible auditing is required. 5. Review the package's source, build configuration, installation hooks, transitive dependencies, and published artifacts before approving a version. 6. Perform installation in a least-privileged isolated environment, and avoid exposing `EDINET_API_KEY` or unrelated credentials during installation. 7. Add automated dependency monitoring and require security review before updating the pinned version.
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)

Rp1

Low
Category
MCP Rug Pull
Confidence
60% confidence
Finding
pip install without ==version installs the latest release, which could include malicious changes.

Static analysis

No suspicious patterns detected.