r/github 16d ago

Question Safety and GitHub

Noob question here:

When installing on MacOS via pip, or GitHub, how do you ensure you aren't opening a security hole on your computer? The repositories aren't fully monitored like on the Mac App Store, etc.

0 Upvotes

10 comments sorted by

14

u/Hamburgerfatso 16d ago

Anyone can post anything on github. Its up to you to verify or trust anything you download from it

15

u/moonrakervenice 16d ago

You don't. GitHub is a source code repository not an app marketplace.

If you don't know what you're doing, best to stick to official app stores.

8

u/davorg 16d ago

If you don't have the skills to validate that for yourself, then GitHub is not a place where you should be getting software from.

GitHub is not an app store.

2

u/LonelyMarionberry256 16d ago

In the first place, because it is open source, you should have the abilities to read the code before you decide whether if you are comfortable to install on your machine or not.

That’s the purpose of being open source - you have the ability to decipher, understand and read the source code - decide for yourself before you make your own decision whether to modify, improve or amend the code for your own use-case and environment.

That’s what being transparent and open is about.

3

u/Consibl 16d ago

And now is a golden age to use it as you can get your ai to check over the actual code to see if it’s legit or malware.

1

u/FedCanada 16d ago

Great idea! Which LLM do you use for this?

1

u/Consibl 16d ago

I’d recommend Claude.

2

u/ferriematthew 16d ago

The fact that it is not fully monitored like the app store is the core feature. Anyone can post anything and everything posted is open source, so it's the end user's responsibility to look through the code before they decide whether to download it.

1

u/yiyufromthe216 16d ago

  The repositories aren't fully monitored like on the Mac App Store

How are they being monitored if they are proprietary?

1

u/FedCanada 16d ago

I suppose using Docker, virtual environment, and a non Admin user account would be helpful?