Here is a list of some of the more well-known third party programs that Riot has commented as to whether they are allowed or not. It is by no means an all-inclusive list, as programs are being developed and changed all the time that can interact with the game, and could be added to the list. I am not personally familiar with Haste or Razor Cortex, so I cannot say for sure whether they are allowed or not.
Basically, if a program interacts with and/or changes the League software in any way, it is potentially considered a malicious third party program. Just to give an example, when Curse Voice first came out, it included timers for the ultimates for your teammates. It was decided that having that information displayed was an unfair advantage for the players who used Curse versus those who did not, so it was considered an illegal program until Curse modified their program to remove those timers.
Perhaps one of the other guys will know a bit more about those two programs to let you know if there is anything about them that would trigger the system.