You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instantiating classes using class and module attributes poses a security threat in case of untrusted JSON.
Let's follow-up to the discussion that started on reddit, regarding "add an argument to disable automatic package import". I just sent a PR with a warning to the README.
Looking at the code in UniversalJSONDecoder, it's really trying to decode one way after another. So we could have a configuration telling exactly which methods we want enabled. It would be set in KajsonManager at init().
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Instantiating classes using class and module attributes poses a security threat in case of untrusted JSON.
Let's follow-up to the discussion that started on reddit, regarding "add an argument to disable automatic package import".
I just sent a PR with a warning to the README.
Looking at the code in
UniversalJSONDecoder, it's really trying to decode one way after another. So we could have a configuration telling exactly which methods we want enabled. It would be set in KajsonManager atinit().Also, we could have white lists:
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions