This article describes a problem with a particular online software hub:
The download-hosting site retreated after public outcry, removing the junkware it inserted into downloads of the popular GIMP image editing tool without the developers’ permission.
In this case it was "public outcry" that caused this behaviour to stop. Are there any open source licences that preclude such behaviour? Is there a way of licensing that prevents legally adding junkware to software and then offering it for download?
Does this depend on whether it is claimed to be the original software, and whether it uses any protected trademarks?