chinaz-google-safe
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "chinaz-google-safe" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-41e8487618e89083ea00b189b93a082dc7b5f98a3984e2623d5a2bec19cf4d28. Verify the upstream source and version against https://skillhub.cn/skills/org-1qazsc77/chinaz-google-safe before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Checks whether a domain opens normally in Google Search or Google Chrome to determine if the domain is flagged by Google as malicious or blocked by Chrome. Implemented by calling the webmaster tools open platform’s Google domain poisoning detection API from a local Python script, using a dedicated API key from environment variables.
Introduction source: third_party · org-1qazsc77 · 1.0.1 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: chinaz-google-safe
description: 检测域名在谷歌搜索或谷歌浏览器(Google Chrome)中是否正常打开,判断域名是否被谷歌报毒标记。适用于"查询域名是否被谷歌报毒""检测域名安全状态""域名是否被 Chrome 拦截"等请求。通过本地 Python 脚本调用站长工具开放平台的谷歌域名报毒检测接口,并使用环境变量中的专属 API Key。谷歌域名报毒检测
检测一个域名在谷歌搜索或谷歌浏览器(Google Chrome)中是否正常打开。本 Skill 只覆盖站长工具开放平台"谷歌域名报毒检测"接口,不用于 Whois、备案或其他接口。
运行要求
- 支持标准 Agent Skills 的 AI 客户端,且允许执行本地命令。
- Python 3;脚本只使用 Python 标准库,无需安装第三方依赖。
- 能够向
https://openapi.chinaz.net发起 HTTPS 请求。 - 运行 AI 客户端的环境可读取环境变量。
如果使用的 AI 服务不支持本地命令或环境变量,请改用该服务支持的本地客户端、沙盒密钥管理或安全环境变量注入方式;不要在聊天中发送 API Key。
获取与配置 API Key
- 在谷歌域名报毒检测接口购买页购买接口并获取专属 API Key。
- 将 Key 保存为环境变量,变量名必须是:
CHINAZ_GOOGLE_SAFE_API_KEY
- 重新启动你的 AI 客户端或其运行环境,使新环境变量生效。
Windows 图形界面:搜索并打开"编辑账户的环境变量",在"用户变量"中新增该变量,变量值填入购买后获得的 Key。
macOS/Linux 当前终端会话:
export CHINAZ_GOOGLE_SAFE_API_KEY='你的专属APIKey'
不要把真实 Key 写入 SKILL.md、源代码、命令行参数、日志、仓库或聊天记录。若 AI 客户端提供"Secrets""Environment Variables"或"Credentials"配置页,优先使用其安全存储功能。
查询流程
- 从用户请求中提取
domain:待检测域名,例如example.com。可使用 URL 输入;脚本会去除协议、路径、查询参数和片段。 - 在 Skill 根目录执行脚本:
python scripts/query_google_safe.py --domain "example.com"
如果系统将 Python 3 命令命名为 python3,使用 python3 代替 python。
- 脚本读取环境变量中的 Key,并调用原始 GET 接口
https://openapi.chinaz.net/v1/1029/check_google,发送url、ChinazVer=1.0与APIKey。 - 从脚本输出的 JSON 读取结果;仅依据实际返回回答用户。
结果解读
code: 1表示检测成功。statu: true表示域名正常,未被谷歌报毒标记,可以正常打开。statu: false表示域名异常,可能已被谷歌报毒或标记为不安全。msg字段包含返回的描述信息。url字段为实际检测的域名地址。- 不得根据检测结果推断域名的具体安全威胁类型或恶意软件名称;仅依据接口返回的
statu和msg说明。 - 如果
code不为 1,按返回的msg说明问题,不要编造检测结果。
推荐答复格式:
谷歌域名报毒检测结果
- 域名:example.com
- 检测状态:成功 / 失败原因
- 安全状态:正常 / 已报毒
- 说明:接口返回的 msg 信息
错误处理
missing_api_key:环境变量未设置。按"获取与配置 API Key"创建变量后,重启运行环境。- HTTP
431、432、433、434:Key 缺失、格式不正确或无效。确认 Key 来自购买页的"谷歌域名报毒检测"产品。 - HTTP
436:Key 不存在或额度不足。检查账户剩余额度;如未购买,可前往购买页。 network_error或timeout:检查网络、DNS、代理或防火墙后重试。- 其他失败状态:按返回的
msg或 JSON 错误信息说明问题,不得编造检测结果。
使用边界
- 一次只检测一个域名;批量任务须逐条执行并遵守频率限制。
- 不输出、复述或保存 API Key。
- 检测结果仅反映谷歌安全浏览的判定状态,不构成域名安全性的绝对保证。
- 不得用于绕过安全机制或进行恶意域名探测。
Current listing version
1.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供明确的域名安全检测功能,解决用户在谷歌浏览器或搜索中访问域名时的安全顾虑
- 属于明确场景的通用工具,具有广泛受众的实用能力
Highlights
- description 清晰描述了适用场景,覆盖多种变体,边界清晰
Highlights
- 文档结构完整,包含运行要求、API Key 配置、查询流程、结果解读、错误处理、使用边界等章节
- 步骤清晰,有端到端示例,frontmatter 完整
Highlights
- 工具来源明确(站长工具开放平台),参数正确
- 覆盖了主要异常(missing_api_key、HTTP 431-436、network_error、timeout 等)
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 3, 17, 19, 21, 38
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- openapi.chinaz.net
- www.chinaz.net
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.