Back to skill

Security audit

MetaComp VisionX KYT

Security checks for vulnerabilities and agentic risk

Overview

The skill appears purpose-aligned, but its setup runs an unpinned npm package and places an API token in command configuration, so users should review it before installing.

Install only if you are comfortable running the MetaComp npm MCP package under your user account. Prefer a pinned, reviewed package version and configure the API token through METACOMP_TOKEN or a secret manager rather than putting it in --token inside OpenClaw config. Expect wallet addresses and transaction details you submit to be sent to MetaComp VisionX for analysis.

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

T08 · Insecure Dependencies

Warning
Location
SKILL.md:391
Finding

Automatic Execution of an Unpinned npm Package

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 391–392
Vulnerability Type: Unpinned third-party dependency execution
Risk Level: Medium

Vulnerable Code

json
"command": "npx",
"args": ["-y", "--package", "@metacomp/visionx-kyt-mcp", "visionx-kyt-mcp", "--token", "YOUR_API_KEY"]

The package is also declared without an exact version in the skill metadata:

json
"install": [{"id": "npm", "kind": "node", "package": "@metacomp/visionx-kyt-mcp", "bins": ["visionx-kyt-mcp"], "label": "Install MetaComp VisionX KYT MCP server (requires METACOMP_TOKEN API key from metacomp.ai)"}]

Technical Analysis

The setup instructions invoke npx with the -y option and an npm package that has no pinned version. This causes npm to resolve, download, and execute whichever package version is current when the command runs. The reviewed SKILL.md therefore does not define the exact code that will ultimately execute.

No evidence establishes that the named package is currently malicious, and its scoped name is consistent with the referenced organization. Nevertheless, the installation method creates a supply-chain vulnerability: a compromised publisher account, malicious future release, registry compromise, or dependency compromise could change the effective executable payload after this skill has been audited.

The -y option further removes the interactive confirmation that might otherwise alert a user to package installation.

Attack Path

  1. An attacker compromises the npm publisher account, package release process, or one of the package's transitive dependencies.
  2. The attacker publishes a malicious release under @metacomp/visionx-kyt-mcp.
  3. A user follows the documented setup instructions or starts the configured integration.
  4. npx -y resolves and downloads the malicious current version without interactive approval.
  5. npm package lifecycle code or the visionx-kyt-mcp executab ...[truncated 789 chars]
Remediation
View remediation

Remediation Suggestions

  1. Pin @metacomp/visionx-kyt-mcp to an exact, reviewed version rather than allowing npm to resolve the latest release.
  2. Record and verify the package's integrity hash or trusted provenance before execution.
  3. Use a lockfile and a controlled installation process where supported.
  4. Remove -y so unexpected installation behavior requires explicit approval.
  5. Audit the pinned package and its transitive dependency tree before deployment.
  6. Run the package in a restricted environment with only the filesystem and network permissions required for wallet-risk queries.
  7. Establish a controlled upgrade process in which new package versions are reviewed before the pin is changed.

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:391
Finding

API Token Exposed in Plaintext Configuration and Process Arguments

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 391–392
Vulnerability Type: Plaintext sensitive data exposure
Risk Level: Medium

Vulnerable Code

json
"command": "npx",
"args": ["-y", "--package", "@metacomp/visionx-kyt-mcp", "visionx-kyt-mcp", "--token", "YOUR_API_KEY"]

Technical Analysis

The setup guide instructs the user to place the MetaComp API key directly in the OpenClaw command configuration by replacing YOUR_API_KEY. This stores the credential in plaintext in persistent configuration and passes it to the executable through the --token command-line argument.

Command-line secrets may be exposed through process inspection facilities, diagnostic output, startup logs, crash reports, support bundles, shell or application telemetry, and configuration backups. Anyone able to read the OpenClaw configuration can also recover the credential directly.

The skill metadata already identifies METACOMP_TOKEN as the required environment variable, but the setup example bypasses that mechanism and embeds the token in command arguments.

Attack Path

  1. A user replaces YOUR_API_KEY with a valid API token in the persistent OpenClaw configuration.
  2. OpenClaw starts visionx-kyt-mcp and includes the token in its process arguments.
  3. A local user, monitoring agent, diagnostic collector, backup reader, or other process with sufficient visibility reads the configuration or captures the command line.
  4. The exposed token is copied and reused to authenticate to the associated MetaComp service.
  5. The attacker consumes the victim's API access until the token expires or is revoked.

Impact Assessment

Exploitation can disclose the MetaComp API credential and enable unauthorized use of the associated service account. Potential consequences include quota consumption, unexpected charges where applicable, impersonation of API requests, and access to any service capabilities granted to tha ...[truncated 200 chars]

Remediation
View remediation

Remediation Suggestions

  1. Remove the --token argument from the command configuration.
  2. Read the credential from the declared METACOMP_TOKEN environment variable or a dedicated secret manager.
  3. Configure the runtime so the secret is injected only into the target process and is not written to ordinary configuration files.
  4. Restrict permissions on all configuration and secret files to the service account that requires access.
  5. Ensure logs, diagnostics, crash reports, and support bundles redact API tokens.
  6. Use narrowly scoped, short-lived credentials where the service supports them.
  7. Document a token revocation and rotation procedure for suspected exposure.
  8. Avoid including real credentials in shell history, screenshots, issue reports, or configuration backups.
Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Rogue AgentSelf-Modification, Session Persistence
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (5)

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
Download `SKILL.md` from [github.com/metacomp-ai/remote-mcp](https://github.com/metacomp-ai/metacomp-skill/tree/main/VisionX), then:

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The trigger criteria are extremely broad: any mention of wallet addresses, transaction hashes, scams, risk, or suspicious activity can activate the skill. This increases the chance the skill intercepts general security conversations and steers users into its prescribed flow, potentially causing overreach, unnecessary data disclosure, or unwanted tool invocation in contexts where the skill was not specifically requested.

Content

No source excerpt is available for this finding.

Unrestricted Tool Access

Medium
Category
Excessive Agency
Confidence
80% confidence
Finding

Skill grants unrestricted tool access without appropriate constraints. An agent with unfettered tool access can perform arbitrary actions including file modification, network requests, and code execution.

Content

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

Wallet: network + walletAddress Transaction: network + hash + asset + from + to + direction Transaction: ALWAYS ask "Are you the sender or the recipient?" — never infer ⛔ After asking, STOP. Do not call any tool, do not output any report. Wait for the user's answer before doing anything else.

text

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% 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 411)May include surrounding context.

Download SKILL.md from github.com/metacomp-ai/remote-mcp, then:

bash
mkdir -p ~/.openclaw/workspace/skills/metacomp_visionx_kyt
cp /path/to/SKILL.md ~/.openclaw/workspace/skills/metacomp_visionx_kyt/SKILL.md

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

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

bash
mkdir -p ~/.openclaw/workspace/skills/metacomp_visionx_kyt
cp /path/to/SKILL.md ~/.openclaw/workspace/skills/metacomp_visionx_kyt/SKILL.md

No API key? Apply at metacomp.ai