frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

How worried should I be about running LLM code on my machine?

1•scoofy•1h ago
Look, I'll be honest about being an AI skeptic generally, but I recently thought I'd give LLM assisted development a try and it's been wildly successful for me. On the project I've been working on, it feels like I've gotten multiple months worth of work done in a week. Most of that time would have been spent researching some statistical methods for doing things, and it's much quicker to verify a method as being accurate, than it is to find one that works and learn how to create an implementation.

However, this has still had me running code in my computer that is, to say the least, dubious. I'm using Google Gemini Pro, and while I keep asking the LLM to only give me chunks of code that it's changing, it keeps asking me to just replace, say, the main.py file completely. This has me genuinely concern about running arbitrary code on my machine, intentionally or just due to laziness.

My question here is (1) how much of a risk am I taking on running this kind of code when it's not at all related to my internal filesystem, (2) what are mitigation strategies I can take to protect myself beyond regular backups short of just doing everything in, say multipass or UTM, and (3) if I need to run a virtual machine for everything, which is the easiest to run for moving back and forth between normal use on a mac?

Really appreciate any advice here. I'm mostly a hobbyist programmer, even if I've been developing stuff in Python for a decade and a half a this point.

Comments

dpforesi•1h ago
I am a professional LLM code tester. I cannot say much more due to my NDA, but if you are very concerned I would run it in a docker container at the very least. That being said, I highly suggest reviewing the code carefully before running it. Even a look at say python imports might tell you what the code can potentially do if you see it importing the os module. I've run advanced code agents in vs code using their unrestricted access settings while in a docker container. At first it was scary, then I started using that time to refill my coffee. My computer is still running fine.
scoofy•1h ago
Looking at the imports is very good advice, thanks.
forgotpwd16•1h ago
There's a risk but imo think there's some overreaction. Plus should keep backups anyway. Have had few disks failing on me that fear to have any important data with single copy. If want to be on the safe side though: Create container/VM. Do agentic work inside. Git commit/push outside often/every-step.

Failed Startup Ideas to Steal

https://loot-drop.vercel.app/
1•nreece•4m ago•0 comments

Nissan's Response (?) To My Leaf Home Screen Widget

https://kevintechnology.com/posts/leaf-widget-response/
2•kcon•4m ago•2 comments

Aim-style interviews with early internet technologists

https://aiminterviews.com
2•sachinkesiraju•6m ago•0 comments

Attitude, Belief, Skill: A Hiring Priority Stack

https://inferal.com/blog/abs-hiring-framework/
1•gpi•6m ago•0 comments

We replaced our sales team with 20 AI agents

https://www.lennysnewsletter.com/p/we-replaced-our-sales-team-with-20-ai-agents
2•rebarbant•11m ago•1 comments

Unix v4 program found cleaning out an office at the University of Utah [video]

https://www.youtube.com/watch?v=m-3RJaKcw_4
2•alamortsubite•12m ago•0 comments

Intricuit Magic Screen Turns Any MacBook into a Touchscreen

https://techfusiondaily.com/intricuit-magic-screen-macbook-touchscreen-ces-2026/
1•dayli•17m ago•0 comments

Sony Xperia 1 IV and Xperia 5 IV gain LineageOS 23.0 support

https://9to5google.com/2026/01/19/sony-xperia-1-iv-and-xperia-5-iv-gain-lineageos-23-0-support/
1•thunderbong•20m ago•0 comments

GLM-4.7-Flash: 30B MoE model achieves 59.2% on SWE-bench, runs on 24GB GPUs

https://curateclick.com/blog/2025-glm-flash-4-7-guide
1•czmilo•25m ago•1 comments

AInxiety

https://pcmaffey.com/ainxiety-1/
2•pcmaffey•30m ago•0 comments

Legal Structures for Latin American Startups (2021)

https://latamlist.com/legal-structures-for-latin-american-startups/
2•walterbell•30m ago•0 comments

GitHub Actions: Share build artifacts across independent jobs

https://www.thinkmill.com.au/blog/faster-ci-pipelines-share-build-artifacts-across-independent-jobs
1•flexdinesh•31m ago•0 comments

Show HN: LeetDreamer: AI-hallucinated LeetCode solution videos

https://github.com/joshribakoff/leetdreamer
1•joshribakoff•33m ago•0 comments

Designing 'One Hundred and One Dalmatians'

https://animationobsessive.substack.com/p/designing-one-hundred-and-one-dalmatians
1•ani_obsessive•35m ago•0 comments

Cronos Browser – Local AI, decentralized pool mode, and zero telemetry

https://cronos.avalw.com/
1•CronosBrowser•36m ago•1 comments

Cursedcraft, a software rendered voxel sandbox for the TTY

https://codeberg.org/mueller_minki/cursedcraft/
1•minki_the_avali•38m ago•1 comments

Gene therapy advances as scientists guide jumping DNA to target faulty genes

https://medicalxpress.com/news/2025-12-gene-therapy-advances-scientists-dna.html
4•PaulHoule•43m ago•0 comments

Veronika, the Tool-Using Cow

https://arstechnica.com/science/2026/01/meet-veronika-the-tool-using-cow/
3•nxobject•47m ago•1 comments

Nova Launcher Added Facebook and Google Ads Tracking

https://lemdro.id/post/lemdro.id/35049920
1•celsoazevedo•48m ago•1 comments

Show RLM Analyzer–AI code analysis using recursive LLMs(MIT CSAIL research)

https://npmjs.com/package/rlm-analyzer
1•zendizmo•48m ago•1 comments

Porsche Sold More Electrified Cars in Europe in 2025 Than Pure Gas-Powered Cars

https://newsroom.porsche.com/en/2026/company/porsche-deliveries-2025-41516.html
42•m463•50m ago•15 comments

Show HN: Prompt Reboot – a tool to surface failure modes in your prompt

https://www.promptreboot.com/
1•cedarscarlett•52m ago•0 comments

LinkedIn Causing 7000 Requests/Second? CPU Spike Across Fresh Systems

https://www.youtube.com/watch?v=24wNHf9JyMY
1•praveenscience•54m ago•0 comments

Harvard legal scholars debate the state of the U.S. constitution

https://www.harvardmagazine.com/social-sciences/is-the-constitution-broken
24•KnuthIsGod•56m ago•31 comments

How Much Is Eight Dollars?

https://defector.com/how-much-is-eight-dollars
3•MaysonL•59m ago•0 comments

The creator of Node.js says the era of writing code is over

https://jpcaparas.medium.com/the-creator-of-node-js-says-the-era-of-writing-code-is-over-8320c868...
4•CharlesW•1h ago•2 comments

Uber, often sued over car crashes, pushes for law to limit lawyer fees

https://www.latimes.com/california/story/2026-01-17/uber-personal-injury-lawsuits-california-law
7•sizzle•1h ago•1 comments

F5 tackles AI security with new platform extensions

https://www.networkworld.com/article/4118696/f5-tackles-ai-security-with-new-platform-extensions....
1•ohjeez•1h ago•0 comments

Uber Pushes to Cap Personal Injury “Billboard” Lawyer Payouts A.G. 25-0022 [pdf]

https://oag.ca.gov/system/files/initiatives/pdfs/25-0022A1%20%28Self%20Dealing%20Attorneys%29.pdf
5•sizzle•1h ago•0 comments

Austrian cow shows first case of flexible, multi-purpose tool use in cattle

https://www.amazon.com/IASEAHK-Cushions-Dining-Chairs-Kitchen/dp/B0DJCT6H9D/ref=sr_1_9?dib=eyJ2Ij...
2•bookmtn•1h ago•0 comments