Description of the issue
You can use https://github.com/actions/create-github-app-token to create an app installation token. Depending on the app, it can have broad permissions. Unfortunately, the action does not use permissions-none as default, but all the permissions of the app.
So CodeQL could warn when using this app without setting permissions.