mitigating platform risk foundation models