dns-management
Warn
Audited by Socket on Sep 16, 2026
1 alert found:
AnomalyAnomalyreferences/dns-failover-script.md
LOWAnomalyLOW
references/dns-failover-script.md
The script appears to implement legitimate DNS failover functionality and contains no clear malware indicators. It has security weaknesses: untrusted endpoint input controls an outbound request, and user inputs are inserted into JMESPath and JSON without proper escaping. In an untrusted invocation context, these issues could cause requests to unexpected hosts, malformed or manipulated DNS update payloads, or unintended privileged DNS changes. Inputs should be validated against an allowlist and JSON should be generated with a safe encoder such as jq. The code should not be treated as safe for untrusted callers without those controls.
Confidence: 97%Severity: 68%
Audit Metadata