Design Malicious App Detection for Google Play Submissions

Last updated: November 29, 2026

Quick Overview

Design the system that scans apps submitted to Google Play and decides whether to publish, reject or send them to human review, catching malware, spyware and policy-violating apps.

Google
ML System Design
Machine Learning Engineer
Google
November 29, 2026
Machine Learning Engineer
Onsite
ML System Design
Medium

0

0

0 solved


Design the system that scans apps submitted to Google Play and decides whether to publish, reject or send them to human review, catching malware, spyware and policy-violating apps.

Play protection reviews millions of app versions, so the interview checks how you combine static analysis, dynamic analysis and developer reputation into a review pipeline. They watch for awareness of evasion, like apps that hide behavior until after approval.

What the Interviewer Expects
  • Extract static features from APKs (permissions, API calls, code similarity)
  • Use dynamic analysis in sandboxed emulators
  • Include developer account reputation and history
  • Route by risk to auto-approve, human review or reject
  • Monitor apps after publication for behavior changes
Key Topics to Cover
Static analysis
Dynamic analysis
Malware classification
Developer reputation
Human-in-the-loop review
How to Approach This
  1. Start by mapping the business objective to a concrete ML objective and metric.
  2. Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
  3. Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
  4. Address the serving latency budget and whether batch or real-time inference is needed.
  5. Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
  • How do you catch an app that downloads its malicious payload a week after install?
  • How would you handle a trusted developer whose account got compromised?
  • How do you keep reviewers from being overwhelmed after a model change?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice ML System Design Problems
Sample Answer
Requirements

Inputs: app bundle, metadata (description, screenshots, declared permissions), developer account. Decisions: auto-publish, human review, reject, all within hours for most apps. Scale: thousands of new...

High-Level Design
  1. Static analyzer: decompile, extract permissions, API call graph, native libraries, embedded URLs, obfuscation level, similarity to known malware (code hashes, embeddings of call sequences).
  2. ...

Submit Your Answer
Markdown supported