Skip to content

Local LLM Privacy + Safety?

How do we know that the AI will be private even when run locally?

  1. What safeguards exist for it not to do things when it isn't prompted?
  2. Or secretly encode information to share with an external actor? (Shared immediately or cached for future data collection)
2 points14 comments
Open on Reddit
About this post
Posted
Archived
Score
2 · 67% up
Kind
Text
ID
1ibi3ra

Author

1
posts
6
comments
0
media
View profile

16 comments

If you're paranoid. Run it on an airgapped system. If you're less paranoid, check outbound connections on your machine. 

5 points

Are there any security audits on LLMs? How can we know if they aren't doing something nefarious without telling us?

0 points

I understand you'd be a little concerned about potential vulnerabilities, which is smart. The nice thing is a lot of this software is open source and the code can be audited yourself. 

I'm a random person on the internet so don't trust me, but I've audited external connections while running LLMs locally (using ollama, and llama.cpp proper), and I've found that none of them connect to any external servers except when pulling the model files down from the internet.

Verifying the checksums of these model files also confirms they're legit.

I'd be far more concerned about the privacy implications of using OpenAI's stuff than running an LLM locally.

1 points
Jesus359Deleted · saved before deletion

If anything is transferred, it will need to talk to another endpoint somewhere; through the internet. Spin a wireshark instance and watch for traffic. I really doubt packets can escape or be hidden well in that much detail.

Worst comes to worst, fully local means no internet. Get a switch, some routers and make your own wifi without internet and connect to that to wherever that LLM is hosted to talk to it. Even if there was some code executing somewhere, it’ll hit a brick wall.

1 points

Replace "AI" with literally any other tool or library and the problem remains the same.

2 points

Good point. But I've never had another intelligent entity that could think for itself. I've used mostly "dumb" services that couldn't develop new ways to steal information or be nefarious. It's a different attack vector.

1 points
InTheFuckingShadowRemoved · saved before deletion

No need for local LLM, use a secure and private AI in Switzerland. Bank secrecy level protection on your data, special for SMEs that don’t want to have in local : Schatzi AI

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.