Add Linktree to social module (#2399)#3072
Merged
TheTechromancer merged 1 commit intoblacklanternsecurity:devfrom May 4, 2026
Merged
Add Linktree to social module (#2399)#3072TheTechromancer merged 1 commit intoblacklanternsecurity:devfrom
TheTechromancer merged 1 commit intoblacklanternsecurity:devfrom
Conversation
Adds linktr.ee profile detection to the existing social module, alongside LinkedIn / GitHub / Discord / etc. The username pattern is the 3-30 character window of [a-zA-Z0-9._] that Linktree uses on its sign-up page. Extends test_module_social.TestSocial with a Linktree fixture and asserts both the canonical url and profile_name fields on the emitted SOCIAL event. Closes blacklanternsecurity#2399
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #3072 +/- ##
=====================================
- Coverage 91% 91% -0%
=====================================
Files 437 437
Lines 37509 37510 +1
=====================================
- Hits 33925 33923 -2
- Misses 3584 3587 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
2c99274
into
blacklanternsecurity:dev
13 of 17 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #2399 ("Add Social: Linktree", filed by @TheTechromancer).
Adds a Linktree entry to
bbot/modules/social.py'ssocial_media_platformstable so thesocialmodule emits aSOCIALevent forlinktr.ee/<username>URLs alongside the existing platforms.The pattern follows Linktree's own username constraints (3–30 chars of letters/digits/
_/.).Test
test_module_social.TestSocial:<a href=\"https://linktr.ee/blacklanternsecurity\"/>to the response fixture,