Loading vulnerability details...
| Property | Value |
|---|---|
| Advisory ID | SGZ-2026-35958 |
| Severity | HIGH |
| CWE | CWE-79 |
| Confidence | 70% |
| Category | injection |
| Exploitability | possible |
| Package | crosswake@latest (javascript) |
| Location | brandbook/tools/compile-tokens.js:20-30 |
| 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 vulnerable function in the compile-tokens.js file, which could be exploited by an attacker to inject malicious code.
The vulnerability was identified in the file brandbook/tools/compile-tokens.js at lines 20-30 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 20-30)
function flattenTokens(obj, prefix, acc) {
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 inject malicious code, which would allow them to execute arbitrary code on the application.
Arbitrary code execution on the application
Update the vulnerable function to use a secure method to prevent code injection.
Advisory: SGZ-2026-35958 | 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-35958 |
| Severity | HIGH |
| CWE | CWE-79 |
| Confidence | 70% |
| Category | injection |
| Exploitability | possible |
| Package | crosswake@latest (javascript) |
| Location | brandbook/tools/compile-tokens.js:20-30 |
| 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 vulnerable function in the compile-tokens.js file, which could be exploited by an attacker to inject malicious code.
The vulnerability was identified in the file brandbook/tools/compile-tokens.js at lines 20-30 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 20-30)
function flattenTokens(obj, prefix, acc) {
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 inject malicious code, which would allow them to execute arbitrary code on the application.
Arbitrary code execution on the application
Update the vulnerable function to use a secure method to prevent code injection.
Advisory: SGZ-2026-35958 | 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