Move security hardening from core to firewall plugin #155

Closed
opened 2026-06-04 18:28:33 +00:00 by jmiller · 1 comment
Owner

Security hardening features in the core plugin should be in plg_system_mokowaas_firewall:

  • protectPlugin() - blocks non-master uninstall
  • ensureProtectedFlag() - self-healing protected=1 on extensions
  • isOurExtension() - extension ID matching helper
  • handleEmergencyAccess() - emergency login bypass
  • completeEmergencyLogin() - emergency login completion
  • logEmergencyAttempt() - emergency access logging
  • sendEmergencyNotification() - emergency access email alert
  • isIpAllowed() - IP whitelist check

The firewall plugin already has WAF shields, security headers, IP blocklist, and auto-ban.

Security hardening features in the core plugin should be in plg_system_mokowaas_firewall: - [ ] protectPlugin() - blocks non-master uninstall - [ ] ensureProtectedFlag() - self-healing protected=1 on extensions - [ ] isOurExtension() - extension ID matching helper - [ ] handleEmergencyAccess() - emergency login bypass - [ ] completeEmergencyLogin() - emergency login completion - [ ] logEmergencyAttempt() - emergency access logging - [ ] sendEmergencyNotification() - emergency access email alert - [ ] isIpAllowed() - IP whitelist check The firewall plugin already has WAF shields, security headers, IP blocklist, and auto-ban.
Author
Owner

Branch created: feature/155-move-security-hardening-from-core-to-fir

git fetch origin
git checkout feature/155-move-security-hardening-from-core-to-fir
Branch created: [`feature/155-move-security-hardening-from-core-to-fir`](https://git.mokoconsulting.tech/MokoConsulting/MokoWaaS/src/branch/feature/155-move-security-hardening-from-core-to-fir) ```bash git fetch origin git checkout feature/155-move-security-hardening-from-core-to-fir ```
Sign in to join this conversation.
No labels
Type
Status
Priority
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoWaaS#155