@vtex/faststore-plugin-buyer-portal@2.0.40
A plugin for faststore with buyer portal
AI Security Review
scanned 14h ago · by lpm-firewall-aiBoth authenticated page flows send VTEX session credentials to fixed external agent origins without a recipient-specific approval gate. The source establishes the transfer but not recipient ownership or subsequent credential use, so warn about credential exposure without asserting malicious use.
Decision evidence
public snapshot- The B2B manager embeds a fixed external agent origin.
- The B2B layout sends the VTEX auth token and account details to that origin.
- The authorized B2B page derives the token from session context or cookies and passes it to the layout.
- The order-entry layout uses a second fixed external agent origin and sends both auth token fields plus session context.
- The authorized order-entry page derives the token and passes it to the layout.
- Both layouts send authentication automatically after the iframe loads; no recipient-specific approval is shown.
- Outbound messages are constrained to the iframe origin, and inbound messages are checked against that origin and window. The source does not establish how the remote apps use the credentials.
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 manager embeds a fixed external agent origin.
src/features/b2b-agent/layouts/B2BAgentLayout/B2BAgentLayout.tsxView on unpkg · L7Findings
Affected versions and remediation
This report applies to @vtex/faststore-plugin-buyer-portal@2.0.40.
See all versions of @vtex/faststore-plugin-buyer-portal for other recorded verdicts.
- Review the evidence and your use of @vtex/faststore-plugin-buyer-portal@2.0.40 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.