Crossing Border? We Check Your Internals