The problem is they were able to get access. Malaysia has a North Korean embassy.
The victim was supposedly more open to developing N. Korea along Chinese lines —ie, more capitalism, less isolation.
China apparently favored him for the succession instead of the current NK leader.
There may or may not have been a coup in the works, which
had him waiting in the wings; but that is all speculation.