Federal money always has lots of strings attached. The specific rules differ by the specific funding vehicle. The main vehicle is the Federal Acquisitions Regulation (FAR); you can review their rule here:
https://www.acquisition.gov/far/part-52
This is basically the US Federal Government’s standard Master Services Agreement (MSA).