@embarkai/ui-kit@0.4.96
React UI components and hooks for EmbarkAI authentication and Account Abstraction
AI Security Review
scanned 2mo ago · by lpm-firewall-aiThis is a concrete cross-origin authorization weakness in a wallet-capable iframe, but the package does not show install-time malware, payload staging, or deliberate exfiltration. The package should be warned pending a fix that authenticates and binds origins to project authorization.
Decision evidence
public snapshot- The iframe accepts an initial SDK_AUTH message from any HTTPS origin.
- That message creates a channel token and adds the arbitrary origin to the allowed-origin set.
- Transaction signing then relies on the caller-controlled channel, user ID, and project ID; authorization is not bound to the message origin.
- package.json has no preinstall, install, or postinstall hook.
- The reported dynamic Function calls are WebAssembly glue and bundled lodash code, not a remote decoded payload.
- The bundled CSS is presentation-only, and no filesystem or child-process behavior was found.
Source & flagged code
12 flaggedSource fetches a remote non-code asset, decodes its contents, and dynamically executes the decoded payload.
dist/iframe/main.jsView on unpkg · L15Package contains a possible secret pattern.
Findings
Affected versions and remediation
This report applies to @embarkai/ui-kit@0.4.96.
See all versions of @embarkai/ui-kit for other recorded verdicts.
- Review the evidence and your use of @embarkai/ui-kit@0.4.96 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.