You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[QUESTION] Bug or feature - "licensed under the" triggers OSL-3.0 rule #5347
KaTeX is licensed under the [MIT License](https://opensource.org/licenses/MIT).
The three words "licensed under the" trigger the osl.3.0_54.RULE, according to CD's API response
"license_detections": [
{
"license_expression": "osl-3.0 AND mit",
"license_expression_spdx": "OSL-3.0 AND MIT",
"matches": [
{
"license_expression": "osl-3.0",
"license_expression_spdx": "OSL-3.0",
"from_file": "cd--1-2FprPcto73nv/package/dist/README.md",
"start_line": 123,
"end_line": 125,
"matcher": "3-seq",
"score": 52.94,
"matched_length": 9,
"match_coverage": 52.94,
"rule_relevance": 100,
"rule_identifier": "osl-3.0_54.RULE",
"rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/osl-3.0_54.RULE",
"matched_text": "## License\n\nKaTeX is licensed under the [MIT License](https://opensource.org/licenses/MIT).",
"matched_text_diagnostics": "License\n\n[KaTeX] [is] licensed under the [[MIT] License](https://opensource.org/licenses/"
}
Question: Is this intended? I mean, "licensed under the" is a very generic statement. Would every component which states that it is "licensed under the <enter_name_of_license_here>" trigger this OSL-3.0 rule?
Similar example:
"the full text of the license" triggers osl-3.0_26.RULE, for the aws-sdk-go-v2
// The layer's software license. It can be any of the following://// - An [SPDX license identifier]. For example, MIT .//// - The URL of a license hosted on the internet. For example,// https://opensource.org/licenses/MIT .//// - The full text of the license.//// [SPDX license identifier]: https://spdx.org/licenses/LicenseInfo*string
# This software is licensed under the Open Software License version
# 3.0. The full text of this license can be found in https://opensource.org/licenses/OSL-3.0
# or in the file LICENSE which is distributed along with the software.
Activity
Anurag-S1ngh commentedon Oct 25, 2026
Hi, I'd like to take this issue. Could you assign it to me?