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

Fix-ids #2890

Merged
merged 2 commits into from
Sep 10, 2024
Merged

Fix-ids #2890

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test: MASTG-TEST-0204

Let's run our @MASTG-TOOL-0110 rule against the sample code.

{{ ../../../../rules/mastg-android-insecure-random-use.yaml }}
{{ ../../../../rules/mastg-android-insecure-random-use.yml }}

{{ run.sh }}

Expand Down
2 changes: 1 addition & 1 deletion demos/android/MASVS-CRYPTO/MASTG-DEMO-0007/run.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
NO_COLOR=true semgrep -c ../../../../rules/mastg-android-insecure-random-use.yaml ./MastgTest_reversed.java --text -o output.txt
NO_COLOR=true semgrep -c ../../../../rules/mastg-android-insecure-random-use.yml ./MastgTest_reversed.java --text -o output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test: MASTG-TEST-0205

Let's run our @MASTG-TOOL-0110 rule against the sample code.

{{ ../../../../rules/mastg-android-non-random-use.yaml }}
{{ ../../../../rules/mastg-android-non-random-use.yml }}

{{ run.sh }}

Expand Down
2 changes: 1 addition & 1 deletion demos/android/MASVS-CRYPTO/MASTG-DEMO-0008/run.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
NO_COLOR=true semgrep -c ../../../../rules/mastg-android-non-random-use.yaml ./MastgTest_reversed.java --text -o output.txt
NO_COLOR=true semgrep -c ../../../../rules/mastg-android-non-random-use.yml ./MastgTest_reversed.java --text -o output.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
platform: android
title: Use of Hardcoded AES Key in SecretKeySpec with semgrep
id: MASTG-DEMO-0017
test: MASTG-TEST-0212
tools: [semgrep]
code: [java]
---
Expand All @@ -13,7 +15,7 @@ code: [java]

Let's run our @MASTG-TOOL-0110 rule against the sample code.

{{ ../../../../rules/mastg-android-hardcoded-crypto-keys-usage.yaml }}
{{ ../../../../rules/mastg-android-hardcoded-crypto-keys-usage.yml }}

{{ run.sh }}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
platform: ios
title: Uses of Insecure Encryption Algorithms in CommonCrypto with r2
code: [swift]
id: MASTG-DEMO-0014
id: MASTG-DEMO-0018
test: MASTG-TEST-0210
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Use of Hardcoded Cryptographic Keys in Code
platform: android
id: MASTG-TEST-0210
id: MASTG-TEST-0212
type: [static]
weakness: MASWE-0014
---
Expand Down
Loading