performing-service-account-credential-rotation

Warn

Audited by Socket on Sep 14, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
scripts/process.py

The code appears to be a legitimate credential-rotation utility, not malware. It contains no evident credential theft, persistence, sabotage beyond intended key retirement, suspicious exfiltration, or obfuscation. However, it has meaningful security and reliability risks: PostgreSQL SQL injection through target_user, potential SSRF through health_endpoints, arbitrary writable-file overwrite through output_path, and potentially disruptive deletion/deactivation of credentials. Inputs should be validated, SQL identifiers safely quoted using driver-specific mechanisms, health checks restricted to approved destinations, and output/config paths constrained.

Confidence: 98%Severity: 58%
AnomalyLOW
scripts/agent.py

The code is a conventional administrative credential-rotation utility and contains no clear malware, persistence, exfiltration, reverse shell, cryptomining, or obfuscated payload behavior. Its main security concerns are secret exposure through command-line arguments and returned values, insufficient validation of Vault URL/role inputs, arbitrary outbound health-check requests, and potentially disruptive deactivation of all older AWS keys. The provided fragment also cannot execute as written because it is syntactically truncated.

Confidence: 98%Severity: 52%
Audit Metadata
Analyzed At
Sep 14, 2026, 10:26 PM
Package URL
pkg:socket/skills-sh/mukul975%2Fanthropic-cybersecurity-skills%2Fperforming-service-account-credential-rotation%2F@f29340697cbf80f088f9c90d21bd13913cfd6baa66a7b1de90e82f44bf2b9ca1