I don't think of it as nepotism - if I know someone sucks from working with them, you better believe I'm making sure I warn everyone if I see them in the pipeline. It's not about pulling friends, it's about pulling people you know are good.
FWIW at the places I've worked, all a recommentation does is get you past the screening stage - people who are recommended still have to pass the same interview as everyone else.
Well yes, "trust" is the entire point of nepotism and why its a thing.
The idea is we place our guy in that spot so that a) our guy gets to reap the benefits of the cushy job we lined up for him. b) when conflict arises between our interests and the organizations we can count on our guy to do the thing we want.
The thing I am describing above is much more benign. It's literally HR asking people in the company if they know anyone they would like to refer and then taking the referrals seriously.
If you've worked for a few months on a team with a competent, decent and reliable person, you'll give this person a huge preference over someone unknown, even if on paper the unknown looks better.
You have two options:
A) Display you are trustworthy by having a consistent employment history and a degree (what it really proves is you showed up at a university for 4 years and crossed your Ts and dotted your Is).
B) Rely on personal connections that already know you are trustworthy or are willing to take a chance of you.
The third case is having a random person deciding to take a chance at you. Which feels the riskiest one of all for the person doing the hiring.