A patent can be challenged in court. Newegg has had a couple of loud victories over this, and in some cases have challenged the validity of the patent, basically asking the court to review whether the original patent that is at the crux of the case should have been issued in the first place.
If the patent, on review in court, fails the originality, novelty, or lack of prior art review, the patent can be dissolved.
A patent filed on a prompt would most likely fail the novelty/prior art review phase of the patent application, so the only way a patent could succeed being granted in the first place would be through extreme secrecy and probably bribery of a patent agent to push the patent through.
If the patent, on review in court, fails the originality, novelty, or lack of prior art review, the patent can be dissolved.
https://www.retaildive.com/news/newegg-the-bane-of-patent-tr...
https://www.newegg.com/insider/newegg-vs-patent-trolls-when-...
A patent filed on a prompt would most likely fail the novelty/prior art review phase of the patent application, so the only way a patent could succeed being granted in the first place would be through extreme secrecy and probably bribery of a patent agent to push the patent through.