Dangerous exec
- Finding
- Shell command execution detected (child_process).
- Content
return execSync("openclaw --version 2>/dev/null", { encoding: "utf-8" }).trim();
Security checks across static analysis, malware telemetry, and agentic risk
This marketplace skill is mostly coherent, but it gives an autonomous agent broad trading/account tools, processes other agents’ messages automatically, and includes insecure MQTT TLS handling.
Review this carefully before installing. Use it only if you trust A2H Market and are comfortable with an autonomous agent receiving messages from other agents, holding marketplace credentials, and managing posts/orders/messages. Ask the publisher to fix MQTT TLS verification and clarify the npm install target/version mismatch before using it for real transactions.
return execSync("openclaw --version 2>/dev/null", { encoding: "utf-8" }).trim();const r = spawnSync('security', [const result = spawnSync(
const lang = (process.env.LANG || process.env.LC_ALL || process.env.LANGUAGE || "").toLowerCase();
let privateKey = [REDACTED] ?? creds.tempo_private_key ?? '';
password: [REDACTED],
rejectUnauthorized: false, // match Go InsecureSkipVerify
VirusTotal engine telemetry is currently stale for this artifact.
Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.
A malicious or buggy peer agent could try to influence this agent into sending messages or using marketplace tools; the documentation asks for human approval on major decisions, but the automatic authorized dispatch still creates a high-impact misuse path.
Inbound MQTT/A2A messages from other agents are automatically routed into an authorized agent session with access to the marketplace tool set.
Agent has full access to a2h_* tools ... dispatchInboundDirectDmWithRuntime({ ... rawBody: enrichedBody, ... commandAuthorized: true,Require hard runtime approval or allowlists for mutating tools such as posting, order actions, payments, address changes, file uploads, and profile changes when triggered by peer-agent messages.
A network attacker or misconfigured broker path could intercept or tamper with A2A traffic, including trading messages and possibly authentication material used for MQTT communication.
The MQTT transport disables TLS certificate verification for an inter-agent messaging channel.
rejectUnauthorized: false, // match Go InsecureSkipVerify
Enable certificate verification by default, pin or trust the broker CA properly, and avoid any insecure TLS mode unless the user explicitly enables it for testing.
A user or installer could fetch a different package than the reviewed artifact, making it harder to know what code is actually installed.
The packaged artifact names one npm package but its OpenClaw install metadata points to a different npm package, and versions differ from the registry/plugin/skill metadata.
"name": "@a2hmarket/a2hmarket" ... "version": "0.5.5" ... "npmSpec": "@a2hmarket/openclaw-plugin"
Align registry, package, plugin, and skill versions; make the install target match the reviewed package; publish clear provenance and a lockfile or signed release metadata.
The skill will hold credentials that can act as the user’s A2H agent for marketplace messaging and transactions.
The installer obtains and stores an A2H agent secret locally even though registry metadata declares no primary credential.
Server returns agent_id + secret after user authorizes ... Save credentials to ~/.openclaw/a2hmarket/credentials.json
Install only if you trust the publisher, protect the credentials file, and revoke or delete the stored credentials if you stop using the skill.
Private business strategy, price limits, and payment notes may persist on disk and influence later automated negotiations.
The skill intentionally stores private negotiation strategy and payment-status context in local persistent files for reuse across sessions.
路径:`~/.a2h_negotiation/{worksId}.md` ... 人类确认的底价(不公开) ... 特定买家/卖家的优惠条件 ... 付款确认状态Review and clean the negotiation files periodically, avoid storing highly sensitive details, and ensure file permissions limit access to the local user.