Controlled publication of an efficient factoring algorithm?
You can prove that you have the algorithm without publishing it by publishing the factorization of a large number of well known test cases. Then people have time to adapt to a possible threat. If you are afraid of the government or the mafia, there is a sufficient number of ways to publish the algorithm at a preset date in the future, from cron jobs to hidden messages to good old notaries.