Research
Recent Trends in Malicious Packages Targeting Discord
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
devbug
Advanced tools
Readme
Debug your node app with a much better console.log() alternative. Devbug will do a better job formatting the variables you want to output and allow you to choose colors so you don't get confused when debugging. Additionally, devbug provides you with a master on-off switch so you can disable all your debug outputs for production.
npm install --save devbug
First create a property called debugmode in your local package.json file:
...
"dependencies": {
"mocha": "^3.5.3",
"nyc": "^11.2.1"
},
"debugmode": true
Then simply pull out the methods you need and use them:
const {dbg,colors} = require('devbug');
dbg(<summary>,<variable to display>,<color>);
Reminder: In your package.json file make sure you add a property called 'debugmode' and set it to true for this to work:
const {dbg,colors} = require('devbug');
const plotPoint = {x:3, y:10}
dbg("Temperate weather", plotPoint, colors.WHITE);
plotPoint.x = 5
dbg("Warm weather", plotPoint, colors.YELLOW);
plotPoint.x = 10
dbg("Hot weather", plotPoint, colors.RED);
Unlike dbg (above), msg works even when 'debugmode' is set to false:
const {msg,colors} = require('devbug');
try {
return processObject(obj)
} catch (error) {
msg('Error', 'There was a problem processing the object', colors.RED);
}
If you experience any bugs or issues please post a comment here: https://github.com/Firebrand/devbug/issues Typically it will get responded to and resolved within 24hrs. Make sure to include the error message as well as the css you are inputting into it.
ISC
FAQs
Debug your app with a much better console.log() alternative
The npm package devbug receives a total of 126 weekly downloads. As such, devbug popularity was classified as not popular.
We found that devbug 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
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
Security News
Socket CEO Feross Aboukhadijeh joins a16z partners to discuss how modern, sophisticated supply chain attacks require AI-driven defenses and explore the challenges and solutions in leveraging AI for threat detection early in the development life cycle.
Security News
NIST's new AI Risk Management Framework aims to enhance the security and reliability of generative AI systems and address the unique challenges of malicious AI exploits.