microsoft/hve-core

Public

mirrored from https://github.com/microsoft/hve-coreAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
feat/add-pester-code-coverage

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

scripts/tests/Fixtures/Security/insecure-download.sh

10lines · modecode

1#!/usr/bin/env bash
2# Test fixture: Shell script with insecure download (no checksum)
3
4echo "Downloading tool without verification..."
5curl -o /tmp/tool.tar.gz https://example.com/tool.tar.gz
6
7# This download lacks checksum verification
8wget https://example.com/other-tool.zip -O /tmp/other-tool.zip
9
10echo "Done"
11