Re:Survey of popular Node.js packages reveals credential leaks
by dblooman on Sunday December 06, 2015 @05:59PM
(#10687088)
Are there any tools that can scan all the users of an org for such credential leaks?
[ Parent
| on HN ]
Re:Survey of popular Node.js packages reveals credential leaks
by ChALkeR on Sunday December 06, 2015 @06:25PM
(#10687180)
You should not trust automatic tools to do that. They will inevitably be subject to both false negatives and false positives, and will most probably just give you a false sense of security but will not protect you from the actual leak.
You should better review stuff that you publish. That includes commit review, package contents review before publishing them, config files review, logs review before sharing them.
If you have an org — it would better to educate your devs more and make each commit go through an independent review. Also, don't forget about checking package contents.
Re:Survey of popular Node.js packages reveals credential leaks
by BinaryIdiot on Sunday December 06, 2015 @08:33PM
(#10687596)
While you should do everything you said I don't see the harm in an extra safety net where an automated tool may catch something you miss. Automated tools won't be as good as s human but humans are not perfect either and are bound to make a mistake; if there are tools that can assist I'm all for it.
Re:Survey of popular Node.js packages reveals credential leaks
by joepie91_ on Monday December 07, 2015 @02:13AM
(#10688279)
The problem is the false sense of security. The idea that "something is better than nothing" does not necessarily hold true in security, and additional layers can weaken your security rather than strengthen it.
Re:Survey of popular Node.js packages reveals credential leaks
by BinaryIdiot on Monday December 07, 2015 @02:18PM
(#10691895)
I don't think sanity checks are a form of false sense of security. Ideally the way you develop software those types of credentials would never even be in your project but maybe you're testing something and they're temporarily in there (because we've all done that); a warning could let you know you're about to screw up.
Naturally anyone can become dependent on anything designed to assist them. I'm not really passionated about either direction really.
Re:Survey of popular Node.js packages reveals credential leaks
by tommoor on Sunday December 06, 2015 @06:02PM
(#10687101)
We've been building something that does exactly this, no domain yet though.. damn!
Re:Survey of popular Node.js packages reveals credential leaks
by inikulin on Wednesday December 09, 2015 @02:19PM
(#10706023)
Just released such tool: https://github.com/inikulin/publish-please
Re:Survey of popular Node.js packages reveals credential leaks
by mrmondo on Sunday December 06, 2015 @06:33PM
(#10687204)
Never rely on it, but https://github.com/jandre/safe-commit-hook can help.