discovery-services-agent-deployer
Warn
Audited by Socket on Oct 30, 2026
1 alert found:
AnomalyAnomalyscripts/deploy-discovery-agent.ps1
LOWAnomalyLOW
scripts/deploy-discovery-agent.ps1
This code automates Azure tool and agent deployment and validation. It disables human-in-the-loop and tool confirmations, and it runs the configured tokenCommand through a shell, creating arbitrary-command execution risk if that configuration is untrusted. It also sends bearer tokens to a response-provided operation-location URL without an evident same-origin check. No clear malware or hard-coded suspicious destination is present; overall severity is moderate, with the Azure Discovery endpoint and configurable workspace endpoint involved.
Confidence: 96%Severity: 64%
Audit Metadata