Skip to content

fix: Bluesky username module false positives - #488

Merged
kaifcodec merged 2 commits into
kaifcodec:mainfrom
kristoisberg:fix/bluesky-username-false-positives
Aug 2, 2026
Merged

fix: Bluesky username module false positives#488
kaifcodec merged 2 commits into
kaifcodec:mainfrom
kristoisberg:fix/bluesky-username-false-positives

Conversation

@kristoisberg

Copy link
Copy Markdown
Collaborator

This PR fixes false positives in the Bluesky username module. In addition to taken usernames, the currently used "checkHandleAvailability" RPC call also rejects usernames that are invalid for other reasons.

I removed the "checkHandleAvailability" RPC call, instead checking username availability using the "getProfile" RPC, which was already used to fetch enrichments. As a result, the module also became much simpler.

Previously false positive test case:
user-scanner -u dgfghhfghfgfghijogh --verbose -m bluesky

@kaifcodec
kaifcodec requested a review from json-hunter07 August 2, 2026 05:15

@kaifcodec kaifcodec left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kristoisberg I just refactored the error message as this one tells the user to report it.

@json-hunter07 json-hunter07 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kaifcodec LGTM.

@kaifcodec
kaifcodec merged commit d3d6872 into kaifcodec:main Aug 2, 2026
2 checks passed
@kaifcodec kaifcodec added enhancement New feature, request, code improvements/upgrade, performance boost bug fix Fixed a bug in existing files labels Aug 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug fix Fixed a bug in existing files enhancement New feature, request, code improvements/upgrade, performance boost

3 participants