Research
Security News
Malicious PyPI Package ‘pycord-self’ Targets Discord Developers with Token Theft and Backdoor Exploit
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
node-debug-tool
Advanced tools
Tiny node.js debugging tool with colors and timing functionality
$ npm install node-debug-tool
The DEBUG_MODE
environment variable, must be set to a namespace in order to see the debugging information.
Code example:
var ab = require('../lib/node-debug-tool')('Foo:bar:x');
var abc = require('../lib/node-debug-tool')('foo:bar:y');
var abcd = require('../lib/node-debug-tool')('foo:abc');
var abcde = require('../lib/node-debug-tool')('other');
ab.log('Some foo bar x');
abc.log('Some foo bar y');
abcd.log('Some foo abc');
other.log('Some other');
The code above possible outputs:
DEBUG_MODE=*
: [Foo:Bar:X] [Debug] "Some foo bar x" +0ms
[Foo:Bar:Y] [Debug] "Some foo bar y" +0ms
[Foo:Abc] [Debug] "Some foo abc" +0ms
[Other] [Debug] "Some other" +0ms
DEBUG_MODE=foo:*
: [Foo:Bar:X] [Debug] "Some foo bar x" +0ms
[Foo:Bar:Y] [Debug] "Some foo bar y" +0ms
[Foo:Abc] [Debug] "Some foo abc" +0ms
DEBUG_MODE=foo:bar:*
: [Foo:Bar:X] [Debug] "Some foo bar x" +0ms
[Foo:Bar:Y] [Debug] "Some foo bar y" +0ms
DEBUG_MODE=foo:bar:x
: [Foo:Bar:X] [Debug] "Some foo bar x" +0ms
FAQs
Node debug tool
The npm package node-debug-tool receives a total of 5 weekly downloads. As such, node-debug-tool popularity was classified as not popular.
We found that node-debug-tool 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 uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.