iblai-api-agent-embed

Warn

Audited by Socket on Jul 26, 2026

1 alert found:

Security
SecurityMEDIUM
references/embed-guide.md

No explicit malicious payload behavior is evidenced in the provided fragment; however, it documents a high-impact and security-sensitive design for handling freshly minted authentication tokens. The described approach transports token-bearing JSON to an iframe via URL query parameters (risking leakage through browser/history/logging/referrers) and via postMessage with wildcard targetOrigin (*), which is unsafe without strict origin/sender validation in the receiver. Additionally, the implied storage of tokens in localStorage materially increases risk in the presence of any same-origin script compromise (e.g., XSS). Review and enforce strict recipient origin validation, avoid URL-based token transport, minimize token lifetime/scope, and prefer more secure token storage/transport patterns (e.g., secure, HttpOnly cookies or short-lived one-time codes) where feasible.

Confidence: 62%Severity: 76%
Audit Metadata
Analyzed At
Jul 26, 2026, 02:04 AM
Package URL
pkg:socket/skills-sh/iblai%2Fapi%2Fiblai-api-agent-embed%2F@00ed1dc06f107da235bd063462a0a12a6112c514f77d0254a327bc50cb36d81b
Security Audit — socket — iblai-api-agent-embed