Skip to content

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

Placeholder MASTG-DEMO

This demo 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 demo by following our guidelines.

Check our GitHub Issues for MASTG-DEMO-0063

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 demo shows how to detect the incorrect use of SecureFlagPolicy in Jetpack Compose dialogs using Semgrep.

For more details, check the associated test: setSecure Not Used to Prevent Screenshots in SurfaceViews