microsoft/hve-core

Public

mirrored fromhttps://github.com/microsoft/hve-coreAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
feat/devcontainer-python-uv-887

Branches

Tags

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

Clone

HTTPS

Download ZIP

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

13lines · modecode

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