News for hackers. Stuff that matters.
Re:Long Error Messages by robinson-wall on Wednesday September 22, 2021 @01:24PM (#28619108)
This could be very dangerous, depending where an exception happened. Variables can contain critical secrets, like your TLS keys or a user's password and if your stack trace printer isn't aware of what should be redacted now you've got that in your logs.
Re:Long Error Messages by zanecodes on Wednesday September 22, 2021 @01:40PM (#28619312)
Agreed, but this would help force developers to deal with treating secrets with the care they should have been treating them with all along, in my opinion.

PowerShell's [SecureString] type is something of a step in the right direction, although its execution is lacking in some respects.

In any case, stack traces should _always_ be treated as secrets.