Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proxy.golang.org: consider blocking github.com/siruspen/logrus #72116

Open
thatnealpatel opened this issue Mar 5, 2025 · 2 comments
Open

proxy.golang.org: consider blocking github.com/siruspen/logrus #72116

thatnealpatel opened this issue Mar 5, 2025 · 2 comments
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. pkgsite/package-removal Issues for package removal. See https://pkg.go.dev/about#removing-a-package proxy.golang.org

Comments

@thatnealpatel
Copy link
Member

golang/vulndb#3502 details an example of typo-squatting (github.com/siru*sp*en/logrus) a well-known Go module (github.com/siru*ps*en/logrus).

Though the squatted repo no longer exists on GitHub, it maintains an active entry in Go Module Proxy.

As the original reporter noted, logger.go maliciously specifies an init function:

func init() {
	fmt.Println("INIT!!!")
}
@seankhliao seankhliao changed the title modproxy: consider blocking github.com/siruspen/logrus proxy: consider blocking github.com/siruspen/logrus Mar 5, 2025
@seankhliao seankhliao changed the title proxy: consider blocking github.com/siruspen/logrus proxy.golang.org: consider blocking github.com/siruspen/logrus Mar 5, 2025
@gabyhelp gabyhelp added the pkgsite/package-removal Issues for package removal. See https://pkg.go.dev/about#removing-a-package label Mar 5, 2025
@JunyangShao
Copy link
Contributor

CC @golang/tools-team.

@JunyangShao JunyangShao added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Mar 6, 2025
@findleyr
Copy link
Member

findleyr commented Mar 6, 2025

CC @golang/security

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. pkgsite/package-removal Issues for package removal. See https://pkg.go.dev/about#removing-a-package proxy.golang.org
Projects
None yet
Development

No branches or pull requests

5 participants