Skip to content

chore: sanitize spam example references#11

Closed
rezhajulio wants to merge 1 commit intofeat/bio-bait-spam-detectionfrom
chore/sanitize-spam-examples
Closed

chore: sanitize spam example references#11
rezhajulio wants to merge 1 commit intofeat/bio-bait-spam-detectionfrom
chore/sanitize-spam-examples

Conversation

@rezhajulio
Copy link
Copy Markdown
Owner

Replaces real-looking Telegram invite hashes and @username from spam examples in code comments and tests with obvious placeholders (exampleinvitehash, somerandomscamchannel) so the repository does not propagate (or appear to endorse) actual scam links.

Stacks on top of #10. Merge this first (or after #10) to apply sanitization.

Files

  • src/bot/handlers/bio_bait.py — sanitize module-level docstring + comment
  • tests/test_bio_bait.py — replace real invite hash in test fixtures

Verification

  • uv run pytest tests/test_bio_bait.py → 79 passed

Replace real-looking Telegram invite hashes and @username from spam
examples in code comments and tests with obvious placeholders so the
repository does not propagate (or appear to endorse) actual scam links.
@rezhajulio
Copy link
Copy Markdown
Owner Author

Folding into #10 directly instead of stacking.

@rezhajulio rezhajulio closed this May 1, 2026
@rezhajulio rezhajulio deleted the chore/sanitize-spam-examples branch May 1, 2026 16:05
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