SAST and Dependency Scanning failing due to missing binaries(?)

I’ve included the templates for Dependency Scanning and SAST in two of my projects (service.listenbrainz and LBScrobbler), however pipeline jobs for both projects error out with “not found” errors (for python2, python3, and apt-get).

Job logs and `.gitlab-ci.yml`s

I’m not sure whether this is something I should report as a bug with GitLab or if I need to fix something in the respective .gitlab-ci.yml files.

Is this on “my end” that there’s something I need to fix? Or do I need to report to GitLab?
If the latter, is there something I can do as a workaround in the meantime?