You raise an intresting point. Perhaps a new model for libre software would be useful, one that let you distribute customizable software whilst protecting the discoveries that make your work valuable. Black boxing certain parts of the code and publishing others.