ai-gateway-management
Warn
Audited by Socket on Jun 17, 2026
3 alerts found:
Securityx2AnomalySecurityweb/index.html
MEDIUMSecurityMEDIUM
web/index.html
Securityscripts/monitor-server.sh
MEDIUMSecurityMEDIUM
scripts/monitor-server.sh
Anomalyscripts/set-model.sh
LOWAnomalyLOW
scripts/set-model.sh
No clear malicious activity is present in this fragment; its behavior is consistent with legitimate configuration and routing/model management for an internal AI gateway and associated configs. The primary security concern is security hygiene: unvalidated user-controlled --provider/--model values are interpolated into both URLs (provider path segment) and JSON payloads used to create routing rules and persist config, creating a potential for misconfiguration or request-routing manipulation if an attacker can influence inputs or environment variables. Risk is increased by the fact that the script sources an external base.sh whose contents are not visible here.
Confidence: 100%Severity: 60%
Audit Metadata