A mechanism for determining a probabilistic security score for a software
package is provided. The mechanism calculates a raw numerical score that
is probabilistically linked to how many security vulnerabilities are
present in the source code. The score may then be used to assign a
security rating that can be used in either absolute form or comparative
form. The mechanism uses a source code analysis tool to determine a
number of critical vulnerabilities, a number of serious vulnerabilities,
and a number of inconsequential vulnerabilities. The mechanism may then
determine a score based on the numbers of vulnerabilities and the number
of lines of code.