Skip to content

[BUG] Debug symbols stripped false positive #2502

@didix21

Description

@didix21

ENVIRONMENT

OS and Version: macOS Sequoia 15.3.1
Python Version: 3.12.9
MobSF Version: v4.3.0

EXPLANATION OF THE ISSUE

When running a static analysis using the Docker container (as recommended in the documentation), MobSF is reporting false positives for checking if debug symbols are stripped from binaries and dynamic libraries. Upon inspecting the source code at:

, the comment indicates that the check is intended for MacOS only. It is unclear whether this OS-specific behavior is clearly documented, and if not, it might be worth adding a note in the documentation.

Additionally, if the analyzed framework contains a symbol like:

Image

also reports a false positive. It appears that the code attempts to handle this scenario in a try-catch block (see

), but only in cases where an exception is thrown. Is this the expected behavior?

This can be reproduced in master also.

P.D: This issue is related to this: #1917 (comment).

Image

Metadata

Metadata

Assignees

Labels

investigatingMobSF collaborators are investigating this issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions