Skip to content

MASTG-TEST-0293: `setSecure` Not Used to Prevent Screenshots in SurfaceViews

Placeholder MASTG-TEST

This test hasn't been created yet and it's a placeholder. But you can check its status or start working on it yourself. If the issue has not yet been assigned, you can request to be assigned to it and submit a PR with the new content for that test by following our guidelines.

Check our GitHub Issues for MASTG-TEST-0293

If an issue doesn't exist yet, please create one and assign it to yourself or request to be assigned to it.

Draft Description

This test verifies whether an app prevents sensitive data from being captured in screenshots and screen recordings of SurfaceView components.

For more details, check the associated weakness: Sensitive Data Leaked via Screenshots

Mitigations

Demos

MASTG-DEMO-0063: Incorrectly Preventing Screenshots with SecureFlagPolicy in Compose Dialogs with semgrep