CodePen transmits all typed content in its editor to codepen.dev in near real-time, even before a user saves or publishes their work.
This behavior, discovered through network monitoring, means that any sensitive information accidentally typed into the CodePen editor, such as API keys or passwords, is sent to their servers before the user has a chance to save or discard it. This poses a significant security risk, as developers might inadvertently expose credentials or proprietary code. The mechanism involves the platform running a build with 'save:false' while still transmitting the input, suggesting it's an inherent part of the editing workflow rather than a bug. Users who have entered secrets into CodePen should consider them potentially compromised.
Sources
