@ChuckMcManis @j0057 @dangoodin Applying the mapping to it is super sus already, and even presence of eval at all is sus. I wouldn't accept a PR with eval without a detailed explanation of why it's not practical without eval.
Conversation
Notices
-
Embed this notice
Rich Felker (dalias@hachyderm.io)'s status on Sunday, 15-Mar-2026 08:46:13 JST
Rich Felker
-
Embed this notice
Chuck (chuckmcmanis@chaos.social)'s status on Sunday, 15-Mar-2026 08:46:15 JST
Chuck
I don't disagree with this, but how about calling eval() on a non-empty and innocuous string? Said string being only one or two regexes away from being not innocuous? How about your web service's json parameter list which when 'touched' by the magic regex has more parameters in it than you thought? People don't sanitize the strings that their own code sends them, and perhaps that is unwise.
-
Embed this notice