"random" ("not known or not identified") often refers to a person
Some random guy gave me a hundred bucks.
You don’t want some random dude telling you how to live your life.
Can "random" refer to a thing?
For example, "don't have random food and drink sold in the street" when we talk about "food" or "drink" that we don't know much its origin and whether it's safe or not.
Note: Food and drink sold in streets in some developing countries may not be safe and hygienic.