Skip to content

Security updates: harden wp-puller against 17 identified issues.#6

Open
maliMirkec wants to merge 3 commits intocodician-team:mainfrom
maliMirkec:security-updates
Open

Security updates: harden wp-puller against 17 identified issues.#6
maliMirkec wants to merge 3 commits intocodician-team:mainfrom
maliMirkec:security-updates

Conversation

@maliMirkec
Copy link
Copy Markdown

  • Require signature verification before handling ping events
  • Replace hardcoded AES fallback key with generated, persisted site key
  • Randomize backup directory name to prevent enumeration on Nginx
  • Add HMAC-SHA256 authentication to AES-256-CBC encryption (v2 format)
  • Add IP-based rate limiting (10 req/min) with Retry-After header on 429
  • Add transient-based concurrent update lock
  • Mask webhook secret input (type=password); fully redact PAT display
  • Remove PAT prefix from debug logs and admin status response
  • Add path traversal guard for theme_path setting
  • Switch all HTTP calls to wp_safe_remote_get
  • Replace deprecated execCommand('copy') with Clipboard API
  • Remove @ error suppressors from unlink() calls
  • Clean all plugin transients and backup directory on uninstall

- Require signature verification before handling ping events
- Replace hardcoded AES fallback key with generated, persisted site key
- Randomize backup directory name to prevent enumeration on Nginx
- Add HMAC-SHA256 authentication to AES-256-CBC encryption (v2 format)
- Add IP-based rate limiting (10 req/min) with Retry-After header on 429
- Add transient-based concurrent update lock
- Mask webhook secret input (type=password); fully redact PAT display
- Remove PAT prefix from debug logs and admin status response
- Add path traversal guard for theme_path setting
- Switch all HTTP calls to wp_safe_remote_get
- Replace deprecated execCommand('copy') with Clipboard API
- Remove @ error suppressors from unlink() calls
- Clean all plugin transients and backup directory on uninstall
- Remove @ error suppressors from unlink calls
- Clean up all new options/transients on uninstall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant