machinating

verb
  1. plotting or scheming, especially to do something harmful or illegal
  2. Usage: present participle of machinate; formal

Examples