If current_time > x invoke deper,older code that you somehow trust
Alternatively, more modern implementation suggested by someone else in this thread
At every keystroke, invoke deeper older code that you somehow trust
While not impossible, pretty hard to slip a bug into something like that and if it happens it gets identified,reported and fixed like all bugs. Users tend to be quite vocal about data loss.
Also some software developers tend to overcomplicate things, this is not rocket science