@embarkai/ui-kit@0.4.39
React UI components and hooks for EmbarkAI authentication and Account Abstraction
AI Security Review
scanned 4mo ago · by lpm-firewall-aiStatic inspection shows suspicious primitives are attributable to browser wallet/auth functionality: bundled wasm-bindgen glue, user-invoked OAuth/backup/network calls, and iframe messaging. There is no lifecycle execution, hidden exfiltration, remote decoded code execution, persistence, destructive action, or AI-agent control-surface mutation.
Decision evidence
public snapshot- dist/iframe/main.js ships dkls23_wasm_bg.wasm and wasm-bindgen glue with new Function/module.require imports.
- dist/index.cjs and dist/iframe/main.js send auth tokens/keyshare data to EmbarkAI vault/TSS APIs during wallet backup/auth flows.
- dist/iframe/oauth/telegram.js loads Telegram widget and posts OAuth result to opener with wildcard target.
- package.json has no install/preinstall/postinstall lifecycle hooks; scripts are build/dev only.
- dist/index.cjs import-time action only injects packaged CSS into document head when a browser document exists.
- Network calls are aligned with UI wallet/auth, backup, bridge, explorer, and OAuth features and are user/runtime invoked.
- dist/iframe/main.js fetches local dkls23_wasm_bg.wasm via import.meta.url; no remote decoded payload found.
- No child_process usage found; scanner hit appears to be noisy.
- postMessage handling checks iframe origin for SDK messages and OAuth popup origins are constrained by iframe origin in caller.
Source & flagged code
13 flaggedSource fetches a remote non-code asset, decodes its contents, and dynamically executes the decoded payload.
dist/iframe/main.jsView on unpkg · L13Package contains a possible secret pattern.
dist/iframe/main.jsFindings
Affected versions and remediation
This report applies to @embarkai/ui-kit@0.4.39.
See all versions of @embarkai/ui-kit for other recorded verdicts.
- Review the evidence and your use of @embarkai/ui-kit@0.4.39 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.