Skip to content

Added more Composer packages to the typosquat reference list solves #7#26

Merged
Metbcy merged 2 commits intoMetbcy:mainfrom
GREX18:main
Apr 30, 2026
Merged

Added more Composer packages to the typosquat reference list solves #7#26
Metbcy merged 2 commits intoMetbcy:mainfrom
GREX18:main

Conversation

@GREX18
Copy link
Copy Markdown
Contributor

@GREX18 GREX18 commented Apr 30, 2026

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.

Copilot AI review requested due to automatic review settings April 30, 2026 09:29
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

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.

Comment thread data/composer-top200.txt
Comment thread data/composer-top200.txt
@Metbcy Metbcy self-requested a review April 30, 2026 19:49
Copy link
Copy Markdown
Owner

@Metbcy Metbcy left a comment

Choose a reason for hiding this comment

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

Good PR solves #7

@Metbcy Metbcy merged commit f1c20cd into Metbcy:main Apr 30, 2026
8 checks passed
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.

Add more Composer packages to the typosquat reference list Add more high-signal Go modules to the typosquat reference list

3 participants