onCommand sanatize #201
Labels
bug
Script side bug that should be fixable
help wanted
Help wanted with a bug/feature, may require some degree of knowledge in order to finish it
Example: "shop made item" onCommand often accept any string from params (
string name = params.read_string();
), this can (and has) be exploited to spawn any item using 3rd party tools.Solution:
Shop cmd should check to see if the user has actually paid for the item
Depending on the shop, have a list of 'allowed' blobs
Should log (with tcpr) who's spawned what blob with shop cmd
The text was updated successfully, but these errors were encountered: