Skip to content

Report deceptive link cards (UN-RFC 0059 §11) - #28

Merged
andlo merged 1 commit into
mainfrom
link-cards
Oct 30, 2026
Merged

andlo merged 1 commit into
mainfrom
link-cards

Conversation

@andlo

@andlo andlo commented Oct 30, 2026

Copy link
Copy Markdown
Member

Closes #27 · needs unseenet#797 (fetch_card) to run; the logic and its tests don't.

  • cards.py: deceptive() - at least 3 words in the card title, at least 2 in the page's, no shared word of 4+ letters with the page's title, description or site; cookie walls / challenges / error pages (WALLS) never judged. Pages: fetch once a day per URL; an unreachable page is no finding.
  • check_post: a phishing finding (the phishing issuer), only when the blocklists found nothing.
  • cards = false by default (a Tor fetch per card); pages only through a local Tor.
  • The picture is not compared.
  • README, example config, CHANGELOG, tests/test_cards.py.

🤖 Generated with Claude Code

https://claude.ai/code/session_018Y3WsFuyEZNjfrY2qqBSkV

With cards = true, the page behind a post's link card is read over Tor and the
post reported as phishing when the card's title shares nothing with the page's
title, description or site name. Careful: short titles, pages without a title,
cookie walls and challenges are never reported. Off by default.

Closes #27

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Y3WsFuyEZNjfrY2qqBSkV
@andlo
andlo merged commit 624f94d into main Oct 30, 2026
2 checks passed
@andlo
andlo deleted the link-cards branch October 30, 2026 16:16
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.

Report deceptive link cards (UN-RFC 0059 §11)

1 participant