External Script Fetching
- Category
- Supply Chain
- Confidence
- 90% confidence
- Finding
Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
- Content
md 2. Block/require confirmation for high-risk patterns: - recursive deletes (`rm -rf`, `Remove-Item -Recurse -Force`) - format/disk ops - piping remote scripts (`curl ... | sh`) 3. If supported, prefer dry-run flags first (e.g., `--dry-run`, `-n`, `--check`). 4. Execute the command and capture: - exit code
