Skip to content

docs: HKLM permission enforce strips NODE_OPTIONS audit - #97

Merged
coreybutler merged 1 commit into
mainfrom
docs/node-options-permission-audit
Oct 29, 2026
Merged

coreybutler merged 1 commit into
mainfrom
docs/node-options-permission-audit

Conversation

@coreybutler

Copy link
Copy Markdown
Contributor

Summary

  • HKLM Policies EnforcePermissionModel also strips --permission-audit from NODE_OPTIONS, not only argv and npm_config_node_options.
  • NVM still does not set NODE_OPTIONS. Preference-only enforce remains a debug hatch on argv.

Test plan

  • registry, security, and package-manager-shims (en + ru) name argv, NODE_OPTIONS, and npm_config_node_options together under HKLM enforce

HKLM Policies EnforcePermissionModel also drops --permission-audit
from NODE_OPTIONS, not only argv and npm_config_node_options.

Signed-off-by: Corey Butler <[email protected]>
@coreybutler
coreybutler merged commit 04354c2 into main Oct 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant