Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
apkmirror-client
Advanced tools
Download APKs from APKMirror.com
Download Whatsapp
'use strict'
const apk = require('apkmirror-client')
const fs = require('fs')
apk.searchForApps('whatsapp', (err, res) => { // search for whatsapp
if (err) throw err
let whatsapp = res.filter(r => r.app.name === 'WhatsApp Messenger')[0] // this makes sure we don't get any "whatsapp gold" stuff
apk.getAppPage(whatsapp, (err, page) => { // now download details
if (err) throw err
console.log(page)
page.versions.filter(v => !v.beta)[0].loadRelease((err, release) => { // now get latest non-beta release
if (err) throw err
console.log(release)
release.estimateBestCandidate('arm64').loadVariant((err, download) => { // now get the arm64 release
if (err) throw err
console.log(res)
download.downloadAPK((err, apk) => { // and finally download the apk
if (err) throw err
apk.pipe(fs.createWriteStream('./whatsapp.apk')).on('close', () => { // ...into this file
console.log('Saved as whatsapp.apk!')
})
})
})
})
})
})
FAQs
Download APKs from APKMirror.com
The npm package apkmirror-client receives a total of 6 weekly downloads. As such, apkmirror-client popularity was classified as not popular.
We found that apkmirror-client 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
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.