Insecure Features
Some insecure driver features are disabled by default. They can be enabled upon launching Appium as follows:
orFor other insecure feature names recognized by the Appium server, see their Appium docs reference page.
chromedriver_allow_any_executable¶
Allows running custom chromedriver/msedgedriver executables that are not limited to the
official binaries distributed by Google/Microsoft.
By default, the driver checks each executable against the SHA-256 checksums shipped with
appium-chromedriver.
- ChromeDriver: Checksums are recorded for each downloaded binary, including downloads made by
the
install-chromedriverscript. This allows the driver to run such binaries even before their checksums ship withappium-chromedriver. - Edge WebDriver: When the Chromium driver installs Edge WebDriver from Microsoft, it records the checksum of the freshly extracted executable. Subsequent sessions can reuse that build from the cache.
The same verification applies to executables supplied via appium:executable
or appium:executableDir. Running a binary with an unrecognized
checksum requires enabling this feature.
Warning
With this feature enabled, any client that is able to create a session can make the server run an arbitrary executable from the host file system. Only enable it if you trust all your clients.