-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
af8f2fc
commit e6ee5a0
Showing
4 changed files
with
166 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
148 changes: 148 additions & 0 deletions
148
src/Test.UnitTests.Sarif/TestData/JsonConverters/LocationId_BigInteger.sarif
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,148 @@ | ||
{ | ||
"runs": [ | ||
{ | ||
"tool": { | ||
"driver": { | ||
"name": "mobsfscan", | ||
"rules": [ | ||
{ | ||
"id": "android_detect_tapjacking", | ||
"name": "AndroidDetectTapjacking", | ||
"helpUri": "https://github.com/MobSF/owasp-mstg/blob/master/Document/0x05h-Testing-Platform-Interaction.md#testing-for-overlay-attacks-mstg-platform-9" | ||
} | ||
], | ||
"version": "0.0.8", | ||
"informationUri": "https://github.com/MobSF/mobsfscan", | ||
"semanticVersion": "0.0.8" | ||
} | ||
}, | ||
"invocations": [ | ||
{ | ||
"executionSuccessful": true, | ||
"endTimeUtc": "2022-01-16T17:04:25Z" | ||
} | ||
], | ||
"results": [ | ||
{ | ||
"message": { | ||
"text": "This app does not have capabilities to prevent tapjacking attacks. An attacker can hijack the user's taps and tricks him into performing some critical operations that he did not intend to." | ||
}, | ||
"level": "note", | ||
"locations": [ | ||
{ | ||
"id": 31197130097450771296369962162453149327732752356239421572342053257324632475324, | ||
"physicalLocation": { | ||
"region": { | ||
"snippet": { | ||
"text": "Missing Best Practice" | ||
}, | ||
"endColumn": 1, | ||
"endLine": 1, | ||
"startColumn": 1, | ||
"startLine": 1 | ||
}, | ||
"artifactLocation": { | ||
"uri": "." | ||
} | ||
} | ||
}, | ||
{ | ||
"id": 9223372036854775808, | ||
"physicalLocation": { | ||
"region": { | ||
"snippet": { | ||
"text": "Missing Best Practice" | ||
}, | ||
"endColumn": 1, | ||
"endLine": 1, | ||
"startColumn": 1, | ||
"startLine": 1 | ||
}, | ||
"artifactLocation": { | ||
"uri": "." | ||
} | ||
} | ||
}, | ||
{ | ||
"id": 2147483648, | ||
"physicalLocation": { | ||
"region": { | ||
"snippet": { | ||
"text": "Missing Best Practice" | ||
}, | ||
"endColumn": 1, | ||
"endLine": 1, | ||
"startColumn": 1, | ||
"startLine": 1 | ||
}, | ||
"artifactLocation": { | ||
"uri": "." | ||
} | ||
} | ||
}, | ||
{ | ||
"id": 2, | ||
"physicalLocation": { | ||
"region": { | ||
"snippet": { | ||
"text": "Missing Best Practice" | ||
}, | ||
"endColumn": 1, | ||
"endLine": 1, | ||
"startColumn": 1, | ||
"startLine": 1 | ||
}, | ||
"artifactLocation": { | ||
"uri": "." | ||
} | ||
} | ||
}, | ||
{ | ||
"id": 0, | ||
"physicalLocation": { | ||
"region": { | ||
"snippet": { | ||
"text": "Missing Best Practice" | ||
}, | ||
"endColumn": 1, | ||
"endLine": 1, | ||
"startColumn": 1, | ||
"startLine": 1 | ||
}, | ||
"artifactLocation": { | ||
"uri": "." | ||
} | ||
} | ||
}, | ||
{ | ||
"physicalLocation": { | ||
"region": { | ||
"snippet": { | ||
"text": "Missing Best Practice" | ||
}, | ||
"endColumn": 1, | ||
"endLine": 1, | ||
"startColumn": 1, | ||
"startLine": 1 | ||
}, | ||
"artifactLocation": { | ||
"uri": "." | ||
} | ||
} | ||
} | ||
], | ||
"properties": { | ||
"owasp-mobile": "M1: Improper Platform Usage", | ||
"masvs": "MSTG-PLATFORM-9", | ||
"cwe": "CWE-200 Information Exposure", | ||
"reference": "https://github.com/MobSF/owasp-mstg/blob/master/Document/0x05h-Testing-Platform-Interaction.md#testing-for-overlay-attacks-mstg-platform-9" | ||
}, | ||
"ruleId": "android_detect_tapjacking", | ||
"ruleIndex": 0 | ||
} | ||
] | ||
} | ||
], | ||
"version": "2.1.0", | ||
"$schema": "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json" | ||
} |