Loading vulnerability details...
| Property | Value |
|---|---|
| Advisory ID | SGZ-2026-B31EB |
| Severity | CRITICAL |
| CWE | CWE-319 |
| Confidence | 80% |
| Category | injection |
| Exploitability | confirmed |
| Package | crosswake@latest (javascript) |
| Location | brandbook/tools/compile-tokens.js:10-15 |
| Affected Functions | flattenTokens, resolveAlias, props, serializeNonColor, propsNonColor |
| Attack Vector | LOCAL |
| Attack Complexity | LOW |
| Privileges Required | NONE |
| Discovered By | SafeGuard Zero-Day AI Discovery Engine |
The application uses a hardcoded secret in the compile-tokens.js file, which could be exploited by an attacker to gain unauthorized access.
The vulnerability was identified in the file brandbook/tools/compile-tokens.js at lines 10-15 within the crosswake package (version latest). The following functions are directly affected: flattenTokens, resolveAlias, props, serializeNonColor, propsNonColor. Any code path that invokes these functions inherits this vulnerability.
File: brandbook/tools/compile-tokens.js (lines 10-15)
const JSON_PATH = path.join(ROOT, 'brandbook/tokens/crosswake.tokens.json');
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 could exploit this vulnerability by modifying the compile-tokens.js file to use a different secret, which would allow them to gain unauthorized access to the application.
Unauthorized access to the application
Remove the hardcoded secret and use a secure method to store sensitive information.
Advisory: SGZ-2026-B31EB | 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-B31EB |
| Severity | CRITICAL |
| CWE | CWE-319 |
| Confidence | 80% |
| Category | injection |
| Exploitability | confirmed |
| Package | crosswake@latest (javascript) |
| Location | brandbook/tools/compile-tokens.js:10-15 |
| Affected Functions | flattenTokens, resolveAlias, props, serializeNonColor, propsNonColor |
| Attack Vector | LOCAL |
| Attack Complexity | LOW |
| Privileges Required | NONE |
| Discovered By | SafeGuard Zero-Day AI Discovery Engine |
The application uses a hardcoded secret in the compile-tokens.js file, which could be exploited by an attacker to gain unauthorized access.
The vulnerability was identified in the file brandbook/tools/compile-tokens.js at lines 10-15 within the crosswake package (version latest). The following functions are directly affected: flattenTokens, resolveAlias, props, serializeNonColor, propsNonColor. Any code path that invokes these functions inherits this vulnerability.
File: brandbook/tools/compile-tokens.js (lines 10-15)
const JSON_PATH = path.join(ROOT, 'brandbook/tokens/crosswake.tokens.json');
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 could exploit this vulnerability by modifying the compile-tokens.js file to use a different secret, which would allow them to gain unauthorized access to the application.
Unauthorized access to the application
Remove the hardcoded secret and use a secure method to store sensitive information.
Advisory: SGZ-2026-B31EB | 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 critical vulnerability poses an immediate and severe threat to system security. Exploitation could lead to complete system compromise, data breach, or denial of service. Immediate action is required.
Isolate affected systems from untrusted networks until patching is complete
Implement enhanced monitoring for exploitation attempts and unusual behavior