目录

JSVM-API Secure Shield Mode

The Secure Shield mode is a system-level security protection solution designed for users with high security requirements. This mode strictly restricts functionalities to significantly enhance system security and effectively defend against threats through the remote attack surface. In Secure Shield mode, the functionalities of JSVM are restricted. You need to evaluate the application availability in Secure Shield mode.

Enabling Secure Shield Mode

To enable Secure Shield mode, perform the following steps:

  1. Go to system settings on your phone.

  2. Tap Privacy and security.

  3. Tap Secure Shield mode and enable it.

Functionality Restrictions in Secure Shield Mode

To reduce the risk of JSVM attacks, Secure Shield mode will implement the following key security restrictions:

Application Compatibility Evaluation

When running an application in Secure Shield mode, you are advised to perform the following compatibility checks:

  1. JavaScript performance evaluation:

    • Test the running efficiency of the app in the restricted environment.

    • Optimize possible performance bottlenecks.

  2. WebAssembly compatibility check:

    • Static code analysis: Check the WebAssembly API calls in the project and the Wasm dependency of the third-party library.

    • Runtime verification: Perform full-functionality tests in Secure Shield mode.