Security concerns with cache_get() and cache_set()
currently there are no known  bugs which would cause any security issue using cache_set and cache_get. You can put any values there
both key and value are escaped. 
for example you can try this key '; drop table abr;--'
and it will be saved without any issues