
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
wakelock-lazy-polyfill
Advanced tools
npm i wakelock-lazy-polyfill
Polyfills WakeLock if not present by lazy-loading nosleep.js (but only when actually requested).
That means if it's natively supported this lib only adds ~800 bytes to your project.
Can also drop it in via CDN:
<script src="http://unpkg.com/wakelock-lazy-polyfill"></script>
https://wakelock-polyfill.joreteg.com/
The Web is getting a wonderful WakeLock API to keep your screen awake, but it's not broadly available yet. As of this writing it's a Origin Trial in Chrome that should ship in the next version.
Regardless, there's been a clever hack, called nosleep.js that plays a hidden video in the background to trick the browser into staying awake. This works pretty well, but...
So, here we are.
Obviously props to @richtr for nosleep.js and Thomas Steiner for his work on making the WakeLock API "A Thing".
If you like this, follow @HenrikJoreteg on twitter.
FAQs
Lazy polyfill for wakelock API.
The npm package wakelock-lazy-polyfill receives a total of 40 weekly downloads. As such, wakelock-lazy-polyfill popularity was classified as not popular.
We found that wakelock-lazy-polyfill demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.