design-sync

Warn

Audited by Socket on Oct 7, 2026

1 alert found:

Anomaly
AnomalyLOW
lib/story-imports.mjs

The code is a powerful esbuild supply-chain/build-time manipulation mechanism: it rewrites module resolution and injects generated JavaScript shims. The most security-sensitive behavior is the ds-raw loader emitting `module.exports=window.${GLOBAL}`, which hardwires runtime browser global access into bundle output. No overt exfiltration or system compromise is shown in this snippet, but the broad dependency-graph rewriting and code-generation capability mean this module should be reviewed carefully for how GLOBAL/shimFor/shimResult/exportedComponentFor are derived and whether configuration/inputs could be attacker-influenced.

Confidence: 52%Severity: 58%
Audit Metadata
Analyzed At
Oct 7, 2026, 06:44 PM
Package URL
pkg:socket/skills-sh/immamdouhaboammar%2Fget-fable%2Fdesign-sync%2F@430248dff8c2a1caa03bcc27de1efaf0024c57395b05f1eae6d7e70c03da28c1