Hey guys, just wondering if there are any tricks to keeping injected dlls safe?

Currently all im doing is reading from memory and emulating mouse clicks/movement (not writing to memory to shoot or aim). I've stayed away from endscene/dx atm so I dont have any esp/drawing. If i keep it simple and private like it is do you think it will stay safe?