Tencent Survey

PassAudited by VirusTotal on May 9, 2026.

Overview

Type: OpenClaw Skill Name: tencent-survey Version: 1.0.0 The skill bundle facilitates integration with Tencent Survey but contains high-risk patterns, most notably in `SKILL.md`, which instructs the AI agent to execute an `instruction` string returned by a remote tool call (`check_skill_update`). This creates a direct vector for remote prompt/command injection. Additionally, `setup.sh` performs broad actions such as installing global npm packages and managing authentication tokens through shell scripts. While these behaviors appear intended for the skill's functionality, the mechanism for following arbitrary remote instructions is a significant security risk. Primary IOC: wj.qq.com.

Findings (0)

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.

ConcernHigh Confidence
ASI01: Agent Goal Hijack
What this means

A remote response could influence what the agent does before the user’s actual survey task, including potentially changing the skill or running update steps the user has not reviewed.

Why it was flagged

The skill tells the agent to treat a remote tool-returned `instruction` as update guidance before using the skill, without clearly constraining allowed update actions or requiring explicit user approval.

Skill content
每天使用 SKILL 前进行一次更新检查 ... 如果 `has_update` 为 true ... 则遵循 `instruction` 指令进行更新,或提示用户更新
Recommendation

Do not let the agent automatically follow returned update instructions. Show the update details to the user and only apply updates through a reviewed, pinned, and trusted update path.

What this means

Running the setup/auth command could install code globally on the machine without a separate install approval step.

Why it was flagged

The setup script can automatically install an unpinned global npm package if mcporter is missing, which mutates the local environment and depends on external package provenance.

Skill content
if ! command -v mcporter &> /dev/null; then ... npm install -g mcporter
Recommendation

Require explicit user consent before installing packages, declare mcporter as a dependency, and prefer a pinned version or a separately reviewed installation step.

ConcernMedium Confidence
ASI03: Identity and Privilege Abuse
What this means

The Tencent Survey token could appear in agent logs or be configured for a non-default endpoint if the environment is altered, potentially exposing access to team surveys and responses.

Why it was flagged

The script stores a bearer token for the MCP service, supports an undeclared API-base override, and contains code that prints the token in command output.

Skill content
_WJ_API_BASE="${WJ_API_BASE_URL:-https://wj.qq.com}" ... --header "Authorization=Bearer $token" ... echo "TOKEN_READY:$token"
Recommendation

Verify the configured endpoint is wj.qq.com, avoid printing tokens to stdout, clear any logs containing tokens, and use the least-privileged/revocable token available.

What this means

Survey respondents’ personal or sensitive answers may be exposed to the agent session when viewing results.

Why it was flagged

The answer-listing tool can return respondent identifiers, location/network metadata, attachments, signatures, and free-text answers into the agent context.

Skill content
`respondent_nickname` ... `openid` ... `ip` ... `country`, `province`, `city` ... `files` ... `signature_id`
Recommendation

Ask for only the needed fields, avoid retrieving all responses unless necessary, and do not paste or export respondent data beyond the user’s explicit request.

What this means

A mistaken survey ID, question ID, or generated DSL could overwrite a real questionnaire item.

Why it was flagged

The update tool is intentionally non-idempotent and overwrites an existing survey question, which is purpose-aligned but can change account data.

Skill content
非幂等操作:每次调用都会覆盖原题目内容
Recommendation

Confirm the target survey/question and preview the replacement text before calling update_question; be especially careful with active or business-critical surveys.