
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.
SocksLog is a logging utility that allows you to log messages with different levels (INFO, WARN, ERROR) both locally and remotely.
SocksLog is a logging utility that allows you to log messages with different levels (INFO, WARN, ERROR) both locally and remotely.
npm install sockslog
Then create an account on https://kvs.wireway.ch and create a database and copy its ID from the URL and the access token using the button.
const logger = require('sockslog');
logger.setup({
noRemote: true
});
logger.info('Hello World');
const logger = require('sockslog');
logger.setup({
accessToken: 'ENTER_YOUR_ACCESS_TOKEN',
kvsId: 'ENTER_YOUR_ID'
});
logger.info('Hello World');
const logger = require('sockslog');
logger.setup({
noRemote: true
});
try {
throw new Error('Something went wrong');
} catch (err) {
logger.error(err); // Will properly display the full stack trace
}
const logger = require('sockslog');
logger.setup({
accessToken: 'ENTER_YOUR_ACCESS_TOKEN',
kvsId: 'ENTER_YOUR_ID'
});
logger.client()
import logger from 'sockslog';
logger.setup({
noRemote: true
});
logger.info('Hello World');
import logger from 'sockslog';
logger.setup({
accessToken: 'ENTER_YOUR_ACCESS_TOKEN',
kvsId: 'ENTER_YOUR_ID'
});
logger.info('Hello World');
import logger from 'sockslog';
logger.setup({
noRemote: true
});
try {
throw new Error('Something went wrong');
} catch (err) {
logger.error(err); // Will properly display the full stack trace
}
import logger from 'sockslog';
logger.setup({
accessToken: 'ENTER_YOUR_ACCESS_TOKEN',
kvsId: 'ENTER_YOUR_ID'
});
logger.client();
FAQs
SocksLog is a logging utility that allows you to log messages with different levels (INFO, WARN, ERROR) both locally and remotely.
The npm package sockslog receives a total of 18 weekly downloads. As such, sockslog popularity was classified as not popular.
We found that sockslog demonstrated a healthy version release cadence and project activity because the last version was released less than 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.