Re:NPM security update: Attack campaign using stolen OAuth t...
by willcipriano on Friday May 27, 2022 @01:53PM
(#31532585)
That's kind of how I've always solved it at the smaller companies I've worked at. I'm on Hacker News all day and know all about these kinds of footguns so I write all the auth code myself and then provide a couple of helper functions/methods for the team to use that are unable to do anything too silly. Creating an object that throws an exception when you try to get it as a string or print it though is something I'll have to try next time.
[ Parent
| on HN ]
There are no comments on this comment yet.