Sugar with vegetable oil safe?
I don't see a safety risk.  Oil can go rancid.  That is a quality issue, rather than a safety issue.  Moist sugar could potentially mold, I suppose.  If you see mold forming I would discard.  Otherwise, this seems like a low risk situation to me.