From c4081e07b5e97348ad3fe4187032b3680012b78c Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Fri, 13 Dec 2024 23:12:52 +0100 Subject: [PATCH] fixup! util: harden more built-in classes against prototype pollution --- lib/buffer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/buffer.js b/lib/buffer.js index 0b463fd49a40be..22bbb95eaf79e6 100644 --- a/lib/buffer.js +++ b/lib/buffer.js @@ -35,6 +35,7 @@ const { NumberMIN_SAFE_INTEGER, ObjectDefineProperties, ObjectDefineProperty, + ObjectPrototypeHasOwnProperty, ObjectSetPrototypeOf, RegExpPrototypeSymbolReplace, StringPrototypeCharCodeAt,