Section 503A of the federal Food, Drug, and Cosmetic Act allows a state-licensed pharmacy or physician to compound a drug for a specific patient based on an individual prescription. These preparations are exempt from the FDA approval process, so the FDA does not review them for safety and effectiveness. They are also exempt from the current good manufacturing practice (CGMP) rules that approved drugs must be made under.
Because oversight is lighter and quality depends heavily on the individual pharmacy, the strength, purity, and sterility of a 503A product can vary. This is a common route for compounded GLP-1 medications, and it is worth discussing the source and its risks with a prescriber before use.
The FDA's overview of compounding law (external link) sets out these 503A exemptions and the patient-specific prescription requirement.