frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Do you sanitize secrets before pasting code into ChatGPT?

2•giovanella•1h ago
I use AI assistants (ChatGPT/Claude) heavily for debugging, but realized I'm constantly pasting code that contains API keys, database credentials, and customer emails.

I try to manually redact them but honestly forget half the time.

Questions: - Is this actually a security risk? - How do you handle this in your workflow? - Would you use a tool that auto-sanitizes your clipboard?

Trying to figure out if this is a real problem or just me being paranoid.

Comments

namegulf•1h ago
Rule of thumb: Do not enter anything that is proprietary into that prompt text box!

Yes that includes credentials.

minimaxir•1h ago
If you are using the free web interface, yes, it’s a security issue as inputs there are trained upon.

APIs, less so.

throw03172019•58m ago
Big risk. Especially if you have memory enabled or have not toggled off the “ok to train on my data” toggle.
NetworkPerson•57m ago
If you shared the chat at any point, it can be discovered by others. ChatGPT has also had at least one bug in the past where users were able to see the chats of others. So yeah, even if paid or over API, it’s not a good idea to trust it with sensitive information.

The chemical attack that forced the Northern line's extraordinary repair

https://www.ianvisits.co.uk/articles/the-hidden-chemical-attack-that-forced-the-northern-lines-ex...
1•zeristor•2m ago•0 comments

Meta Execs Privately Compared Instagram to Addictive Drug, Court Filing Shows

https://www.nationalreview.com/news/meta-researchers-privately-compared-instagram-to-addictive-dr...
2•fortran77•2m ago•1 comments

After nearly 100 years, scientists may have detected dark matter

https://www.u-tokyo.ac.jp/focus/en/press/z0508_00433.html
1•geox•3m ago•0 comments

AI Agent that automates biotech experiments

https://twitter.com/liuwilliam47/status/1993474101152039032
1•WilliXL•5m ago•0 comments

Inside the DOGE Succession Drama Elon Musk Left Behind

https://www.politico.com/news/magazine/2025/11/21/doge-elon-musk-succession-00641110
2•tastyface•5m ago•1 comments

CS234: Reinforcement Learning Winter 2025

https://web.stanford.edu/class/cs234/
1•jonbaer•9m ago•0 comments

Doge May Be Dead, but Its Crimes Live On

https://newrepublic.com/article/203638/doge-dead-rest-in-piss
5•doener•9m ago•0 comments

NJ company is allowed to import cocaine plants (2023)

https://nj1015.com/this-nj-company-is-allowed-to-import-cocaine-plants/
1•raw_anon_1111•10m ago•0 comments

Brand New Layouts with CSS Subgrid

https://www.joshwcomeau.com/css/subgrid/
1•soheilpro•10m ago•1 comments

Show HN: Tripnly Lisboa City Pass – 5 Days for 1€

https://lisboacitypass.tripnly.com
2•alper_aydin•11m ago•0 comments

What Now? Handling Errors in Large Systems

https://brooker.co.za/blog/2025/11/20/what-now
1•thundergolfer•11m ago•0 comments

An Incomplete List of Eminent Psychologists of the Modern Era (2014)

https://psycnet.apa.org/fulltext/2014-35304-001.html
1•Sir_Twist•12m ago•0 comments

I Got Working RCS Messaging

https://wt.gd/working-rcs-messaging
4•joecool1029•18m ago•0 comments

Secrets in unlisted GitHub gists are now reported to secret scanning partners

https://github.blog/changelog/2025-11-25-secrets-in-unlisted-github-gists-are-now-reported-to-sec...
1•PieUser•19m ago•0 comments

Mass Surveillance Is Powering a New Era of Pretextual Traffic Stops

https://reason.com/2025/11/24/mass-surveillance-is-powering-a-new-era-of-pretextual-traffic-stops/
3•pseudolus•20m ago•0 comments

Ask HN: How does one move from BigTech to more fullfilling places?

3•conqrr•23m ago•1 comments

Looking to build muscle? Lose weight? Need more protein, right? Probably not

https://news.harvard.edu/gazette/story/2025/11/looking-to-build-muscle-lose-weight-need-more-prot...
2•gnabgib•26m ago•0 comments

Tell HN: Karpathy's MinGPT Works on Windows and AMD (Ryzen Max)

1•lostmsu•27m ago•0 comments

Show HN: Parm – Install GitHub releases just like your favorite package manager

https://github.com/yhoundz/parm
1•houndz•28m ago•0 comments

The gruesome new data on tech jobs

https://www.businessinsider.com/gruesome-tech-jobs-data-scientists-analytics-indeed-2025-11
10•pseudolus•28m ago•1 comments

Brain changes observed during pregnancy (2024)

https://www.nih.gov/news-events/nih-research-matters/brain-changes-observed-during-pregnancy
1•thunderbong•32m ago•0 comments

Learn to code music in the browser with strudel.cc (Free and open-source)

https://terryds.notion.site/Learning-Music-with-Strudel-2ac98431b24180deb890cc7de667ea92
1•terryds•33m ago•0 comments

Dear Peter (Thiel)

https://andys.blog/dear-peter/
1•andytratt•39m ago•2 comments

Daily coffee drinking may slow bio aging of people with major mental illness

https://medicalxpress.com/news/2025-11-daily-coffee-biological-aging-people.html
4•bikenaga•39m ago•1 comments

Unix man pages: AI-friendly documentation since 1971

https://www.nutrient.io/blog/unix-man-pages-ai-friendly-documentation/
2•ingvarr•41m ago•0 comments

Meta had a 17-strike policy for sex trafficking, former safety leader claims

https://www.theverge.com/news/827658/meta-17-strike-policy-sex-trafficking-testimony-lawsuit
5•randycupertino•44m ago•0 comments

SF home invasion targets crypto of Physical Intelligence co-founder Lachy Groom

https://nypost.com/2025/11/25/us-news/sam-altmans-ex-boyfriends-san-francisco-home-targeted-in-cr...
4•pants2•45m ago•2 comments

Show HN: I Figured It Out

https://www.adama-platform.com/learn
2•mathgladiator•45m ago•0 comments

Show HN: Kubently – Debug Kubernetes Clusters Agentically

https://kubently.io/
1•drtydzzle•46m ago•0 comments

Show HN: I built a running coach that reacts to your training performance

https://strides.coach
1•garydevenay•47m ago•0 comments