nvm-troubleshooting-linux
Warn
Audited by Gen Agent Trust Hub on Apr 6, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: Uses
sudoto perform high-privilege operations on system files, including deleting and overwriting/etc/resolv.confand creating/etc/wsl.confto fix DNS resolution issues in WSL. - [COMMAND_EXECUTION]: Executes
chattr +ion/etc/resolv.confto make the file immutable, preventing the operating system from managing the file automatically. - [COMMAND_EXECUTION]: Modifies the user's shell configuration by appending environment variables and script loading commands to
~/.bashrc, then reloads the environment using thesourcecommand. - [EXTERNAL_DOWNLOADS]: Fetches the official nvm installation script from the
nvm-shorganization's repository on GitHub (raw.githubusercontent.com/nvm-sh/nvm/). - [REMOTE_CODE_EXECUTION]: Pipes the remotely fetched nvm installation script directly into a
bashshell for immediate execution on Alpine Linux systems.
Audit Metadata