{
"key": "mit",
"score": 88.83,
"name": "MIT License",
"short_name": "MIT License",
"category": "Permissive",
"is_exception": false,
"owner": "MIT",
"homepage_url": "http://opensource.org/licenses/mit-license.php",
"text_url": "http://opensource.org/licenses/mit-license.php",
"reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:mit",
"spdx_license_key": "MIT",
"spdx_url": "https://spdx.org/licenses/MIT",
"start_line": 1,
"end_line": 24,
"matched_rule": {
"identifier": "mit_160.RULE",
"license_expression": "mit",
"licenses": [
"mit"
],
"is_license_text": true,
"is_license_notice": false,
"is_license_reference": false,
"is_license_tag": false
}
}
When running a scan on ExpressJS v 4.16.3 (from: https://registry.npmjs.org/express/-/express-4.16.3.tgz), the top level LICENSE file is certainly
mit, yet has a score < 90.You can find the text here: https://raw.githubusercontent.com/expressjs/express/master/LICENSE
The resulting license detection is:
Because of the low score (< 90) this is classified as a
has_top_level_declared_licenses": falsefor clarity scoring metric; Perhaps this is working as intended if the LICENSE file in question is far enough from the canonical MIT license text, but IMO it is pretty identical.