How bliyscom/truewpsec works
TrueWPSec is a WordPress security plugin. WordPress loads the plugin, whose bootstrap initializes its runtime; administrators use the dashboard to configure protections and run scanning or cleanup actions. The product also covers request filtering, login and API hardening, file locking, malware repair, health checks, and audit logging. The sampled code confirms several admin-to-service and healer-to-service calls; wiring not shown in the excerpts is omitted rather than inferred.
Main entry points: class-truewpsec-admin.php Admin dashboard · class-truewpsec-scanner.php Malware scanner · class-truewpsec-audit-log.php Audit log · class-truewpsec-auto-healer.php Automatic repair
Components 18
Plugin runtime
- Plugin bootstrap
truewpsec.php - Security core
inc/class-truewpsec-core.php
Request protection
- Web firewall
inc/class-truewpsec-firewall.php - Attack prevention
inc/class-truewpsec-attack-prevention.php - API blocker
inc/class-truewpsec-api-blocker.php - Login hardening
inc/class-truewpsec-hardener.php - Gatekeeper login
templates/gatekeeper-login.php
File integrity
- Malware scanner
inc/class-truewpsec-scanner.php - System locker
inc/class-truewpsec-locker.php - Automatic repair
inc/class-truewpsec-auto-healer.php - Health checks
inc/class-truewpsec-health-checker.php
Administration and records
- Admin dashboard
inc/class-truewpsec-admin.php - System cleaner
inc/class-truewpsec-cleaner.php - Audit log
inc/class-truewpsec-audit-log.php - Audit table
inc/class-truewpsec-audit-log.php
Other components
- WordPress
- GeoIP service
- WordPress.org
Connections 12
- WordPress → Plugin bootstrap: loads plugin
truewpsec.php - Plugin bootstrap → Security core: initializes
truewpsec.php - Admin dashboard → Malware scanner: scans or repairs
inc/class-truewpsec-admin.php - Admin dashboard → System cleaner: deletes junk
inc/class-truewpsec-admin.php - Admin dashboard → Audit log: records deletion
inc/class-truewpsec-admin.php - Admin dashboard → Attack prevention: updates settings
inc/class-truewpsec-admin.php - Admin dashboard → Login hardening: updates settings
inc/class-truewpsec-admin.php - Automatic repair → Malware scanner: scans and repairs
inc/class-truewpsec-auto-healer.php - Automatic repair → Audit log: records repair
inc/class-truewpsec-auto-healer.php - Audit log → Audit table: writes and queries
inc/class-truewpsec-audit-log.php - Web firewall → GeoIP service: checks IP country
inc/class-truewpsec-firewall.php - Malware scanner → WordPress.org: fetches core file
inc/class-truewpsec-scanner.php