In the Developer options on your Xiaomi, do you see anything about the USB options, like installing and monitoring apps installed by USB.
I presume you've got Developer options enabled, because that's off by default.
This is something I've never done or seen myself, so I'm only going by what that Security notification states.