Safe Software Dissemination in Distributed Application Marketplaces