frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Apparently CodePen 2.0 sends data to their servers as you type

34•maxim-fin•1h ago
They send all typed into editor input to codepen.dev almost immediately (you would see in 1-2 sec after you typed your secret that it appears in respective Network/Response tab) even before one saved it. I tested this with a unique marker: after typing it into index.html, CodePen ran a build with "save:false", and the marker then appeared verbatim in the HTML served from the generated "*.codepen.dev preview". Thus, if you ever entered some secrets in there by mistake consider them compromized even if you did not publish/save the pen

Comments

keepo404•1h ago
because this is how autocomplete logic works i guess? Frontend cannot guess language and completions for you
embedding-shape•54m ago
Well, except for the cases when you happen to have the entire VM for your language running in the same tab where you program lives, and they both are all JS.

Probably harder, and wouldn't work equally well for everyone, but it would be possible to have "guess language and autocomplete" entirely client-side, especially when it comes to JavaScript of all languages.

maxim-fin•35m ago
No autocomplete involved there.
bashy•1h ago
Sent to them to render the preview pane. Same as pasting secrets anywhere on a browser.

Wait until you find out copying content on a computer might sent it over Wi-Fi/Bluetooth for sharing on other devices.

maxim-fin•34m ago
Yes, that is for rendering
tvink•58m ago
You're gonna be shocked how many input fields do this for various UX features :)
embedding-shape•52m ago
HotJar and similar services are (were?) popular as well, and those record your mouse pointer movements and clicks as well, then displays that as an overlay over the application, so it's essentially a "screen recording" of your session of the application.
nusl•5m ago
Shopify does this. If you ever go to purchase a product on a Shopify 'site, and enter eg your e-mail address, it'll save it even if you decide to cancel and close the tab. Sometimes you receive spam from companies along the lines of marketing or "we noticed you didn't complete your purchase" type crap. Shit is rly invasive.
pdyc•57m ago
i made my own html playground that is browser only and shares preview via url hash because of these useless shenanigans of codepen, its not as featureful but i mostly use it for sharing single page html files

https://easyanalytica.com/tools/html-playground/

cph123•49m ago
For basic previewing I like to use https://htmledit.squarefree.com which has been online for years and does it all client side.
nseskin•47m ago
There’s a detailed discussion of the same issue here https://www.reddit.com/r/webdev/comments/1rj1oac/i_planted_f...

Apparently CodePen 2.0 sends data to their servers as you type

36•maxim-fin•1h ago•14 comments

Ask HN: How do you manage skills files?

174•imadtaieber•17h ago•158 comments

Ask HN: Fable hacked my piano, can I release the results?

189•jmpman•1d ago•112 comments

Ask HN: Would you read a statistics textbook?

87•usernametaken29•1d ago•51 comments

Ask HN: Do People Care About Image Optimisation Anymore?

2•CM30•3h ago•0 comments

Ask HN: How do you keep AI coding agents in sync with a changing Figma file?

2•rjvidentia•3h ago•0 comments

tuhat: Home for all your reading

3•8by3•3h ago•0 comments

Ask HN: Show your micro-SaaS

13•genekrapivin•16h ago•3 comments

Ask HN: Why can I use macOS passkeys without biometrics

3•0xnico•4h ago•0 comments

Ask HN: Who is using MCP in production?

192•sukit•4d ago•197 comments

Ask HN: Connecting Kubernetes dependencies to application telemetry

5•chipfixer•20h ago•0 comments

Ask HN: UK Rescue Rocket Sheds/Houses Information

23•burnt-resistor•17h ago•6 comments

Ask HN: Resources to get good at soldering?

271•tosmatos•5d ago•164 comments

Ask HN: Any Software Engineers here who enjoy their AI-native dev workflow?

7•pkos98•23h ago•6 comments

Ask HN: (Why) Was the LLM breakthrough useful for images, audio, etc.?

3•rogerrogerr•20h ago•3 comments

Ask HN: Why were OpenAI, Claude, and Grok simultaneously down?

403•halcdev•3d ago•703 comments

Tell HN: Anthropic should make Claude the Author and me the Co-Author

5•xeonax•8h ago•3 comments

Ask HN: Looking for an old submission about sneering culture

5•annex-winged-cr•9h ago•2 comments

Ask HN: What are other "uncrackable benchmarks"?

3•Nail2680•9h ago•1 comments

Ask HN: How safe are our password managers in face of LLM cyber attacks?

3•muddi900•19h ago•0 comments

Ask HN: Perplexity Pro vs. Claude – what are you paying for?

2•daytonflyers•11h ago•2 comments

Ask HN: What is your biggest struggle while learning?

2•Cursed666•13h ago•1 comments

Tell HN: I want to see the same moon as you

15•UnderABlueMoon•2d ago•14 comments

Tell HN: Both recent GCP outages caused by fiber optic maintenance

19•fastest963•3d ago•1 comments

Ask HN: Why don't we bring back old school OkCupid?

38•firefax•1d ago•65 comments

Ask HN: What are you working on?

5•meerita•18h ago•10 comments

Ask HN: Model sycophancy benchmarks?

4•gradus_ad•19h ago•2 comments

Ask HN: Are others seeing Google's reCAPTCHA rejecting Firefox users?

72•Animats•3d ago•24 comments

Ask HN: Are we normalizing surveillance in the name of safety?

4•dennysora-main•1d ago•2 comments

Astra still fails at creating acceptable Rotational Ambigram

3•das_vicky•1d ago•3 comments