Qt-Security-QMqttClientSetPasswordΒΆ

Check QMqttClient::setPassword

Required inputs: IR

The QMqttClient::setPassword() method can be used by developers to set a password for the MQTT client. This rule flags all calls to this method that rely on hardcoded credentials. Hardcoded credentials pose a security risk and should be avoided as they can be easily extracted from the binary. Using such hardcoded secrets is always an indicator that there is a fundamental security issue in the design of the application.

Possible Messages

Key

Text

Severity

Disabled

static_password

The method {} is called with a static password.

None

False

Options