Summary
@cartesi/rollup ships libcmt's C sources in its npm tarball and compiles them into the addon, but its files array pulls in include/** and src/** only — not the submodule's LICENSE.
Evidence
packages/rollup/package.json:
"files": [
"binding.gyp",
"dist/**",
"native/addon.cc",
"prebuilds/**",
"deps/machine-guest-tools/sys-utils/libcmt/include/**",
"deps/machine-guest-tools/sys-utils/libcmt/src/**"
]
Upstream cartesi/machine-guest-tools is Apache-2.0 (verified against its LICENSE).
Why it matters
Apache-2.0 §4(a)/(d) asks a redistributor to include the licence and propagate any NOTICE with the derivative work. This is Cartesi-owned code, so there is no outside rights-holder to answer to — but the missing notice is visible to everyone who unpacks the tarball, and it is exactly the sort of thing an auditor's diligence review flags.
Acceptance criteria
Files likely touched
packages/rollup/package.json
packages/rollup/README.md
Summary
@cartesi/rollupships libcmt's C sources in its npm tarball and compiles them into the addon, but itsfilesarray pulls ininclude/**andsrc/**only — not the submodule'sLICENSE.Evidence
packages/rollup/package.json:Upstream
cartesi/machine-guest-toolsis Apache-2.0 (verified against itsLICENSE).Why it matters
Apache-2.0 §4(a)/(d) asks a redistributor to include the licence and propagate any NOTICE with the derivative work. This is Cartesi-owned code, so there is no outside rights-holder to answer to — but the missing notice is visible to everyone who unpacks the tarball, and it is exactly the sort of thing an auditor's diligence review flags.
Acceptance criteria
deps/machine-guest-tools/LICENSE(andNOTICEif present) topackages/rollup'sfilespackages/rollup/README.mdnpm pack --dry-runthat the licence file is present in the tarballFiles likely touched
packages/rollup/package.jsonpackages/rollup/README.md