
Security News
curl Shuts Down Bug Bounty Program After Flood of AI Slop Reports
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.
A tiny, zero overhead debugging utility.
npm install nanodebug
By default, nanodebug is completely noop:
const debug = require('nanodebug')()
// Does nothing!
debug('You encountered a %s!', 'đ')
// Also does nothing!
debug(() => { debug('It accepts functions as well') })
// This... does nothing!
await debug(async () => { debug('They can even be async!') })
Go ahead and put some debugs in your code and enable nanodebug when :bug: hits the fan:
const debug = require('nanodebug')({ enabled: true })
By default, debug will log to stderr using console.error, which is also why we were able to specify a formatting string in the examples above. To change this, pass a log function in the options:
const debug = require('nanodebug')({ log: console.log.bind(console) })
Now, debug will instead log to stdout using console.log.
ISC
FAQs
A tiny, zero overhead debugging utility
We found that nanodebug 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
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.

Product
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.