Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Depugger is a small lib that provides a debugging utility.
depugger
returns a function that supports all of the util.format
features and outputs debug messages based on the initial configuration.
debug
: specifies if logged messages should be outputted, optional, default: falsename
: a category key that will prepend every message, optional, default: ""options
: options hash that can be used to submit all of the above parameters at oncevar depugger = require('depugger');
var debug = depugger(true, 'fooDebugger');
debug('foo');
debug('bar "%s"', 'bax');
debug('spam %d eggs', 10);
//output to console:
//[fooDebugger] foo
//[fooDebugger] bar "bax"
//[fooDebugger] spam 10 eggs
Alternatively all parameters can be specified via an options hash:
var depugger = require('depugger');
var debug = depugger({debug: true, name: 'fooDebugger'});
debug('foo');
debug('bar "%s"', 'bax');
debug('spam %d eggs', 10);
//output to console:
//[fooDebugger] foo
//[fooDebugger] bar "bax"
//[fooDebugger] spam 10 eggs
FAQs
small debugging utility
The npm package depugger receives a total of 1 weekly downloads. As such, depugger popularity was classified as not popular.
We found that depugger 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.