:mag: ScanCode detects licenses, copyrights, dependencies by "scanning code" ... to discover and inventory open source and third-party packages used in your code. Sponsored by NLnet project https://nlnet.nl/project/vulnerabilitydatabase, the Google Summer of Code, Azure credits, nexB and others generous sponsors!
When running the current version of scancode-toolkit on https://www.npmjs.com/package/node-forge, it will report a declared license expression in the summary of (bsd-new AND gpl-2.0 AND gpl-1.0-plus) AND (bsd-new AND gpl-2.0). The inclusion of gpl-1.0-plus here is wrong.
I believe this is due to a lax text matching in the gpl-1.0-plus_351.RULE. The LICENSE file of node-forge includes a preamble by the package author explaining the licenses:
...
If the GPL suits your project better you are also free to use Forge under
that license.
…
From the ScanCode result, it appears that it's simply matching on "the GPL" in the above sentence which triggers this license detection:
Description
When running the current version of
scancode-toolkit
on https://www.npmjs.com/package/node-forge, it will report a declared license expression in the summary of(bsd-new AND gpl-2.0 AND gpl-1.0-plus) AND (bsd-new AND gpl-2.0)
. The inclusion ofgpl-1.0-plus
here is wrong.I believe this is due to a lax text matching in the
gpl-1.0-plus_351.RULE
. TheLICENSE
file ofnode-forge
includes a preamble by the package author explaining the licenses:From the ScanCode result, it appears that it's simply matching on "the GPL" in the above sentence which triggers this license detection:
Perhaps the required matched text needs to be expanded?