[WordPress] 外掛分享: NPC Maintenance Inspector

首頁 › 外掛目錄 › NPC Maintenance Inspector
WordPress 外掛 NPC Maintenance Inspector 的封面圖片
20+
安裝啟用
—
尚無評分
17 天前
最後更新
—
問題解決
WordPress 6.0+ PHP 7.4+ v1.0.6 上架:2026-05-13

內容簡介

NPC Maintenance Inspector 是一款專為 WordPress 網站設計的維護檢查外掛,能夠從控制台直接執行九項健康診斷,確保網站的穩定性與安全性。

【主要功能】
• 檢測 WordPress 核心更新缺失
• 列出可更新的外掛
• 提取網站健康問題
• 分析 PHP 版本及過期警告
• 檢查文件完整性與可疑代碼
• 生成 AI 維護建議報告

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.6) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「NPC Maintenance Inspector」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

NPC Maintenance Inspector performs 9-point health diagnostics on your WordPress site directly from the admin dashboard:

WordPress core updates — Detect missing core updates.
Plugin updates — List plugins with available updates.
Site Health issues — Extract critical issues from WP standard Site Health API.
PHP version — Check whether a newer security release of the server’s PHP branch is out, and whether the branch still receives official security fixes (both from php.net).
Error log analysis — Summarize debug.log entries and save a one-click backup to uploads/ for safe review.
File integrity — Detect suspicious code patterns in core files (eval / base64_decode / etc.) by comparing checksums against the WordPress.org Checksum API.
Suspicious files — Find unexpected PHP files in wp-content/uploads/, with built-in whitelist for known legitimate plugin files (Ajax Load More templates, WP STAGING index.php, AIOS firewall rules, etc.).
SSL certificate — Check days until expiration (warn under 30 days, critical at 0).
File permissions — Check critical files like wp-config.php, .htaccess, wp-content/.

Operational features:

History — Keep the last 10 diagnoses as a custom post type.
Scheduled auto-check — Run daily, weekly, or monthly via WP Cron.
Email notifications (automatic diagnosis) — Send alerts only on critical issues.
PHP security release alerts — Once a day, email when a security release of the server’s PHP branch is not applied yet, or when official security fixes for the branch have ended (each once, plus one reminder if nothing changes after 7 days), and when php.net could not be checked for 7 days. On by default; can be turned off in Settings.
One-click debug.log backup — Save a copy of debug.log without modifying the original.
Optional AI report — Generate maintenance suggestions via Anthropic Claude API. Disabled by default; opt-in via a wp-config.php constant.

The plugin is locked to the user who activated it and to the original site URL, so it stays inert after backup restores to a different domain.
External services
This plugin contacts four external services (two of them on php.net).

WordPress.org Checksums API (https://api.wordpress.org/core/checksums/1.0/) — every diagnosis (manual or scheduled). The File Integrity check downloads the official checksums for the installed WordPress version to compare them with the core files on your site. Sent: the WordPress version and the site locale as URL parameters (if no checksums exist for the locale, the request is repeated with en_US). No file contents or diagnosis results are sent. As with all requests WordPress makes, the standard user agent includes the WordPress version and the site URL. WordPress.org privacy policy: https://wordpress.org/about/privacy/
php.net release information (https://www.php.net/releases/?json) — every diagnosis and once a day (PHP security release alerts; results are cached for up to 6 hours). The PHP check downloads the list of releases of the server’s PHP branch to see whether a newer security release is out. Sent: the PHP branch (for example 8.3) as a URL parameter. As with all requests WordPress makes, the standard user agent includes the WordPress version and the site URL. php.net privacy policy: https://www.php.net/privacy.php
php.net PHP branch support dates (https://www.php.net/releases/states.php) — at the same times as item 2. Downloads the date each PHP branch stops receiving official security fixes. Sent: nothing besides the request itself (no parameters). As with all requests WordPress makes, the standard user agent includes the WordPress version and the site URL. php.net privacy policy: https://www.php.net/privacy.php
Anthropic Claude API (https://api.anthropic.com/v1/messages) — optional, to generate AI-powered maintenance reports. Details below.

The update checks for WordPress core and plugins use WordPress core’s own functions (wp_version_check() / wp_update_plugins()), which contact WordPress.org in the same way WordPress does on its own. The Site Health check runs WordPress core’s own Site Health tests; one of them is WordPress core’s PHP version check, which sends the PHP version to https://api.wordpress.org/core/serve-happy/1.0/ (WordPress caches the answer for a week). This plugin does not use that answer for its PHP security check, which uses php.net only.
The rest of this section describes the Anthropic Claude API.
When is data sent?

When you manually click the “Generate AI Report” button in the admin.
When an automatic scheduled diagnosis detects a critical issue and notifications are enabled. In that case the AI report is generated once per critical run and attached to the notification email.

What data is sent?

The diagnosis result text only:

Site URL, site name, WordPress version, theme name
Names and versions of plugins with available updates, Site Health issue titles (including notices from other plugins)
PHP version, web server name, memory limit, max upload size, whether a newer PHP security release exists, the date official security fixes for the PHP branch end, and the PHP branches that still receive them
The size of debug.log and up to 10 error lines from it, as written in the log. Error lines can contain file paths and any data that code wrote into the log, so review debug.log before generating a report if that is a concern
File Integrity counts, the paths of core files that differ or could not be checked, and suspicious code patterns found in those core files (function names like eval, base64_decode)
Paths of suspicious PHP files found in the uploads folder, and paths there that could not be read
Counts (plugins, Site Health results), the latest WordPress version, and the notes each check writes
SSL expiration date and days remaining
File-permission status of critical files

Values that come from the site (error lines, file paths, plugin names, Site Health titles) are shortened to one line of up to 300 characters, and the diagnosis is sent inside a delimited data block that the AI is told never to treat as instructions.
Apart from what may appear in the error lines above, the plugin does not collect login data, passwords or post content.

Is the data sent unconditionally?
No. The AI feature is completely disabled unless you define NPCMI_API_KEY in wp-config.php. Without that constant, no external connection to Anthropic is ever made.
Anthropic’s terms and privacy policy:

Consumer Terms of Service: https://www.anthropic.com/legal/consumer-terms
Privacy Policy: https://www.anthropic.com/legal/privacy
Commercial Terms of Service (if you use a paid API plan): https://www.anthropic.com/legal/commercial-terms

By enabling the AI report feature (i.e. by defining NPCMI_API_KEY), you agree to Anthropic’s applicable terms.

延伸相關外掛

文章
Filter
Mastodon