T03 · Remote Payload Retrieval and Execution
- Location
scripts/install_nvs.sh:42- Finding
Unpinned Remote Repository Content Is Immediately Executed
- Content
View full analysis
- Remediation
View remediation
" git clone --no-checkout "$NVS_REPOSITORY" "$NVS_HOME" git -C "$NVS_HOME" fetch --depth 1 origin "$NVS_COMMIT" git -C "$NVS_HOME" checkout --detach "$NVS_COMMIT" test "$(git -C "$NVS_HOME" rev-parse HEAD)" = "$NVS_COMMIT" || { echo "NVS commit verification failed" >&2 exit 1 } . "$NVS_HOME/nvs.sh" install ``` ]]>
