@embarkai/ui-kit@0.4.36
React UI components and hooks for EmbarkAI authentication and Account Abstraction
AI Security Review
scanned 4mo ago · by lpm-firewall-aiStatic inspection found risky browser primitives, but they are tied to the advertised React auth/account-abstraction SDK and shipped local WASM, with no lifecycle execution or host credential/file harvesting. The scanner's remote-decode/execute concern appears to be wasm-bindgen local module initialization plus standard browser API use, so the package should be marked clean.
Decision evidence
public snapshot- dist/iframe/main.js includes wasm-bindgen glue using new Function and loading dkls23_wasm_bg.wasm.
- dist/iframe/main.js and dist/index.cjs send bearer-authenticated requests to EmbarkAI, Google, Binance/on-ramp, and metadata APIs during runtime workflows.
- dist/iframe/oauth/x.js accepts tssUrl from URL/localStorage for OAuth flow backend calls.
- package.json has no install/preinstall/postinstall/prepare lifecycle hooks; scripts are development/build only.
- No child_process, fs credential harvesting, home-directory reads, npm token access, persistence, or destructive runtime behavior found.
- WASM fetch defaults to local dist/iframe/dkls23_wasm_bg.wasm via import.meta.url, not a remote decoded payload.
- Network calls are aligned with the package purpose: auth, MPC signing, KYC, OAuth, on-ramp, bridge, and project metadata.
- localStorage use is for passkey/session/keyshare/OAuth state inside browser workflows, not host filesystem access.
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.36.
See all versions of @embarkai/ui-kit for other recorded verdicts.
- Review the evidence and your use of @embarkai/ui-kit@0.4.36 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.