What it is
Mobile code is code that arrives with a page, message, or app and runs automatically on your device. Think scripts, macros, plug-ins, and mini apps that add features like forms, animations, or in-app widgets. When misused, the same mechanism can deliver malware that steals data or spies on you.
Why it matters
It is convenient and powerful, but if a site or app is compromised, mobile code can run without clear prompts, putting your privacy and files at risk.
How it works - quick tour
-
Web pages and ads load scripts that execute in your browser
-
Documents can carry macros that run when you open them
-
In-app components fetch code on the fly for new features
-
Permissions and vulnerabilities decide how far the code can go
Red flags
-
Prompts to enable macros or install unknown add-ons
-
Full-screen pop-ups pushing urgent updates or new permissions
-
Sudden redirects, notification spam, or background data spikes
Prevent it
-
Install apps from official stores only and review permissions
-
Keep OS, browsers, and apps updated
-
Leave Office setting block macros from the internet turned on
-
Use a reputable mobile security app and DNS or web filtering
-
Disable or remove unused plug-ins and extensions