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

Glide library detection rule #715

Merged
merged 2 commits into from
Nov 22, 2024
Merged

Glide library detection rule #715

merged 2 commits into from
Nov 22, 2024

Conversation

stoletheminerals
Copy link
Contributor

No description provided.

Bitmap decodedByte =
BitmapFactory.decodeByteArray(imageData, 0, imageData.length);
// ruleid: glide-library
Glide.with(mActivity)

Choose a reason for hiding this comment

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

reported by reviewdog 🐶
[semgrep] The Glide image loading library is not yet approved, new usages should not be implemented until the security team has given their approval.

Source: https://github.com/brave/security-action/blob/main/assets/semgrep_rules/client/glide-library.yaml


Cc @stoletheminerals @bridiver

@@ -0,0 +1,28 @@
// ruleid: glide-library
import com.bumptech.glide.load.DataSource;

Choose a reason for hiding this comment

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

reported by reviewdog 🐶
[semgrep] The Glide image loading library is not yet approved, new usages should not be implemented until the security team has given their approval.

Source: https://github.com/brave/security-action/blob/main/assets/semgrep_rules/client/glide-library.yaml


Cc @stoletheminerals @bridiver

@thypon thypon merged commit a7f2e2e into main Nov 22, 2024
7 checks passed
@thypon thypon deleted the glide-rule branch November 22, 2024 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants