Skip to content

fix: replace __proto__ by setPrototypeOf#2514

Open
kapouer wants to merge 1 commit intoloopbackio:masterfrom
kapouer:master
Open

fix: replace __proto__ by setPrototypeOf#2514
kapouer wants to merge 1 commit intoloopbackio:masterfrom
kapouer:master

Conversation

@kapouer
Copy link
Copy Markdown

@kapouer kapouer commented Mar 28, 2026

Context: nodejs/node#31951

Today one can disable get/set of __proto__ on an existing instance.
This is a safety feature for one of the most obvious vulnerability source in javascript,
and having modules still relying on it is problematic.

Checklist

  • Sign off your commits with DCO (Developer Certificate of Origin)
  • npm test passes on your machine The same number of tests fail
  • New tests added or existing tests modified to cover all changes
  • Code conforms with the style guide
  • Commit messages are following our guidelines

Signed-off-by: Jérémy Lal <kapouer@melix.org>
@kapouer kapouer requested a review from dhmlau as a code owner March 28, 2026 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants