FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

permission: enforce addon permission in GetLinkedBinding by RafaelGSS · Pull Request #65432 · nodejs/node · GitHub

/ node Public

permission: enforce addon permission in GetLinkedBinding - #65432

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
RafaelGSS:permission-linked-binding-addon
Aug 24, 2026
Merged

permission: enforce addon permission in GetLinkedBinding#65432
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
RafaelGSS:permission-linked-binding-addon

Conversation

Copy link
Copy Markdown
Member

process._linkedBinding() did not enforce the Addon permission check used by process.dlopen(). Apply the same permission check before resolving a linked binding, including after process.permission.drop('addon').

Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com>

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/security-wg

nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. labels Aug 20, 2026

codecov Bot commented Aug 20, 2026
edited
Loading

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 90.12%. Comparing base (e7904d4) to head (3d2d0fa).
⚠️ Report is 446 commits behind head on main.

Files with missing lines Patch % Lines
src/node_binding.cc 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #65432      +/-   ##
==========================================
- Coverage   90.14%   90.12%   -0.03%     
==========================================
  Files         746      752       +6     
  Lines      242764   252322    +9558     
  Branches    45739    47449    +1710     
==========================================
+ Hits       218848   227407    +8559     
- Misses      15426    16217     +791     
- Partials     8490     8698     +208     
Files with missing lines Coverage Δ
src/node_binding.cc 82.10% <0.00%> (-0.33%) ⬇️

... and 250 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

RafaelGSS added author ready PRs that have at least one approval, no outstanding review comments, and a CI started. request-ci Add this label to start a Jenkins CI on a PR. permission Issues and PRs related to the Permission Model labels Aug 20, 2026
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

RafaelGSS added the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 24, 2026
nodejs-github-bot merged commit 46a7dbd into nodejs:main Aug 24, 2026
87 checks passed

Copy link
Copy Markdown
Collaborator

Landed in 46a7dbd

nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 24, 2026
aduh95 pushed a commit that referenced this pull request Aug 25, 2026
Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com>
PR-URL: #65432
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
aduh95 pushed a commit that referenced this pull request Aug 25, 2026
Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com>
PR-URL: #65432
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. permission Issues and PRs related to the Permission Model

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL