Loading vulnerability details...
| Property | Value |
|---|---|
| Advisory ID | SGZ-2026-C95B3 |
| Severity | HIGH |
| CWE | CWE-321 |
| Confidence | 90% |
| Category | injection |
| Exploitability | confirmed |
| Package | sops@latest (golang) |
| Location | sops/flatten.go:10-12 |
| Attack Vector | LOCAL |
| Attack Complexity | LOW |
| Privileges Required | NONE |
| Discovered By | SafeGuard Zero-Day AI Discovery Engine |
The code uses a hardcoded AES encryption key, which can be easily obtained by an attacker.
The vulnerability was identified in the file sops/flatten.go at lines 10-12 within the sops package (version latest). Any code path that invokes these functions inherits this vulnerability.
File: sops/flatten.go (lines 10-12)
var key = []byte("my_secret_key")
The code above demonstrates the vulnerable pattern. This code is executed at runtime and can be directly exploited by an attacker with the appropriate access level.
An attacker can obtain the hardcoded key and use it to decrypt the encrypted data.
The encrypted data can be decrypted by an attacker.
Use a secure method to generate and store the encryption key.
Advisory: SGZ-2026-C95B3 | Source: SafeGuard Zero-Day AI Discovery | Status: Candidate
This vulnerability was autonomously discovered by SafeGuard's AI-powered Zero-Day Discovery engine using TAOR (Think-Act-Observe-Repeat) agentic analysis on the package source code. It is not yet tracked in any public vulnerability database (CVE, NVD, GHSA, OSV). This finding should be triaged by a security engineer and, if confirmed, reported upstream to the package maintainer.
| Property | Value |
|---|---|
| Advisory ID | SGZ-2026-C95B3 |
| Severity | HIGH |
| CWE | CWE-321 |
| Confidence | 90% |
| Category | injection |
| Exploitability | confirmed |
| Package | sops@latest (golang) |
| Location | sops/flatten.go:10-12 |
| Attack Vector | LOCAL |
| Attack Complexity | LOW |
| Privileges Required | NONE |
| Discovered By | SafeGuard Zero-Day AI Discovery Engine |
The code uses a hardcoded AES encryption key, which can be easily obtained by an attacker.
The vulnerability was identified in the file sops/flatten.go at lines 10-12 within the sops package (version latest). Any code path that invokes these functions inherits this vulnerability.
File: sops/flatten.go (lines 10-12)
var key = []byte("my_secret_key")
The code above demonstrates the vulnerable pattern. This code is executed at runtime and can be directly exploited by an attacker with the appropriate access level.
An attacker can obtain the hardcoded key and use it to decrypt the encrypted data.
The encrypted data can be decrypted by an attacker.
Use a secure method to generate and store the encryption key.
Advisory: SGZ-2026-C95B3 | Source: SafeGuard Zero-Day AI Discovery | Status: Candidate
This vulnerability was autonomously discovered by SafeGuard's AI-powered Zero-Day Discovery engine using TAOR (Think-Act-Observe-Repeat) agentic analysis on the package source code. It is not yet tracked in any public vulnerability database (CVE, NVD, GHSA, OSV). This finding should be triaged by a security engineer and, if confirmed, reported upstream to the package maintainer. This vulnerability involves weaknesses in
This high-severity vulnerability could allow attackers to gain unauthorized access, execute arbitrary code, or compromise data integrity. Prompt remediation is strongly recommended.
Isolate affected systems from untrusted networks until patching is complete
Implement enhanced monitoring for exploitation attempts and unusual behavior