-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Port MASTG-TEST-0010 and MASTG-TEST-0059 (by @guardsquare) #3112
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
Conversation
demos/android/MASVS-PLATFORM/MASTG-DEMO-0021/MASTG-DEMO-0021.md
Outdated
Show resolved
Hide resolved
@serek8 please check the suggested changes. Thanks! |
Co-authored-by: Carlos Holguera <[email protected]>
Co-authored-by: Carlos Holguera <[email protected]>
…eeenshot prevention on Android
…failure condition
…eventing screenshots and screen recording
…updating type to include 'manual', refining steps for clarity, and improving overview descriptions for both Android and iOS.
…0290, add missing profile
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR ports two legacy test cases (MASTG-TEST-0010 and MASTG-TEST-0059) by deprecating them and introducing new MASTG V2 versions that test for sensitive information exposure in auto-generated screenshots on Android and iOS platforms.
- Deprecates existing test cases MASTG-TEST-0010 (Android) and MASTG-TEST-0059 (iOS)
- Adds new comprehensive test cases MASTG-TEST-0289, MASTG-TEST-0290, and MASTG-TEST-0291 for screenshot security testing
- Introduces supporting materials including semgrep rules, demos, and best practices documentation
Reviewed Changes
Copilot reviewed 13 out of 15 changed files in this pull request and generated 3 comments.
Show a summary per file
File | Description |
---|---|
tests/android/MASVS-PLATFORM/MASTG-TEST-0010.md | Marks legacy Android screenshot test as deprecated |
tests/ios/MASVS-PLATFORM/MASTG-TEST-0059.md | Marks legacy iOS screenshot test as deprecated |
tests-beta/android/MASVS-PLATFORM/MASTG-TEST-0289.md | New runtime verification test for Android screenshot protection |
tests-beta/android/MASVS-PLATFORM/MASTG-TEST-0291.md | New static analysis test for Android FLAG_SECURE usage |
tests-beta/ios/MASVS-PLATFORM/MASTG-TEST-0290.md | New runtime verification test for iOS screenshot protection |
rules/mastg-android-sensitive-data-in-screenshot.yml | Semgrep rules for detecting FLAG_SECURE usage patterns |
demos/android/MASVS-PLATFORM/MASTG-DEMO-0061/* | Demo files showing FLAG_SECURE implementation and detection |
knowledge/ios/MASVS-STORAGE/MASTG-KNOW-0099.md | Enhanced documentation about iOS screenshot storage mechanics |
best-practices/MASTG-BEST-0014.md | New best practices guide for preventing screenshots |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <[email protected]>
…into pr/serek8/3112
Closes #2970 closes #2984.
This PR ports two legacy test cases (MASTG-TEST-0010 and MASTG-TEST-0059) by deprecating them and introducing new MASTG V2 versions that test for sensitive information exposure in auto-generated screenshots on Android and iOS platforms.
Changes