
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
awin-api-nodejs
Advanced tools
API integration with Awin
Doc Deeplink: https://wiki.awin.com/index.php/Deeplink_Builder
Doc Programmes: https://wiki.awin.com/index.php/API_get_programmes
$ npm install awin-api-nodejs --save
Create .env file
AWIN_PUBLISHER_ID = awinaffid
AWIN_ACESS_TOKEN = acessToken
import Awin from "awin-api-nodejs";
const awin = new Awin(process.env.AWIN_PUBLISHER_ID, process.env.AWIN_ACESS_TOKEN);
// Doc https://wiki.awin.com/index.php/API_get_programmes
awin
.programs()
.then(console.log).catch(console.log)
/*
awin
.deeplink("link", "awinmid")
.then(console.log)
.catch(console.log)
*/
// Doc https://wiki.awin.com/index.php/API_get_programmes
// Success
awin
.deeplink("https://loja.electrolux.com.br/", 17858)
.then(console.log)
.catch(console.log)
// Return deeplink invalid
awin
.deeplink("https://www.americanas.com.br/", 11111)
.then(console.log)
.catch(console.log)
// Return deeplink invalid
awin
.deeplink()
.then(console.log)
.catch(console.log)
FAQs
API integration with Awin
We found that awin-api-nodejs 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
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.