Files
pruefwerk/docker/pruefwerk_mobsfscan.py
T
sharang a9ca31d60c
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Canceled after 0s
CI / Deploy Docs (push) Canceled after 0s
CI / Deploy Agent (push) Successful in 9m28s
feat(sast): Android and iOS app analysis with mobsfscan (#442)
2026-10-05 13:38:45 +00:00

19 lines
583 B
Python

"""Run mobsfscan without its default path ignores.
libsast skips every file whose path merely contains an ignored name, and
mobsfscan's defaults include 'spec' and 'fixtures', so a customer's code under
`inspection/` or `specs/` would silently go unscanned. Prüfwerk passes its own
ignores with `-c`, anchored as `/name/`. mobsfscan itself is used unchanged
(LGPL-3.0); this file only adjusts its settings before starting it.
"""
import sys
import mobsfscan.settings as settings
settings.IGNORE_PATHS.clear()
from mobsfscan.__main__ import main # noqa: E402
sys.exit(main())