Closed cpholguera closed 1 month ago
@githubrlloyd
I am not sure there is a reliable way to exclude files from backup on iOS. isExcludedFromBackup
is only a hint of what can be excluded:
The isExcludedFromBackup resource value exists only to provide guidance to the system about which files and directories it can exclude; it’s not a mechanism to guarantee those items never appear in a backup or on a restored device.
https://developer.apple.com/documentation/foundation/optimizing_your_app_s_data_for_icloud_backup
If this is really the case, isn't the full risk already covered by #2544. Or should there really be a separate issue for this (@cpholguera)
NEW! Please review and include info and reference: https://developer.android.com/privacy-and-security/risks/backup-leaks
Description
Create a new risk for "Sensitive Data Not Excluded From Backup (MASVS-STORAGE-2)" using the following information:
sensitive data can be excluded to prevent it from being backed up.
Create "
risks/MASVS-STORAGE/2-***-****/data-not-excluded-backup/risk.md
" including the following content:To complete the sections follow the guidelines from Writing MASTG Risks & Tests
Use at least the following references:
When creating the corresponding tests, use the following areas to guide you:
android:fullBackupContent
(Android 11-) orandroid:dataExtractionRules
(Android 12+)isExcludedFromBackup
(iOS)MASTG v1 Refactoring:
If the risk has a MASVS v1 ID, you can use it to search for related tests in the MASTG and use them as input to define your risks and associated tests.
Acceptance Criteria
risks/MASVS-STORAGE/2-***-****/data-not-excluded-backup/risk.md
)