Wednesday, February 4, 2026
1 change · 19.0
Security fixes and vulnerability patches
This update fixes a potential security vulnerability by preventing the logging of sensitive access tokens (RDTs) generated by the Amazon connector. These tokens contain customer data and, if exposed in logs, could lead to privacy breaches. This change enhances data protection and aligns with security best practices.
Original PR description
Previously, the connector logged all SP-API responses for debugging purposes. When operation is `createRestrictedDataToken`, this would also log the `restrictedDataToken` in plaintext. RDTs are short-lived credentials that grant access to PII (buyer names, addresses, etc.) and should not appear in application logs. While the token is only stored in memory while in use, logs are frequently shared in support tickets, error reports, and monitoring systems without the same access controls, making credential exposure far more likely. This commit adds a parameter to disable logging for operations that return sensitive data. opw-5491878 Forward-Port-Of: odoo/enterprise#105178