Skip to content

Feat/issues 1107 1108 1109 1143 - #1273

Merged
fejilaup-cloud merged 3 commits into
AtomicIP:mainfrom
usman222nuhu:feat/issues-1107-1108-1109-1143
Oct 21, 2026
Merged

fejilaup-cloud merged 3 commits into
AtomicIP:mainfrom
usman222nuhu:feat/issues-1107-1108-1109-1143

Conversation

@usman222nuhu

Copy link
Copy Markdown
Contributor

Title

feat(api-server): GDPR user data deletion and threat detection (#1107, #1108)

Description

  • Add GDPR-Compliant Data Deletion #1107: Adds DELETE /users/{user_id}. It removes the user's off-chain data: owned commitments and tags (cascading to watchlists), their watchlist, 2FA config and sessions, and audit events attributed to them. Audit events are anonymized and the HMAC chain is re-signed so verification still passes. A post-erasure scan reports any remaining references. On-chain commitments are immutable and are reported as retained.
  • Implement Threat Detection for Suspicious Activity #1108: Adds sliding-window threat detection for rapid-fire commitments, unusual access (distinct IP enumeration), and suspicious verification chains (repeated failures per IP). Alerts are logged and submitted to the alert manager. Wired into commit and batch-reveal handlers.

Closes #1107
Closes #1108
Closes #1109
Closes #1143

Adds DELETE /users/{user_id}, which erases a user's off-chain data:
- commitment index entries and tags for IPs they own, cascading to every
  watchlist that referenced them
- the user's own watchlist, 2FA configuration and sessions
- audit log events attributed to the user, anonymized with the HMAC chain
  re-signed so verification still passes
- post-erasure scan that reports any remaining references

On-chain commitments are immutable and are reported as retained.
…cIP#1108)

Adds sliding-window detectors that alert once per burst when:
- one owner registers 5 commitments within 60s (rapid-fire commits)
- one actor touches 50 distinct IP records within 60s (unusual access)
- the same IP accumulates 5 failed verifications within 60s (suspicious
  verification chain)

Alerts are logged and submitted to the alert manager. Commit and batch
reveal handlers feed the detectors.
@drips-wave

drips-wave Bot commented Oct 16, 2026

Copy link
Copy Markdown

@usman222nuhu Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@fejilaup-cloud
fejilaup-cloud merged commit 278768d into AtomicIP:main Oct 21, 2026
0 of 3 checks passed
gabrielujelistic-collab pushed a commit to Stellar-drive/stellar-drive-atomic-ip that referenced this pull request Nov 9, 2026
…108-1109-1143

Feat/issues 1107 1108 1109 1143
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants