fix: prototype pollution in deserializer (#2255)
This is not exploitable in practice unless a user maliciously crafts serialized values in __FRSH_STATE, because `serializer()` never outputs serialized representation that would be vulnerable to prototype pollution. But hey, defense in depth.
This commit is contained in:
@@ -14,6 +14,7 @@ export {
|
||||
assertNotMatch,
|
||||
assertRejects,
|
||||
assertStringIncludes,
|
||||
assertThrows,
|
||||
} from "https://deno.land/std@0.211.0/assert/mod.ts";
|
||||
export { assertSnapshot } from "https://deno.land/std@0.211.0/testing/snapshot.ts";
|
||||
export {
|
||||
|
||||
Reference in New Issue
Block a user