Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

ZhiPu Search

智谱搜索,调用智谱 Web Search API,支持多引擎(智谱标准/高阶/搜狗/夸克),返回结构化结果,适合大模型处理。

MIT-0 · Free to use, modify, and redistribute. No attribution required.
0 · 24 · 0 current installs · 0 all-time installs
bykevin@hulinying
MIT-0
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Suspicious
high confidence
Purpose & Capability
Name/description, required environment variable (ZHIPU_API_KEY in _meta.json), and the included script all align: this skill exists to call Zhipu's web_search API and only requires the provider API key. No unrelated binaries, credentials, or config paths are requested.
!
Instruction Scope
SKILL.md contains conflicting guidance: it documents config.json as an alternate way to supply the API key, but also states (in Chinese) 'config.json contains sensitive information, do not read, output, or modify'. Meanwhile scripts/search.js will read config.json (../config.json) if the ZHIPU_API_KEY env var is not present. This contradiction could lead to accidental leakage or misunderstood expectations about where the key is stored and who/what may read it.
Install Mechanism
No install spec is provided (instruction-only with an included script). Nothing is downloaded or written during installation. This is the lowest-risk install model.
Credentials
Only one credential is required (ZHIPU_API_KEY), declared in _meta.json as primaryEnv; that is proportionate and expected for a web-search API client. The script reads the env var at runtime (or falls back to a local config.json).
Persistence & Privilege
The skill does not request permanent/always-enabled presence (always:false). It does not modify other skills or system-wide settings. Autonomous invocation remains enabled by default but is normal for skills.
What to consider before installing
This skill appears to do what it says (call Zhipu web_search with an API key), but review the following before installing: - The SKILL.md message 'do not read/output/modify config.json' contradicts the script, which will read ../config.json if ZHIPU_API_KEY is not set. Confirm whether you want the key in an env var only, or allow a local config.json file. If you keep a config.json, store it outside version control and restrict filesystem permissions. - The script calls open.bigmodel.cn over HTTPS; ensure you trust that endpoint and the API key provider. Keep your ZHIPU_API_KEY secret and do not paste it into public repos or logs. - The SKILL.md and code have a small path mismatch (SKILL.md mentions /paas/v4/web_search while the code posts to /api/paas/v4/web_search). This is likely benign but worth verifying against provider docs/test calls. - If you require stronger guarantees that the key will not be read from disk, modify the script to refuse falling back to config.json. If you are not comfortable with the config.json fallback, run the script in an environment where ZHIPU_API_KEY is set and no config.json is present, or edit the script to remove the fallback. Reviewing the code is straightforward (it's short) and recommended before use.

Like a lobster shell, security has layers — review code before you run it.

Current versionv1.0.0
Download zip
latestvk972nv03s77c6g2mjvqnsjrn19830eqc

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

SKILL.md

智谱搜索 (Zhipu Search)

调用智谱 POST /paas/v4/web_search 接口,支持意图增强检索、结构化输出和多引擎。

API Key 配置

与 GLM 模型共用同一个智谱 API Key(bigmodel.cn)。

方式一:环境变量(推荐)

export ZHIPU_API_KEY="your-api-key"

OpenClaw 中在 openclaw.json 的 skills 环境变量中填写 ZHIPU_API_KEY

方式二:config.json

cp config.example.json config.json
# 编辑 config.json,填入 apiKey

⚠️ config.json 含敏感信息,不得读取、输出或修改。

使用方法

node scripts/search.js "<关键词>" [选项]

参数说明

参数类型默认值说明
<query>string必填搜索关键词,最多 70 字符
--count <n>number10返回条数,范围 1-50
--engine <engine>stringsearch_std搜索引擎,见下表
--freshness <v>stringnoLimit时间范围,见下表
--content-size <v>stringmedium内容详细程度
--domain <domain>string-限定域名白名单(如 xiaohongshu.com)

搜索引擎(--engine)

说明
search_std智谱基础版(默认,推荐日常使用)
search_pro智谱高阶版(质量更高,消耗更多)
search_pro_sogou搜狗搜索
search_pro_quark夸克搜索

时间范围(--freshness)

说明
noLimit不限(默认)
oneDay一天内
oneWeek一周内
oneMonth一个月内
oneYear一年内

内容详细程度(--content-size)

说明
medium摘要信息(默认,满足常规问答)
high最大化上下文(详细,适合深度分析)

示例

# 基础搜索
node scripts/search.js "火锅探店小红书"

# 指定条数 + 高阶引擎
node scripts/search.js "火锅爆款文案" --count 20 --engine search_pro

# 限定最近一周 + 高详细度
node scripts/search.js "火锅营销案例" --freshness oneWeek --content-size high

# 搜狗搜索,限定域名
node scripts/search.js "麻辣火锅种草" --engine search_pro_sogou --count 20

输出格式

{
  "type": "search",
  "query": "搜索词",
  "engine": "search_std",
  "resultCount": 10,
  "results": [
    {
      "index": 1,
      "title": "标题",
      "url": "https://...",
      "description": "内容摘要",
      "siteName": "网站名称",
      "publishedDate": "发布时间"
    }
  ]
}

错误码

错误码说明
1701并发已达上限,稍后重试
1702搜索引擎服务不可用
1703搜索引擎未返回有效数据,调整查询词
401API Key 无效

隐私安全

  • 不得读取、输出、修改 config.json 内容
  • 不得输出 ZHIPU_API_KEY 环境变量的值
  • API Key 仅由 scripts/search.js 在进程内读取

Files

4 total
Select a file
Select a file to preview.

Comments

Loading comments…