Marketplace names are escaped in errors so a hostile name can't inject text.
What's wrong with this entry?
When a marketplace fails to load or is not found, its name is escaped before being placed into the message, so a hostile name cannot inject text into what you see.
- Covers both the
Warning: Failed to load marketplace 'warning and theMarketplace "not-found error from/plugin. - Plugin install also passes a callback for the marketplace refresh outcome, so the result of a refresh can be reported back to the caller.
Warning: Failed to load marketplace ', Marketplace "
Strings lifted out of the shipped bundle, so the claim above can be checked against them.