News for hackers. Stuff that matters.
Re:Zero-day in Sign in with Apple by rags2riches on Sunday May 31, 2020 @01:57AM (#23367542)
Don't just audit. Strengthen the critical APIs with types. A user provided string is not the same type as an authentic identity. Make the developer be explicit about the critical mistake about to be made. Perl had this down decades ago with the tainted checks.
Re:Zero-day in Sign in with Apple by amenod on Sunday May 31, 2020 @05:46AM (#23368394)
This, thousand times. Don't just fix the bug, fix the process that led to the bug. Developers are (usually) not malicious, but we are often working with tooling which makes mistakes easy to do, difficult to detect and grave in consequences. Fix the tooling, not just the bug.