Yes. Anki is open source, has been around since 2006, and is used by millions of people. Download it only from apps.ankiweb.net or the official app stores, and watch out for look-alike apps (see AnkiApp vs Anki).
Shared decks are data: cards, styles and media. They’re generally safe to import.
Add-ons are small programs that run on your computer, so treat them like any software: install popular, well-reviewed ones from AnkiWeb’s add-on list, and skip anything obscure that asks for a lot. See our short list.