A plugin for faststore with buyer portal
When an authorized user opens either agent page, the package loads a hard-coded external iframe and delivers VTEX authentication material to it. This is a concrete credential-disclosure surface outside the VTEX package origin.
Source sends credentials or rich application records to a package-controlled external receiver enabled by default.
src/features/b2b-agent/layouts/B2BAgentLayout/B2BAgentLayout.tsxView on unpkgThe package embeds hard-coded Vercel-hosted agent applications at runtime.
src/features/b2b-agent/layouts/B2BAgentLayout/B2BAgentLayout.tsxView on unpkg · L6It sends an authentication token and customer/account identifiers to the embedded cross-origin frame.
src/features/b2b-agent/layouts/B2BAgentLayout/B2BAgentLayout.tsxView on unpkg · L51The package embeds hard-coded Vercel-hosted agent applications at runtime.
src/features/order-entry/layouts/OrderEntryLayout.tsxView on unpkg · L10The order-entry page extracts the VTEX authentication cookie value before passing it to the remote frame.
src/pages/order-entry.tsxView on unpkg · L100The package embeds hard-coded Vercel-hosted agent applications at runtime.
src/features/b2b-agent/layouts/B2BAgentLayout/B2BAgentLayout.tsxView on unpkg · L6It sends an authentication token and customer/account identifiers to the embedded cross-origin frame.
src/features/b2b-agent/layouts/B2BAgentLayout/B2BAgentLayout.tsxView on unpkg · L51Source sends credentials or rich application records to a package-controlled external receiver enabled by default.
src/features/b2b-agent/layouts/B2BAgentLayout/B2BAgentLayout.tsxView on unpkgThe package embeds hard-coded Vercel-hosted agent applications at runtime.
src/features/order-entry/layouts/OrderEntryLayout.tsxView on unpkg · L10The order-entry page extracts the VTEX authentication cookie value before passing it to the remote frame.
src/pages/order-entry.tsxView on unpkg · L100