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

Enhance shady links rule #476

Merged
merged 2 commits into from
Oct 28, 2024
Merged

Enhance shady links rule #476

merged 2 commits into from
Oct 28, 2024

Conversation

sobregosodd
Copy link
Contributor

This PR changes the matching on the rule to match on json files and also removal of the slash ending requirement for complete domains regex

No false positives were observed in a test against the top 1k npm and pypi packages.

Copy link
Contributor

@ikretz ikretz left a comment

Choose a reason for hiding this comment

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

lgtm

@sobregosodd sobregosodd merged commit 8bb9532 into main Oct 28, 2024
10 checks passed
@sobregosodd sobregosodd deleted the s.obregoso/improve_shady_links branch October 28, 2024 10:22
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.

2 participants