Skip to main content
  1. Home
  2. Phones
  3. Android
  4. Apple
  5. Computing
  6. Mobile
  7. News

Hackers can figure out when you go to sleep via a WhatsApp flaw

Add as a preferred source on Google

WhatsApp is a great way to connect with your friends and family around the world, but it turns out it may also be a great way for a hacker or stalker to keep tabs on when two people are communicating. That’s thanks to a new flaw discovered in the app by software engineer Rob Heaton, who was able to exploit the flaw by creating a Chrome extension with a minimal four lines of code.

The flaw came about because of the fact that as part of WhatsApp, your “online” status — whether you’re online or not — can be checked by any of your contacts. What that means is that when you go offline and then come back online to read a message, that action is being logged. Those online and offline actions from both participants in the conversation can then be correlated to identify when two people are messaging each other.

Recommended Videos

The code could even be tweaked to correlate more than two people messaging each other, and while that would require a little more code, the principle remains the same. Using the data collected, Heaton was even able to identify when users were going to sleep by seeing their first and last “online” statuses for the day.

Unfortunately, there’s really nothing you can do to prevent hackers from being able to spy on you in this manner. Using WhatsApp, you can set the app to show your “last seen” statuses to either everyone, only contacts, or no one, but no such feature exists for your online status, leaving things somewhat open.

Heaton went on to note that it would be pretty easy for this information to be collected on a mass scale, then sold to companies for the purpose of advertising. For example, people with strange sleeping patterns might be good candidates for sleeping pill advertisements.

While this is certainly a privacy issue, it’s not clear if WhatsApp will ever make a fix. The online status feature has been a part of WhatsApp since its inception, and the company may not want to change it. Still, it would be pretty easy to allow users to choose who sees their online status, as they can with their “last seen” status.

Christian de Looper
Christian de Looper is a long-time freelance writer who has covered every facet of the consumer tech and electric vehicle…
I found the best iPhone 18 Pro cases in all the looks and styles you’ll need
From a budget clear case to Casetify's drop-tested overall pick, these are the iPhone 18 Pro cases worth buying.
Casetify iPhone 18 Pro Impact Stand Case

The best iPhone 18 Pro case isn't the most expensive one on the market. It's the one that complements how you actually use your phone. If you hate bulky cases and like to show off your phone, you're better off with the clear ones. However, if you're constantly dropping your iPhone, it makes sense to invest in an armor case or one with higher drop protection.

After all, both the back glass and front screen are quite expensive to repair. I'd rather you be safe than sorry, so spend on a good-quality protective case for your iPhone 18 Pro instead of shelling out a couple hundred dollars on repairs. I believe these ten cases cover those extremes, and knowing which one fits your habits could save you more than simply buying the most expensive option.

Read more
Google’s September Pixel Drop is here, and it’s making your Pixel a little smarter
A smaller update, but there are still some handy upgrades hiding inside it.
Google Pixel 11 Pro Review Rear

Google is rolling out its September 2026 Pixel Drop, bringing a handful of new features and quality-of-life improvements to Pixel phones and watches. It isn't the biggest Feature Drop Google has ever released, with much of the heavy lifting coming from Android 17 QPR1, but it still includes some useful additions.

Your Pixel VIPs are getting a much-needed makeover

Read more
Apple faces investigation over claims of hardware damage due to iOS 18 update
India’s consumer watchdog is examining complaints of display and microphone failures linked to iOS 18.
iOS 18 logo on the iPhone 16 Pro

Apple has been dealing with complaints around iOS 18 since shortly after the update began rolling out in late 2024. Users reported everything from sluggish performance and random freezing to camera crashes and non-responsive screens, eventually prompting India’s consumer watchdog to seek answers from the company in January 2025.

The matter has now become considerably more serious. India’s Central Consumer Protection Authority, or CCPA, has escalated its probe after receiving complaints that iOS 18 caused display and microphone problems on some iPhones. According to Reuters, which reviewed documents exchanged between Apple and the regulator, the CCPA ordered a “detailed investigation” on July 29.

Read more