Skip to content

App Security Score inconsistencies #1940

@Prehistoic

Description

@Prehistoic

ENVIRONMENT

OS and Version: all
Python Version: all
MobSF Version: 3.5.0

EXPLANATION OF THE ISSUE

I'm noticing some inconsistencies in security scores since the release of 3.5.0.

I ran a static analysis on 2 applications and got these results :
image
image

With this new security_score formula
image
the security scores obtained are 39/100 and 36/100. So basically the first one which has way more findings receives a better score ?

I understand the intention to ponder the score based on the ratio of the findings' criticities but that case seems to be a bit extreme.

EDIT :

Another example that shows the pitfalls of this formula :

  • if I got just 1 HIGH it means that my security score is 100 - (1 + 0 - 0) * 100 = 100 - 1 * 100 = 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    investigatingMobSF collaborators are investigating this issuestatic analyzerStatic Analyzer related

    Type

    No type

    Projects

    Status

    To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions