Examples/Vulnerable_TaintedConfig_2.ps1

function Set-AppConfigUnsafe {
    param($tenant)

    Set-ItemProperty -Path HKLM:\Software\Demo -Name Config -Configuration $tenant
}