@vtex/faststore-plugin-buyer-portal
A plugin for faststore with buyer portal
This report shows the evidence for @vtex/faststore-plugin-buyer-portal@2.0.38. 6 of 20 known versions are blocked or flagged. The newest version, 2.0.40, is flagged. See all versions.
AI Security Review
scanned 7d ago · by lpm-firewall-aiThe source confirms active, routine disclosure of VTEX session credentials to package-selected external recipients without a recipient-specific consent gate. This supports blocking for credential exfiltration; the origin checks constrain spoofing but do not authorize the credential transfer.
Decision evidence
public snapshot- The authenticated buyer page extracts an existing VTEX session token and passes it to the B2B iframe layout.
- The B2B layout fixes the production receiver to a Vercel-hosted agent app and derives its message target origin from that URL.
- The B2B layout sends the token and account context when the embedded app requests authentication; no recipient-specific consent gate is present.
- The order-entry page also passes the VTEX token and session data to a separate Vercel-hosted agent app.
- Both integrations load their fixed remote iframe as part of the page layout, so the authentication transfer is part of normal feature use.
- Both layouts check that incoming messages come from the expected iframe origin and window, which limits message spoofing but does not limit disclosure to the selected recipient.
Source & flagged code
5 flagged · loading sourceSource 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 B2B layout fixes the production receiver to a Vercel-hosted agent app and derives its message target origin from that URL.
src/features/b2b-agent/layouts/B2BAgentLayout/B2BAgentLayout.tsxView on unpkg · L6Findings
Affected versions and remediation
This report applies to @vtex/faststore-plugin-buyer-portal@2.0.38.
The versions list below shows the verdict for each recorded version.
- Avoid installing @vtex/faststore-plugin-buyer-portal@2.0.38. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.