External Script Fetching
High
- Category
- Supply Chain
- Confidence
- 90% confidence
- Finding
Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
- Content
md 1) Prefer read-only commands unless you *mean* to change state. 2) Avoid secrets in command lines (tokens, API keys, cookies). 3) Avoid remote execution one-liners: - no `curl ... | sh` - no “download and execute” pipelines 4) If the command could delete or overwrite files, slow down and double-check paths.
