Are you sure about that? This sounds pretty clear as day that sending source code to embargoed countries is illegal:
https://www.ecfr.gov/cgi-bin/text-idx?mc=true&node=pt15.2.73...
> (6) General Prohibition Six—Export or reexport to embargoed destinations (Embargo). (i) You may not, without a license or License Exception authorized under part 746, export or reexport any item subject to the EAR to a country that is embargoed by the United States or otherwise made subject to controls as both are described at part 746 of the EAR.
https://www.ecfr.gov/cgi-bin/text-idx?mc=true&node=pt15.2.73...
> (a) Except as set forth in §734.17 or §734.18, Export means:
> (1) An actual shipment or transmission out of the United States, including the sending or taking of an item out of the United States, in any manner;
> (2) Releasing or otherwise transferring “technology” or source code (but not object code) to a foreign person in the United States (a “deemed export”);