Files
node/lib
Filip Skokan 9adddc552b tools: prevent lib code from reading KeyObject and CryptoKey accessors
Add ESLint rules that reject public KeyObject and CryptoKey accessor
reads after internal brand checks. Internal code must use the private
key helpers so it reads native-backed slots instead of user-replaceable
properties.

Add a separate rule that rejects instanceof checks against KeyObject
and CryptoKey constructors, including the global CryptoKey constructor.

Signed-off-by: Filip Skokan <panva.ip@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/63111
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
2026-05-08 07:10:05 +00:00
..
…
…
…
…
…
…
2026-04-11 19:24:50 +00:00
2026-04-05 10:12:21 +00:00
…
…
…
2025-12-10 16:12:28 +00:00
…
2025-12-22 16:14:46 +00:00
…
2026-03-26 05:55:01 +00:00
…
2026-02-21 16:30:23 +00:00
…
2026-04-01 10:09:41 +00:00
…
…
…
2026-04-09 15:01:51 -04:00
2026-04-26 19:36:36 +00:00
…
…