audit-hosting
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAudit hosting
托管审计
Read-only from start to finish. The output is a report; every fix is a separate, confirmed step through another skill.
全程只读。输出为一份报告;每项修复都需通过另一个 skill 单独执行并确认。
Calling the operations
调用操作
- Read the that
inputSchemareturns before the first call of each operation. If a name below is rejected as unknown,searchfor what the step does (e.g. "ssl status").search - Batch reads with , up to 20 steps a batch. Batches chain operations from one server only — the Hostinger Connector runs
multi-execute,hosting,wordpressandagency-hostingas separate servers. When a product group is switched off, skip its checks and say which were skipped.billing - Page every list until is covered.
meta.total - Leave out — it is large and says nothing about account health.
hosting_php_get
- 首次调用每项操作前,先读取 返回的
search。如果下方某个名称被提示为未知,请通过inputSchema查询该步骤的功能(例如search)。ssl status - 使用 批量读取,每批最多 20 个步骤。一个批次只能串联来自同一服务器的操作——Hostinger Connector 将
multi-execute、hosting、wordpress和agency-hosting作为独立服务器运行。某产品组已关闭时,跳过其检查,并说明跳过了哪些检查。billing - 为每个列表持续翻页,直至覆盖 中的全部项目。
meta.total - 排除 ——它数据量很大,且无法说明账户的健康状况。
hosting_php_get
1. Inventory
1. 清单
One batch per server:
- with
hosting_orders_list.statuses: ["active", "suspended"]plan names are Cloud; the rest (cloud_*,hostinger_premium_*, …) are Shared.hostinger_business_* - — every Shared and Cloud website with
hosting_websites_list,website_type,usernameandorder_id(false means suspended).is_enabled - with
wordpress_installations_list—ownership: "all",id,is_valid.validation_error - and
agency-hosting_orders_list— Agency orders and sites (agency-hosting_websites_list-plan,details.uid,details.type,details.domains).details.state
Tell the user the size (plans, websites, WordPress installs) before the checks. For large accounts offer to scope the audit to one order or domain.
每个服务器一个批次:
- ,参数为
hosting_orders_list。statuses: ["active", "suspended"]套餐名称属于 Cloud;其余套餐(cloud_*、hostinger_premium_*等)属于 Shared。hostinger_business_* - ——获取所有 Shared 和 Cloud 网站及其
hosting_websites_list、website_type、username和order_id(false 表示已暂停)。is_enabled - ,参数为
wordpress_installations_list,用于获取ownership: "all"、id、is_valid。validation_error - 和
agency-hosting_orders_list——获取 Agency 订单和站点(agency-hosting_websites_list-plan、details.uid、details.type、details.domains)。details.state
开始检查前,先告知用户账户规模(套餐、网站、WordPress 安装数量)。对于大型账户,可建议将审计范围限定为一个订单或域名。
2. Checks
2. 检查
Per Shared and Cloud website (skip and ):
builderhorizons- — in
hosting_websites_get-settings, flagssl(withfailed),last_error,expiredon a custom domain,not_installed, andis_https_redirect_enabled: falsewithin 30 days whenexpires_atis false; lifetime certificates renew on their own. Inis_lifetime, flagcache(development mode left on) andis_cacheless_mode_enabled: true.is_enabled: false - Node.js sites: (latest build failed?
hosting_get-deployment) andbuild.statewithhosting_nodejs_list-vulnerabilities.severities: ["critical", "high"]
Per hosting account (): — flag above 80% of .
usernamehosting_databases_listdisk_usage_mbmax_size_mbPer WordPress install: (core vulnerabilities) and (vulnerable plugins and pending updates).
wordpress_installations_show-core-versionwordpress_plugins_list-installedPer Agency order: with and with — flag usage above 80% of the plan quota and name the heaviest websites.
agency-hosting_metrics_list-order-resource-usagetime_frame_hours: 168agency-hosting_metrics_list-plan-order-disk-usagetime_frame_days: 7Per Agency site: for each custom domain in ; flag other than .
agency-hosting_ssl_website-statusdetails.domainsdetails.stateactivePlans about to lapse (billing product): , joined to hosting orders on — flag , or with within 30 days. Every site on that plan goes down with it.
billing_subscriptions_listsubscription_idnot_renewingis_auto_renewed: falseexpires_atFrom outside, for each custom domain:
bash
curl -sS -o /dev/null -w "%{http_code}\n" --max-time 15 https://DOMAIN/
curl -sSI --max-time 15 https://DOMAIN/ | grep -i "^platform"No header means the domain does not reach this hosting.
platform: hostinger对于每个 Shared 和 Cloud 网站(跳过 和 ):
builderhorizons- ——在
hosting_websites_get-settings中,标记ssl(附上failed)、last_error、自定义域名为expired、not_installed,以及is_https_redirect_enabled: false为 false 时is_lifetime距到期不足 30 天的情况;终身证书会自动续期。在expires_at中,标记cache(仍处于开发模式)和is_cacheless_mode_enabled: true。is_enabled: false - 对于 Node.js 网站:使用 (检查最新构建是否失败:
hosting_get-deployment),并使用build.state,设置hosting_nodejs_list-vulnerabilities。severities: ["critical", "high"]
对于每个托管账户():使用 ——标记 超过 80% 的情况。
usernamehosting_databases_listdisk_usage_mbmax_size_mb对于每个 WordPress 安装:使用 (检查核心漏洞)和 (检查存在漏洞的插件及待处理更新)。
wordpress_installations_show-core-versionwordpress_plugins_list-installed对于每个 Agency 订单:使用 ,设置 ;并使用 ,设置 ——标记资源使用量超过套餐配额 80% 的情况,并列出用量最高的网站。
agency-hosting_metrics_list-order-resource-usagetime_frame_hours: 168agency-hosting_metrics_list-plan-order-disk-usagetime_frame_days: 7对于每个 Agency 站点:针对 中的每个自定义域名使用 ;标记 非 的情况。
details.domainsagency-hosting_ssl_website-statusdetails.stateactive即将失效的套餐(billing 产品):使用 ,并通过 与托管订单关联——标记 ,或 且 距到期不足 30 天的套餐。该套餐上的所有网站也会随之下线。
billing_subscriptions_listsubscription_idnot_renewingis_auto_renewed: falseexpires_at从外部针对每个自定义域名执行:
bash
curl -sS -o /dev/null -w "%{http_code}\n" --max-time 15 https://DOMAIN/
curl -sSI --max-time 15 https://DOMAIN/ | grep -i "^platform"如果响应中没有 标头,则该域名未指向此托管服务。
platform: hostinger3. Report
3. 报告
undefinedundefinedHosting audit
托管审计
3 plans (2 Shared, 1 Cloud) + 1 Agency · 14 websites (6 WordPress, 3 Node.js, 5 other) · 4 Agency sites
3 个套餐(2 个 Shared、1 个 Cloud)+ 1 个 Agency · 14 个网站(6 个 WordPress、3 个 Node.js、5 个其他)· 4 个 Agency 网站
Fix now
立即修复
- shop.example.com — latest Node.js build failed 2 days ago → troubleshoot-website
- blog.example.com — contact-form-x 5.2 has a known vulnerability, fixed in 5.3 → maintain-wordpress
- shop.example.com — 2 天前最新 Node.js 构建失败 → troubleshoot-website
- blog.example.com — contact-form-x 5.2 存在已知漏洞,已在 5.3 中修复 → maintain-wordpress
Soon
尽快处理
- example.org — Business plan expires in 12 days, auto-renew off → renew in hPanel
- Agency order 1000000001 — 86% of disk quota, mostly client-a.com
- example.org — Business 套餐将在 12 天后到期,自动续订已关闭 → 在 hPanel 中续订
- Agency 订单 1000000001 — 磁盘配额已使用 86%,主要来自 client-a.com
Worth knowing
值得注意
- 4 WordPress installs have pending plugin updates → maintain-wordpress
- 4 个 WordPress 安装有待处理的插件更新 → maintain-wordpress
Healthy
健康
docs.example.com, portfolio.example.com, …
- **Fix now:** site down or not reaching Hostinger, failed latest build, invalid WordPress install, SSL `failed` or `expired`, critical vulnerabilities, suspended website.
- **Soon:** high vulnerabilities, a plan lapsing within 30 days, usage above 80% of a quota, HTTPS redirect off, non-lifetime certificates expiring.
- **Worth knowing:** pending updates, inactive plugins with vulnerabilities.
Each item names the evidence and the skill that fixes it: `troubleshoot-website`, `maintain-wordpress`, `connect-domain` or `deploy-to-hosting`. Patchable npm vulnerabilities on GitHub-deployed sites can be fixed with `hosting_nodejs_patch-vulnerabilities`, which opens a pull request — offer it, do not run it as part of the audit.docs.example.com、portfolio.example.com、……
- **立即修复:**网站宕机或未指向 Hostinger、最新构建失败、WordPress 安装无效、SSL `failed` 或 `expired`、严重漏洞、网站已暂停。
- **尽快处理:**高危漏洞、套餐将在 30 天内失效、资源使用量超过配额 80%、HTTPS 重定向关闭、非终身证书即将到期。
- **值得注意:**待处理的更新、存在漏洞的非活动插件。
每项问题都应列明证据和对应的修复 skill:`troubleshoot-website`、`maintain-wordpress`、`connect-domain` 或 `deploy-to-hosting`。对于通过 GitHub 部署的网站,可使用 `hosting_nodejs_patch-vulnerabilities` 修复可打补丁的 npm 漏洞;该操作会创建一个 pull request。应当向用户提供此选项,但不要在审计过程中运行。Not available through the API
无法通过 API 获取的内容
CPU and memory usage for Shared and Cloud plans, website backup status, and PHP error logs. Mention them once at the end so the user knows what the audit could not see.
Shared 和 Cloud 套餐的 CPU 与内存使用量、网站备份状态以及 PHP 错误日志。最后统一说明一次,让用户了解审计未能查看的内容。