Added more Composer packages to the typosquat reference list solves #7#26
Merged
Metbcy merged 2 commits intoMetbcy:mainfrom Apr 30, 2026
Merged
Added more Composer packages to the typosquat reference list solves #7#26Metbcy merged 2 commits intoMetbcy:mainfrom
Metbcy merged 2 commits intoMetbcy:mainfrom
Conversation
There was a problem hiding this comment.
Pull request overview
Expands the curated Composer (Packagist) “legit package” seed list used by bomdrift’s typosquat enricher, addressing the request to grow the Composer reference set for higher-signal detection (issue #7).
Changes:
- Updated the header to reflect a “Top ~200” curated Composer package snapshot.
- Added additional high-signal Composer packages across Symfony/Laravel, HTTP middleware, logging/monitoring, testing, auth/2FA, and utilities.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Metbcy
approved these changes
Apr 30, 2026
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.
Fixes #7 Added extra high-signal Composer packages to the typosquat reference list
Test coverage
No new tests (explain why below)
Verification gates
cargo test --release clean
Linked issues
Closes #6 hopefully
Anything reviewers should know
Does not require any new test as just adding to a pre-existing list
Rational for each addition - I focused on underrepresented but often targeted packages like Framework-adjacent, auth, HTTP, logging, testing
Individual Explanations:
middlewares/utils - is a PHP interface for HTTP middleware hence an error could cause broken authentication or incorrect data requests and responses.
middlewares/psr15 - executes HTTP middleware used a lot in API frameworks and hence Flaws could bypass the middleware which could be for instance authentication.
middlewares/fast-route - FastRoute integration into middleware used often in lightweight web apps and hence routing bugs could lead to being sent to the wrong point.
relay/relay - executes HTTP middleware used in Slim and Mezzio apps and hence Flaws could bypass the middleware which could be for instance authentication.
http-interop/http-middleware - "bridges" disconnected applications and hence issues could lead to incorrect end points.
tymon/jwt-auth - JWT authentication for Laravel APIs and hence issues could lead to flawed authentication.
laravel/ui - Basic authentication UI for Laravel apps and hence issues could lead to flawed authentication.
delight-im/auth - a PHP authentication system and hence issues could lead to flawed authentication.
bacon/bacon-qr-code - QR code generator used in 2FA setup and payment and hence if insecure may lead to flawed authentication or the QR code not sending someone to the correct place.
pragmarx/google2fa - A 2FA implementation used in many auth systems issues could lead to flawed authentication.
maxbanton/cwh - PHP logging library for AWS Cloudwatch issues could lead to a leak of data.
graylog2/gelf-php - 2 - GELF logging client used in centralised logging systems hence issues could lead to logs being spoofed.
sentry/sentry - Backend error monitoring issues could lead to errors revealing sensitive data.
sentry/sentry-laravel - Laravel integration for Sentry issues could lead to errors revealing sensitive data.
codeception/codeception - PHP testing framework so issues could lead to a compromise within the code.
kahlan/kahlan - BDD testing framework which again could lead to malicious code in test runs.
orchestra/testbench - testing for Larval packages which again could lead to malicious code in test runs.
opis/closure - created code that can be converted into a byte stream for transmission, issues could lead to code being incorrectly transmitted and causing more errors.
brick/math - Arbitrary-precision math used in finance and hence any financial miscalculations could be expensive mistakes.
symfony/uid - UUID generation which if guessable cause lead to attacks against large numbers of users.
webmozart/assert - Input validation so if a bug unsafe code could be imputed.