Skip to content

Beta - #759

Merged
AntonV1211 merged 25 commits into
masterfrom
beta
Oct 27, 2026
Merged

Beta#759
AntonV1211 merged 25 commits into
masterfrom
beta

Conversation

@AntonV1211

Copy link
Copy Markdown
Contributor

AntonV1211 and others added 25 commits September 23, 2026 14:45
# Conflicts:
#	lib/CleantalkSP/SpbctWP/Scanner/BinaryCheckModule/BinaryCheckModule.php
#	security-malware-firewall.php
Reject unreadable source files and failed regular-expression replacements for both code cure actions, preserving the source and recording a cure error.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Fix. 2FA. Flow updates.

* Fix. 2FA. Keep user rate limiter UA charset-safe.

Truncating UA by bytes could split a multibyte character; wpdb rejects
queries with invalid text and the limiter fails open, so the per-user
2FA attempts cap could be bypassed. Keep only printable ASCII.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Fix. 2FA. Atomic step token attempts and claim.

Concurrent requests with the same step token could overwrite each
other's fail counter and both pass the TOTP replay check. Now each
attempt is reserved by compare-and-swap of the token record before the
code check, and a correct code logs in only if this request deletes
the reserved record. The TOTP time step is marked used after the claim.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Fix. 2FA. Revoke pending challenge on password reset.

A step token and e-mail code issued for the old password could still
complete the login after the password reset. Revoke both on
after_password_reset.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Fix. 2FA. Keep concurrent login's fresh step token on success.

The step record is already consumed by the atomic claim, so deleting
user meta again on success could revoke a fresh challenge issued to a
password login in another browser. Clear only this browser's cookie.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…or file actions (#762)

* Dev. Git. Added the Skills folder to .gitignore

* Fix. FSW. Restriction of access to FSW, edits for wpms, restriction for file actions

* Fix. FSW. Limitation for actions of oscron and delete-trigger

* Dev. Code. Review corrections

* Dev. Activator. Switching to the wp_initialize_site hook when adding a new blog
@AntonV1211
AntonV1211 merged commit ff92371 into master Oct 27, 2026
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.

3 participants