Skip to content

Commit

Permalink
update rule extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
cpholguera committed Sep 10, 2024
1 parent 99ee0c2 commit 18e9167
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 4 deletions.
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
Expand Up @@ -2,6 +2,7 @@
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 Down
File renamed without changes.
File renamed without changes.

0 comments on commit 18e9167

Please sign in to comment.