NanoScan Light
Ultra-fast PHP & malware scanner for uploads dir. / uploads内を高速スキャンし、PHPや不審なコードを検知する軽量ツール。
by masato shibuya(Image-box Co., Ltd.) · github.com/ms13th-cyber/nanoscan-light · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/ms13th-cyber/nanoscan-light/archive/refs/heads/main.zipReadme
NanoScan Light
Ultra-fast, zero-config, and lightweight security scanner for WordPress. WordPressのための、超高速・設定不要・軽量セキュリティスキャナー。
🇯🇵 日本語概要 (Japanese Overview)
多くのセキュリティプラグインは、多機能ゆえに管理画面を重くし、DBに負荷をかけます。
NanoScan Light は「外科医のメス」のようなツールです。最も脆弱になりやすい uploads ディレクトリに特化し、サイトのパフォーマンスを一切犠牲にすることなく脅威を特定します。
- パフォーマンスへの影響ゼロ: バックグラウンド常駐やDB書き込みを排除。
- AJAXリアルタイム進捗: 大規模サイトでもタイムアウトせず、スキャン状況を可視化。
- 強化された検知ロジック: PHP混入、画像偽装、不審な
.htaccess、さらに SVG 内のスクリプトも検知。 - 開発者フレンドリー: WP-CLIに完全対応。ターミナルから一瞬で実行。
- 透明性: 外部通信なし。シンプルなPHPコードのみで構成。
🔥 Why NanoScan Light?
Most WordPress security plugins are heavy, bloated, and slow down your admin dashboard. NanoScan Light is different. It’s a surgeon’s scalpel: sharp, fast, and focused.
- Zero Performance Hit: No background processes, no database bloat.
- AJAX-Powered UX: Real-time progress tracking without browser timeouts.
- Deep Edge Scanning: Detects PHP injections, fake images, malicious
.htaccess, and SVG-based threats. - WP-CLI Native: Designed for developers who love the terminal.
- Transparent: Simple PHP code. No "black box" cloud scanning.
Quick Start / 使い方
- プラグインをアップロードして有効化。 (Upload and activate the plugin.)
- ツール > NanoScan から「スキャン開始」。 (Go to Tools > NanoScan and hit "Start Scan".)
- または、WP-CLIから実行: (Or use it via WP-CLI:)
wp nano-scan
Performance Benchmark / ベンチマーク比較
We tested the scanning speed on a standard WordPress installation with 2,500 media files (approx. 4.2GB). 標準的なWordPress環境(メディアファイル2,500個、約4.2GB)でスキャン速度を測定しました。
| Metric / 指標 | Traditional Security Plugins | NanoScan Light |
|---|---|---|
| Scan Duration / 実行時間 | 120s - 300s+ | 0.8s - 1.2s |
| Memory Usage / メモリ使用量 | 128MB - 256MB | < 5MB |
| DB Queries / クエリ発行数 | 50+ queries | 0 (Zero) |
| Process / スキャン方式 | Deep Inspection (Heavy) | AJAX Header-Signature Scan |
| Impact on Site / サイト負荷 | Significant slowing | None (Ultra Light) |
Traditional Scan: [██████████████████████████████] 300.0s NanoScan Light: [▏ ] 0.8s
Note: NanoScan Light is approx. 300x faster because it doesn't perform "deep inspection" on every single byte. Instead, it uses a "Header-Signature" scan—checking only the first 2048 bytes of files where malware typically hides its execution code.
注意: 全てのバイトを精査する代わりに、マルウェアがコードを隠しがちな先頭2048バイトのみを集中スキャンする「ヘッダー・シグネチャ・スキャン」を採用しているため、従来比で約300倍の高速化を実現しています。
Tech Stack & Optimization / 技術的な最適化
- AJAX Progressive Engine: 大規模な
uploadsフォルダでもタイムアウトせずに完走します。 - Zero-DB Logic: スキャン結果をDBに保存しないため、データベースを一切汚しません。
- Smart Detection: PHP, .htaccess, SVG, WebP など、現代の攻撃ベクトルをカバーしています。
Read the full README on GitHub →
Releases
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.