Flag suspicious registrations sharing risky account IPs #974
No reviewers
Labels
No labels
automated
code-quality
component: admin dashboard
component: backend
component: billing
component: content management
component: faqs
component: game genres
component: game lists
component: game reviews
component: game search
component: games
component: internal notifications
component: platforms
component: security
component: tests
component: user api
component: user badges
component: user blogs
component: user consoles
component: user favorites
component: user friends
component: user notifications
component: user profiles
component: user site notifications
component: user wishlists
component: web design
dependencies
javascript
php
priority
high
priority
low
priority
medium
security-hotspot
source: codex
source: sonarqube
status
awaiting feedback
status
backlog
status
done
status
in progress
status
in queue
status
in review
status
needs codex review
status
needs investigation
status
wontfix
type: bug
type: documentation
type: feature
type: improvement
type: regression
type: task
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MyVideoGameList/myvideogamelist.com!974
Loading…
Reference in a new issue
No description provided.
Delete branch "codex/issue-49-suspicious-registration-alerts"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Flag registrations whose IP matches a banned/deleted account or at least two existing accounts created within seven days, while keeping ordinary IP reuse quiet.
Persist structured security audit snapshots and send optional queued Discord embeds with account edit links, Central-time dates, bounded retries, and resumable pagination. Configure
DISCORD_WEBHOOK_URLand an asynchronous queue worker to enable delivery; the migration adds a registration-IP lookup index.Verification: 48 focused tests passed, including registration regressions, risk flags, burst boundaries, IPv6, transaction rollback, delivery failures, embed limits, index rollback, and audit retention. The opt-in live delivery test was skipped in the final automated run; separate live mock deliveries were accepted by Discord. Pint and PHPStan passed.
Fixes #49
ca1b6fbf170ba47adb73