Can you change cryptographic primitives used there? As using ECB in the real world is, not the brightest idea. In general there is everything wrong with that encryption:
DES is old and unsafe cipher that shouldn’t be used anymore
ECB is the worst mode possible
There is no authentication of the data, so it is not tamper-proof
About the issue, it seems like there is bug in crypto library from OTP.