Check OpenTofu provider-cache symlinks before running init
An infrastructure repository can look harmless because every .tf file came from version control. That is not the whole execution boundary for tofu init. Before OpenTofu downloads a provider, it examines the local data directory, which is normally .terraform under the root module. If that directory arrived with an untrusted archive, a copied workspace, or a stale CI directory, an existing symlink can redirect writes away from the module tree.