The MAVLink communication protocol does not require cryptographic
authentication by default. When MAVLink 2.0 message signing is not
enabled, any message -- including SERIAL_CONTROL, which provides
interactive shell access -- can be sent by an unauthenticated party with
access to the MAVLink interface. PX4 provides MAVLink 2.0 message
signing as the cryptographic authentication mechanism for all MAVLink
communication. When signing is enabled, unsigned messages are rejected
at the protocol level.
PX4 recommends enabling MAVLink 2.0 message signing as the
authentication mechanism for all non‑USB communication links. PX4 has
published a security hardening guide for integrators and manufacturers
at
https://docs.px4.io/main/en/mavlink/security_hardening
Message signing configuration documentation can be found at
https://docs.px4.io/main/en/mavlink/message_signing