T09 · Insecure Skill Coding Practices
- Location
deps/install.ps1- Finding
Non-interactive confirmation returns a truthy array and permits deletion
- Content
View full analysis
Impact
Say writes its message to PowerShell's success output stream. Ask consequently returns both a nonempty string and $false; PowerShell evaluates that two-element array as true. The uninstall therefore deletes the installation despite the missing confirmation and the displayed refusal. The same defect also bypasses the initial installation consent check.
