Many of the threats to a carrier aren’t nation states with a constellation of satellites.
Everyone who's a threat to the carrier can get that from an ally.
You can damage or sink an ordinary ship with a bombing, like what happened to the USS Cole, but a carrier will have a fleet escorting them.
You can buy satellite imaging.
Operationally, navies with carriers assume that opponents know where they are.