The OWASP Mobile Application Security Testing Guide (MASTG) is a comprehensive manual for mobile app security testing and reverse engineering. It describes technical processes for verifying the OWASP Mobile Security Weakness Enumeration (MASWE) weaknesses, which are in alignment with the OWASP MASVS.
This report presents the forensic synthetic code analysis of OWASP/mastg, a Python project with 13,047 GitHub stars. SynthScan v2.0 examined 94,974 lines of code across 1777 source files, recording 177 pattern matches distributed across 16 syntactic categories. The overall adjusted score of 9.0 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 177 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | tests/android/MASVS-PLATFORM/MASTG-TEST-0028.md | 288 | com.android.internal.os.ZygoteInit.main(ZygoteInit.java) | CODE |
| CRITICAL⚡ | demos/ios/MASVS-NETWORK/MASTG-DEMO-0154/output.txt | 2 | 50 0x00004490 0x00004490 GLOBAL FUNC 0 _$s10MASTestApp24SecureURLSessionDelegateC10urlSession_10didReceive17com | CODE |
| CRITICAL⚡ | demos/ios/MASVS-NETWORK/MASTG-DEMO-0154/output.txt | 3 | 51 0x00018968 0x00018968 GLOBAL FUNC 0 _$s10MASTestApp24SecureURLSessionDelegateC10urlSession_10didReceive17com | CODE |
| CRITICAL⚡ | demos/ios/MASVS-NETWORK/MASTG-DEMO-0154/output.txt | 4 | 58 0x00004000 0x00004000 GLOBAL FUNC 0 _$s10MASTestApp26InsecureURLSessionDelegateC10urlSession_10didReceive17c | CODE |
| CRITICAL⚡ | demos/ios/MASVS-NETWORK/MASTG-DEMO-0154/output.txt | 5 | 59 0x0001892c 0x0001892c GLOBAL FUNC 0 _$s10MASTestApp26InsecureURLSessionDelegateC10urlSession_10didReceive17c | CODE |
| CRITICAL⚡ | demos/ios/MASVS-NETWORK/MASTG-DEMO-0154/output.txt | 6 | 90 0x000041f8 0x000041f8 LOCAL FUNC 0 _$s10MASTestApp26InsecureURLSessionDelegateC10urlSession_10didReceive17c | CODE |
| CRITICAL⚡ | demos/ios/MASVS-NETWORK/MASTG-DEMO-0154/output.txt | 7 | 95 0x00004780 0x00004780 LOCAL FUNC 0 _$s10MASTestApp24SecureURLSessionDelegateC10urlSession_10didReceive17com | CODE |
| CRITICAL⚡ | demos/ios/MASVS-NETWORK/MASTG-DEMO-0155/output.txt | 2 | 50 0x00004000 0x00004000 GLOBAL FUNC 0 _$s10MASTestApp28InsecureWKNavigationDelegateC7webView_10didReceive17com | CODE |
| CRITICAL⚡ | demos/ios/MASVS-NETWORK/MASTG-DEMO-0155/output.txt | 3 | 51 0x00017b5c 0x00017b5c GLOBAL FUNC 0 _$s10MASTestApp28InsecureWKNavigationDelegateC7webView_10didReceive17com | CODE |
| CRITICAL⚡ | demos/ios/MASVS-NETWORK/MASTG-DEMO-0155/output.txt | 4 | 80 0x000041f8 0x000041f8 LOCAL FUNC 0 _$s10MASTestApp28InsecureWKNavigationDelegateC7webView_10didReceive17com | CODE |
| CRITICAL⚡ | demos/android/MASVS-STORAGE/MASTG-DEMO-0060/output.json | 67 | "com.google.crypto.tink.integration.android.SharedPrefKeysetWriter.write(SharedPrefKeysetWriter.java:70)", | CODE |
| CRITICAL⚡ | demos/android/MASVS-STORAGE/MASTG-DEMO-0060/output.json | 68 | "com.google.crypto.tink.KeysetHandle.writeWithAssociatedData(KeysetHandle.java:869)", | CODE |
| CRITICAL⚡ | demos/android/MASVS-STORAGE/MASTG-DEMO-0060/output.json | 69 | "com.google.crypto.tink.KeysetHandle.write(KeysetHandle.java:858)", | CODE |
| CRITICAL⚡ | demos/android/MASVS-STORAGE/MASTG-DEMO-0060/output.json | 105 | "com.google.crypto.tink.integration.android.SharedPrefKeysetWriter.write(SharedPrefKeysetWriter.java:70)", | CODE |
| CRITICAL⚡ | demos/android/MASVS-STORAGE/MASTG-DEMO-0060/output.json | 106 | "com.google.crypto.tink.KeysetHandle.writeWithAssociatedData(KeysetHandle.java:869)", | CODE |
| CRITICAL⚡ | demos/android/MASVS-STORAGE/MASTG-DEMO-0060/output.json | 107 | "com.google.crypto.tink.KeysetHandle.write(KeysetHandle.java:858)", | CODE |
| CRITICAL | …mos/android/MASVS-PLATFORM/MASTG-DEMO-0082/output.json | 7 | com.android.webview.chromium.ContentSettingsAdapter.setDomStorageEnabled(Native Method) | CODE |
| CRITICAL | …mos/android/MASVS-PLATFORM/MASTG-DEMO-0082/output.json | 20 | com.android.webview.chromium.e.deleteAllData(Native Method) | CODE |
| CRITICAL | demos/android/MASVS-PRIVACY/MASTG-DEMO-0081/output.json | 30 | "com.google.firebase.analytics.FirebaseAnalytics.logEvent(Native Method)", | CODE |
| CRITICAL⚡ | …os/android/MASVS-RESILIENCE/MASTG-DEMO-0037/output.txt | 27 | 03-26 11:33:23.415 2340 2407 D StrictMode: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Continua | CODE |
| CRITICAL⚡ | …os/android/MASVS-RESILIENCE/MASTG-DEMO-0037/output.txt | 35 | 03-26 11:33:23.415 2340 2407 D StrictMode: at androidx.compose.ui.input.pointer.SuspendingPointerInputModifierNodeImp | CODE |
| CRITICAL⚡ | …os/android/MASVS-RESILIENCE/MASTG-DEMO-0037/output.txt | 39 | 03-26 11:33:23.415 2340 2407 D StrictMode: at androidx.compose.ui.input.pointer.Node.dispatchMainEventPass(HitPathTra | CODE |
| CRITICAL⚡ | …os/android/MASVS-RESILIENCE/MASTG-DEMO-0037/output.txt | 40 | 03-26 11:33:23.415 2340 2407 D StrictMode: at androidx.compose.ui.input.pointer.Node.dispatchMainEventPass(HitPathTra | CODE |
| CRITICAL⚡ | …os/android/MASVS-RESILIENCE/MASTG-DEMO-0037/output.txt | 41 | 03-26 11:33:23.415 2340 2407 D StrictMode: at androidx.compose.ui.input.pointer.NodeParent.dispatchMainEventPass(HitP | CODE |
| CRITICAL⚡ | …os/android/MASVS-RESILIENCE/MASTG-DEMO-0037/output.txt | 42 | 03-26 11:33:23.415 2340 2407 D StrictMode: at androidx.compose.ui.input.pointer.HitPathTracker.dispatchChanges(HitPat | CODE |
| CRITICAL⚡ | …os/android/MASVS-RESILIENCE/MASTG-DEMO-0037/output.txt | 46 | 03-26 11:33:23.415 2340 2407 D StrictMode: at androidx.compose.ui.platform.AndroidComposeView.dispatchTouchEvent(Andr | CODE |
| CRITICAL⚡ | …os/android/MASVS-RESILIENCE/MASTG-DEMO-0037/output.txt | 55 | 03-26 11:33:23.415 2340 2407 D StrictMode: at com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView | CODE |
| CRITICAL⚡ | …os/android/MASVS-RESILIENCE/MASTG-DEMO-0037/output.txt | 56 | 03-26 11:33:23.415 2340 2407 D StrictMode: at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWi | CODE |
| CRITICAL⚡ | …os/android/MASVS-RESILIENCE/MASTG-DEMO-0037/output.txt | 58 | 03-26 11:33:23.415 2340 2407 D StrictMode: at com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java | CODE |
| CRITICAL | …os/android/MASVS-RESILIENCE/MASTG-DEMO-0037/output.txt | 85 | 03-26 11:33:23.415 2340 2407 D StrictMode: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971) | CODE |
| CRITICAL⚡ | …SVS-RESILIENCE/MASTG-DEMO-0101/MastgTest_reversed.java | 56 | at jadx.core.dex.visitors.regions.SwitchOverStringVisitor.restoreSwitchOverString(SwitchOverStringVisitor.java:109) | CODE |
| CRITICAL⚡ | …SVS-RESILIENCE/MASTG-DEMO-0101/MastgTest_reversed.java | 57 | at jadx.core.dex.visitors.regions.SwitchOverStringVisitor.visitRegion(SwitchOverStringVisitor.java:66) | CODE |
| CRITICAL⚡ | …SVS-RESILIENCE/MASTG-DEMO-0101/MastgTest_reversed.java | 58 | at jadx.core.dex.visitors.regions.DepthRegionTraversal.traverseIterativeStepInternal(DepthRegionTraversal.java:77) | CODE |
| CRITICAL⚡ | …SVS-RESILIENCE/MASTG-DEMO-0101/MastgTest_reversed.java | 59 | at jadx.core.dex.visitors.regions.DepthRegionTraversal.traverseIterativeStepInternal(DepthRegionTraversal.java:82) | CODE |
| CRITICAL⚡ | …SVS-RESILIENCE/MASTG-DEMO-0101/MastgTest_reversed.java | 60 | at jadx.core.dex.visitors.regions.DepthRegionTraversal.traverseIterative(DepthRegionTraversal.java:31) | CODE |
| CRITICAL⚡ | …SVS-RESILIENCE/MASTG-DEMO-0101/MastgTest_reversed.java | 61 | at jadx.core.dex.visitors.regions.SwitchOverStringVisitor.visit(SwitchOverStringVisitor.java:60) | CODE |
| CRITICAL | demos/android/MASVS-CRYPTO/MASTG-DEMO-0072/output.txt | 14 | kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) | CODE |
| CRITICAL | demos/android/MASVS-CRYPTO/MASTG-DEMO-0072/output.txt | 29 | kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) | CODE |
| CRITICAL | demos/android/MASVS-CRYPTO/MASTG-DEMO-0072/output.txt | 45 | kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) | CODE |
| CRITICAL | demos/android/MASVS-CRYPTO/MASTG-DEMO-0072/output.txt | 61 | kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) | CODE |
| CRITICAL | techniques/android/MASTG-TECH-0173.md | 51 | com.android.internal.os.ZygoteInit.main(ZygoteInit.java) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | knowledge/ios/MASVS-RESILIENCE/MASTG-KNOW-0140.md | 32 | // Step 1: Resolve the binary base address using dladdr | COMMENT |
| LOW | knowledge/ios/MASVS-RESILIENCE/MASTG-KNOW-0140.md | 42 | // Step 2: Parse the Mach-O header to locate the __TEXT/__text section | COMMENT |
| LOW | knowledge/ios/MASVS-RESILIENCE/MASTG-KNOW-0140.md | 81 | // Step 3: Compute SHA-256 over the __text section and compare it to the reference value | COMMENT |
| LOW | .github/workflows/check-duplicate-ids.yml | 77 | // Step 1: Try to clean up existing comments | COMMENT |
| LOW⚡ | .github/workflows/check-duplicate-ids.yml | 111 | // Step 2: Check if we need to post new notifications | COMMENT |
| LOW⚡ | .github/workflows/check-duplicate-ids.yml | 119 | // Step 3: Post notifications for each duplicate | COMMENT |
| LOW⚡ | …SVS-STORAGE/MASTG-DEMO-0019/decompiled-o1-review.swift | 4 | // Step 1: Retrieve the documents directory URL | COMMENT |
| LOW⚡ | …SVS-STORAGE/MASTG-DEMO-0019/decompiled-o1-review.swift | 6 | // Step 2: Create a file URL for "secret.txt" in the documents directory | COMMENT |
| LOW⚡ | …SVS-STORAGE/MASTG-DEMO-0019/decompiled-o1-review.swift | 8 | // Step 3: Define the content to write to the file | COMMENT |
| LOW⚡ | …SVS-STORAGE/MASTG-DEMO-0019/decompiled-o1-review.swift | 12 | // Step 4: Write the content to the file | COMMENT |
| LOW⚡ | …SVS-STORAGE/MASTG-DEMO-0019/decompiled-o1-review.swift | 14 | // Step 5: Set the 'isExcludedFromBackup' attribute to true | COMMENT |
| LOW⚡ | …SVS-STORAGE/MASTG-DEMO-0019/decompiled-o1-review.swift | 18 | // Step 6: Log a success message | COMMENT |
| LOW⚡ | …SVS-STORAGE/MASTG-DEMO-0019/decompiled-o1-review.swift | 21 | // Step 7: Log an error message if an exception occurs | COMMENT |
| LOW | demos/ios/MASVS-CRYPTO/MASTG-DEMO-0014/MastgTest.swift | 7 | // Step 1: Use a hardcoded ECDSA P-256 private key (32 bytes for P-256) in bytes | COMMENT |
| LOW⚡ | demos/ios/MASVS-CRYPTO/MASTG-DEMO-0014/MastgTest.swift | 26 | // Step 2: Sign the data with the hardcoded private key | COMMENT |
| LOW⚡ | demos/ios/MASVS-CRYPTO/MASTG-DEMO-0014/MastgTest.swift | 32 | // Step 3: Verify the signature with the public key | COMMENT |
| LOW | …ASVS-CRYPTO/MASTG-DEMO-0014/decompiled-o1-review.swift | 6 | // Step 1: Load P256 Private Key from Embedded Data | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0014/decompiled-o1-review.swift | 19 | // Step 2: Extract Public Key | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0014/decompiled-o1-review.swift | 22 | // Step 3: Create Sample Data | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0014/decompiled-o1-review.swift | 29 | // Step 4: Sign the Data | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0014/decompiled-o1-review.swift | 32 | // Step 5: Verify the Signature | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0014/decompiled-o1-review.swift | 35 | // Step 6: Convert Keys and Signature to Hex Strings | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0014/decompiled-o1-review.swift | 41 | // Step 7: Construct an Output Message | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0014/decompiled-o1-review.swift | 48 | // Step 8: Update SwiftUI State Variable | COMMENT |
| LOW | demos/ios/MASVS-CRYPTO/MASTG-DEMO-0013/MastgTest.swift | 7 | // Step 1: Use a hardcoded RSA private key (in DER format) | COMMENT |
| LOW | demos/ios/MASVS-CRYPTO/MASTG-DEMO-0013/MastgTest.swift | 80 | // Step 2: Sign the data with the hardcoded private key | COMMENT |
| LOW | demos/ios/MASVS-CRYPTO/MASTG-DEMO-0013/MastgTest.swift | 94 | // Step 3: Verify the signature with the public key | COMMENT |
| LOW | …ASVS-CRYPTO/MASTG-DEMO-0013/decompiled-o1-review.swift | 6 | // Step 1: Load RSA Private Key from Embedded Data | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0013/decompiled-o1-review.swift | 35 | // Step 2: Extract Public Key | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0013/decompiled-o1-review.swift | 42 | // Step 3: Create Sample Data | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0013/decompiled-o1-review.swift | 49 | // Step 4: Sign the Data | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0013/decompiled-o1-review.swift | 61 | // Step 5: Verify the Signature | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0013/decompiled-o1-review.swift | 68 | // Step 6: Convert Keys and Signature to Hex Strings | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0013/decompiled-o1-review.swift | 77 | // Step 7: Construct an Output Message | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0013/decompiled-o1-review.swift | 84 | // Step 8: Update SwiftUI State Variable | COMMENT |
| LOW | demos/ios/MASVS-CRYPTO/MASTG-DEMO-0011/MastgTest.swift | 7 | // Step 1: Generate an RSA key pair with a 1024-bit key size | COMMENT |
| LOW | demos/ios/MASVS-CRYPTO/MASTG-DEMO-0011/MastgTest.swift | 48 | // Step 2: Sign the data with the private key | COMMENT |
| LOW | demos/ios/MASVS-CRYPTO/MASTG-DEMO-0011/MastgTest.swift | 62 | // Step 3: Verify the signature with the public key | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0018/decompiled-o1-review.swift | 6 | // Step 1: Define the key and input text | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0018/decompiled-o1-review.swift | 10 | // Step 2: Convert key and input text to Data | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0018/decompiled-o1-review.swift | 17 | // Step 3: Set up the output buffer | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0018/decompiled-o1-review.swift | 21 | // Step 4: Perform encryption | COMMENT |
| LOW | …ASVS-CRYPTO/MASTG-DEMO-0018/decompiled-o1-review.swift | 43 | // Step 5: Check the result and return encrypted data | COMMENT |
| LOW⚡ | techniques/ios/MASTG-TECH-0146.md | 13 | ## Step 1: Obtain the IPA | COMMENT |
| LOW⚡ | techniques/ios/MASTG-TECH-0146.md | 17 | ## Step 2: Obtain a Developer Provisioning Profile | COMMENT |
| LOW⚡ | techniques/ios/MASTG-TECH-0146.md | 21 | ## Step 3: Inject the Frida Gadget | COMMENT |
| LOW⚡ | techniques/ios/MASTG-TECH-0146.md | 25 | ## Step 4: Sign the IPA | COMMENT |
| LOW⚡ | techniques/ios/MASTG-TECH-0146.md | 29 | ## Step 5: Install the App | COMMENT |
| LOW⚡ | techniques/ios/MASTG-TECH-0146.md | 33 | ## Step 6: Launch the App in Debug Mode | COMMENT |
| LOW⚡ | techniques/android/MASTG-TECH-0026.md | 13 | ## Step 1: Obtain the APK | COMMENT |
| LOW⚡ | techniques/android/MASTG-TECH-0026.md | 17 | ## Step 2: Inject the Frida Gadget | COMMENT |
| LOW⚡ | techniques/android/MASTG-TECH-0026.md | 21 | ## Step 3: Sign the APK | COMMENT |
| LOW⚡ | techniques/android/MASTG-TECH-0026.md | 25 | ## Step 4: Install the App | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/check-duplicate-ids.yml | 77 | // Step 1: Try to clean up existing comments | COMMENT |
| LOW⚡ | .github/workflows/check-duplicate-ids.yml | 111 | // Step 2: Check if we need to post new notifications | COMMENT |
| LOW⚡ | .github/workflows/check-duplicate-ids.yml | 119 | // Step 3: Post notifications for each duplicate | COMMENT |
| LOW⚡ | …SVS-STORAGE/MASTG-DEMO-0019/decompiled-o1-review.swift | 4 | // Step 1: Retrieve the documents directory URL | COMMENT |
| LOW⚡ | …SVS-STORAGE/MASTG-DEMO-0019/decompiled-o1-review.swift | 6 | // Step 2: Create a file URL for "secret.txt" in the documents directory | COMMENT |
| LOW⚡ | …SVS-STORAGE/MASTG-DEMO-0019/decompiled-o1-review.swift | 8 | // Step 3: Define the content to write to the file | COMMENT |
| LOW⚡ | …SVS-STORAGE/MASTG-DEMO-0019/decompiled-o1-review.swift | 12 | // Step 4: Write the content to the file | COMMENT |
| LOW⚡ | …SVS-STORAGE/MASTG-DEMO-0019/decompiled-o1-review.swift | 14 | // Step 5: Set the 'isExcludedFromBackup' attribute to true | COMMENT |
| LOW⚡ | …SVS-STORAGE/MASTG-DEMO-0019/decompiled-o1-review.swift | 18 | // Step 6: Log a success message | COMMENT |
| LOW⚡ | …SVS-STORAGE/MASTG-DEMO-0019/decompiled-o1-review.swift | 21 | // Step 7: Log an error message if an exception occurs | COMMENT |
| LOW | demos/ios/MASVS-CRYPTO/MASTG-DEMO-0014/MastgTest.swift | 7 | // Step 1: Use a hardcoded ECDSA P-256 private key (32 bytes for P-256) in bytes | COMMENT |
| LOW⚡ | demos/ios/MASVS-CRYPTO/MASTG-DEMO-0014/MastgTest.swift | 26 | // Step 2: Sign the data with the hardcoded private key | COMMENT |
| LOW⚡ | demos/ios/MASVS-CRYPTO/MASTG-DEMO-0014/MastgTest.swift | 32 | // Step 3: Verify the signature with the public key | COMMENT |
| LOW | …ASVS-CRYPTO/MASTG-DEMO-0014/decompiled-o1-review.swift | 6 | // Step 1: Load P256 Private Key from Embedded Data | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0014/decompiled-o1-review.swift | 19 | // Step 2: Extract Public Key | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0014/decompiled-o1-review.swift | 22 | // Step 3: Create Sample Data | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0014/decompiled-o1-review.swift | 29 | // Step 4: Sign the Data | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0014/decompiled-o1-review.swift | 32 | // Step 5: Verify the Signature | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0014/decompiled-o1-review.swift | 35 | // Step 6: Convert Keys and Signature to Hex Strings | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0014/decompiled-o1-review.swift | 41 | // Step 7: Construct an Output Message | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0014/decompiled-o1-review.swift | 48 | // Step 8: Update SwiftUI State Variable | COMMENT |
| LOW | demos/ios/MASVS-CRYPTO/MASTG-DEMO-0013/MastgTest.swift | 7 | // Step 1: Use a hardcoded RSA private key (in DER format) | COMMENT |
| LOW | demos/ios/MASVS-CRYPTO/MASTG-DEMO-0013/MastgTest.swift | 80 | // Step 2: Sign the data with the hardcoded private key | COMMENT |
| LOW | demos/ios/MASVS-CRYPTO/MASTG-DEMO-0013/MastgTest.swift | 94 | // Step 3: Verify the signature with the public key | COMMENT |
| LOW | …ASVS-CRYPTO/MASTG-DEMO-0013/decompiled-o1-review.swift | 6 | // Step 1: Load RSA Private Key from Embedded Data | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0013/decompiled-o1-review.swift | 35 | // Step 2: Extract Public Key | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0013/decompiled-o1-review.swift | 42 | // Step 3: Create Sample Data | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0013/decompiled-o1-review.swift | 49 | // Step 4: Sign the Data | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0013/decompiled-o1-review.swift | 61 | // Step 5: Verify the Signature | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0013/decompiled-o1-review.swift | 68 | // Step 6: Convert Keys and Signature to Hex Strings | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0013/decompiled-o1-review.swift | 77 | // Step 7: Construct an Output Message | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0013/decompiled-o1-review.swift | 84 | // Step 8: Update SwiftUI State Variable | COMMENT |
| LOW | demos/ios/MASVS-CRYPTO/MASTG-DEMO-0011/MastgTest.swift | 7 | // Step 1: Generate an RSA key pair with a 1024-bit key size | COMMENT |
| LOW | demos/ios/MASVS-CRYPTO/MASTG-DEMO-0011/MastgTest.swift | 48 | // Step 2: Sign the data with the private key | COMMENT |
| LOW | demos/ios/MASVS-CRYPTO/MASTG-DEMO-0011/MastgTest.swift | 62 | // Step 3: Verify the signature with the public key | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0018/decompiled-o1-review.swift | 6 | // Step 1: Define the key and input text | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0018/decompiled-o1-review.swift | 10 | // Step 2: Convert key and input text to Data | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0018/decompiled-o1-review.swift | 17 | // Step 3: Set up the output buffer | COMMENT |
| LOW⚡ | …ASVS-CRYPTO/MASTG-DEMO-0018/decompiled-o1-review.swift | 21 | // Step 4: Perform encryption | COMMENT |
| LOW | …ASVS-CRYPTO/MASTG-DEMO-0018/decompiled-o1-review.swift | 43 | // Step 5: Check the result and return encrypted data | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | techniques/ios/MASTG-TECH-0133.md | 32 | $ dependency-check --enableExperimental -f SARIF --nvdApiKey <YOUR-API-KEY> -s Package.resolved | CODE |
| HIGH⚡ | techniques/ios/MASTG-TECH-0133.md | 32 | $ dependency-check --enableExperimental -f SARIF --nvdApiKey <YOUR-API-KEY> -s Package.resolved | CODE |
| HIGH⚡ | techniques/ios/MASTG-TECH-0133.md | 38 | $ dependency-check --enableExperimental -f SARIF --nvdApiKey <YOUR-API-KEY> -s Podfile.lock | CODE |
| HIGH⚡ | techniques/ios/MASTG-TECH-0133.md | 38 | $ dependency-check --enableExperimental -f SARIF --nvdApiKey <YOUR-API-KEY> -s Podfile.lock | CODE |
| HIGH⚡ | techniques/ios/MASTG-TECH-0133.md | 44 | $ dependency-check --enableExperimental -f SARIF --nvdApiKey <YOUR-API-KEY> -s Cartfile.resolved | CODE |
| HIGH⚡ | techniques/ios/MASTG-TECH-0133.md | 44 | $ dependency-check --enableExperimental -f SARIF --nvdApiKey <YOUR-API-KEY> -s Cartfile.resolved | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …b/instructions/mastg-mitmproxy-scripts.instructions.md | 64 | except Exception: | CODE |
| MEDIUM | .github/skills/mastg-assign-ids/scripts/fix_ids.py | 33 | print(f"Error: expected OLD=NEW, got: {arg}", file=sys.stderr) | CODE |
| MEDIUM⚡ | …SVS-STORAGE/MASTG-DEMO-0019/decompiled-o1-review.swift | 22 | print("Error creating file: \(error)") | CODE |
| LOW | demos/android/MASVS-PLATFORM/MASTG-DEMO-0030/server.py | 16 | except Exception as e: | CODE |
| LOW | src/scripts/tools_healthcheck.py | 15 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …0x04e-Testing-Authentication-and-Session-Management.md | 136 | {"sub":"1234567890","name":"John Doe","admin":true} | CODE |
| LOW | …b/instructions/mastg-mitmproxy-scripts.instructions.md | 52 | "name": "John Doe", | CODE |
| LOW | …LATFORM/MASTG-DEMO-0097/MastgTestWebView_reversed.java | 94 | editor$iv.putString(HintConstants.AUTOFILL_HINT_NAME, "John Doe").putString(NotificationCompat.CATEGORY_EMAIL, " | CODE |
| LOW | …oid/MASVS-PLATFORM/MASTG-DEMO-0097/MastgTestWebView.kt | 199 | putString("name", "John Doe") | STRING |
| LOW | …/MASVS-PRIVACY/MASTG-DEMO-0009/MastgTest_reversed.java | 38 | final Map SENSITIVE_DATA = MapsKt.mapOf(TuplesKt.to("precise_location_latitude", "37.7749"), TuplesKt.to("precis | CODE |
| LOW | …mos/android/MASVS-PRIVACY/MASTG-DEMO-0009/MastgTest.kt | 20 | "name" to "John Doe", | CODE |
| LOW | …MASVS-PRIVACY/MASTG-DEMO-0009/mitm_sensitive_logger.py | 8 | "name": "John Doe", | CODE |
| LOW | techniques/android/MASTG-TECH-0100.md | 20 | "name": "John Doe", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/instructions/mastg-rules.instructions.md | 14 | - [https://academy.semgrep.dev/courses/secure-guardrails](https://academy.semgrep.dev/courses/secure-guardrails) | CODE |
| MEDIUM | .github/workflows/moderator.yml | 136 | # neutralize fence markers and obvious injection scaffolding | COMMENT |
| MEDIUM | .github/workflows/config/url-checker-config.json | 148 | "pattern": "^https://academy.semgrep.dev/courses/secure-guardrails" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/codeql-analysis.yml | 1 | # For most projects, this workflow file will not need changing; you simply need | COMMENT |
| LOW | .github/workflows/codeql-analysis.yml | 61 | COMMENT | |
| LOW | demos/ios/MASVS-PRIVACY/MASTG-DEMO-0126/run.sh | 1 | #!/bin/bash | COMMENT |
| LOW | demos/ios/MASVS-PRIVACY/MASTG-DEMO-0126/MastgTest.swift | 1 | // SUMMARY: An app that shows a 3-second countdown popup when Start is tapped. The only | COMMENT |
| LOW | …s/ios/MASVS-RESILIENCE/MASTG-DEMO-0150/MastgTest.swift | 1 | // SUMMARY: This sample stores sensitive data in a file in the app's Documents directory and | COMMENT |
| LOW | techniques/android/MASTG-TECH-0156.md | 41 | // ** addr: 0x5961e0, size: 0x230 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/check-duplicate-ids.yml | 38 | # Create a file with the list of new files in this PR | COMMENT |
| MEDIUM | src/scripts/tools_healthcheck.py | 30 | # Create the markdown table | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | knowledge/android/MASVS-PLATFORM/MASTG-KNOW-0018.md | 88 | [`setAllowFileAccess`](https://developer.android.com/reference/android/webkit/WebSettings.html#setAllowFileAccess%28bool | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | .github/PULL_REQUEST_TEMPLATE.md | 28 | Undisclosed use of AI tools will result in the PR being closed. Large rewrites or bulk changes generated by AI require e | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/scripts/check_duplicate_ids.py | 76 | # Check if key is in folder name or folder is in key | COMMENT |
| LOW | .github/scripts/check_duplicate_ids.py | 156 | # Check if this ID already exists | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | demos/android/MASVS-PLATFORM/MASTG-DEMO-0082/script.js | 1 | function enumerateDeleteAllDataMethod() { | CODE |
| LOW | demos/android/MASVS-PLATFORM/MASTG-DEMO-0082/script.js | 6 | function enumerateSetDomStorageEnabledMethod() { | CODE |
| LOW | src/scripts/yaml_to_excel.py | 143 | def create_security_requirements_sheet(wb): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/scripts/testcase_diff.py | 3 | CODE | |
| LOW | src/scripts/yaml_to_excel.py | 143 | CODE | |
| LOW | src/scripts/combine_data_for_checklist.py | 57 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | demos/android/MASVS-CRYPTO/MASTG-DEMO-0058/MastgTest.kt | 65 | .setRandomizedEncryptionRequired(false) // For demonstration purposes, we disable randomized encryption | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/scripts/yaml_to_excel.py | 1 | CODE | |
| LOW | src/scripts/excel_styles_and_validation.py | 3 | CODE |