rollup 5.0.0-1
- Source
- https://github.com/rollup/rollup
- Artifact scanned
rollup-5.0.0-1.tgz- Compared with
rollup-5.0.0-0.tgz(1 signals introduced since)- Files
- 28 scanned, 25 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 33 info
- Scan time
- 13.3 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 13 of 13 warn and critical signals; 13 demoted to info.
- Disclude version
- 4.3.0
- Scanned (UTC)
- 2026-10-23 23:48
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
dismissed Bundled ES import statement with many re-exported AST helper names.
Reasoning
A long import statement listing many named bindings from the bundled internal modules. This is ordinary minified or bundled output that the raw pass flags only on line length.
-
dismissed Markdown README line containing sponsor badge HTML links.
Reasoning
The flagged line is a long run of HTML anchor and image tags for sponsor avatars in a README. The raw long-line signal is a formatting artifact with no execution or obfuscation.
-
/* @license Rollup.js v5.0.0-1 Sun, 18 Oct 2026 06:06:25 GMT - commit ed75a6895d5bc62fdbff91b9d48e22e6e281e3bc -
.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('bin/rollup', document.baseURI).href))) : undefined;likely benign Bundled CLI shim that builds a file URL for createRequire from __filename or the document base URI.Reasoning
This is the standard ESM-to-CJS shim that resolves the module's own path via require('url').pathToFileURL(__filename) or document.baseURI for createRequire. Splitting 'url' into 'u'+'rl' is an unusual choice that could hide the module name from bundlers, but it appears in rollup's own generated bin and only computes a file URL locally, with no network or exec.
-
/* @license Rollup.js v5.0.0-1 Sun, 18 Oct 2026 06:06:25 GMT - commit ed75a6895d5bc62fdbff91b9d48e22e6e281e3bc -
/* @license Rollup.js v5.0.0-1 Sun, 18 Oct 2026 06:06:25 GMT - commit ed75a6895d5bc62fdbff91b9d48e22e6e281e3bc -
/* @license Rollup.js v5.0.0-1 Sun, 18 Oct 2026 06:06:25 GMT - commit ed75a6895d5bc62fdbff91b9d48e22e6e281e3bc -
/* @license Rollup.js v5.0.0-1 Sun, 18 Oct 2026 06:06:25 GMT - commit ed75a6895d5bc62fdbff91b9d48e22e6e281e3bc -
}; -
/* @license Rollup.js v5.0.0-1 Sun, 18 Oct 2026 06:06:25 GMT - commit ed75a6895d5bc62fdbff91b9d48e22e6e281e3bc -
const ADDON_ERROR = 'ADDON_ERROR', ALREADY_CLOSED = 'ALREADY_CLOSED', AMBIGUOUS_EXTERNAL_NAMESPACES = 'AMBIGUOUS_EXTERNAL_NAMESPACES', AMBIGUOUS_GLOBAL_NAME = 'AMBIGUOUS_GLOBAL_NAME', ANONYMOUS_PLUGIN_CACHE = 'ANONYMOUS_PLUGIN_CACHE', ASSET_NOT_FINALISED = 'ASSET_NOT_FINALISED', ASSET_NOT_FOUND = 'ASSET_NOT_FOUND', ASSdismissed Long line defining rollup error code string constants.Reasoning
A long const declaration of string constants for rollup error codes. This is a generated constant table, and the flag comes from line length alone.
-
dismissed Long export statement re-exporting AST helpers from a bundled module.
Reasoning
A long export list of AST node names and helpers in a bundled module. It is routine bundler output with no hidden behavior.
-
/* @license Rollup.js v5.0.0-1 Sun, 18 Oct 2026 06:06:25 GMT - commit ed75a6895d5bc62fdbff91b9d48e22e6e281e3bc -
/* @license Rollup.js v5.0.0-1 Sun, 18 Oct 2026 06:06:25 GMT - commit ed75a6895d5bc62fdbff91b9d48e22e6e281e3bc -
/* @license Rollup.js v5.0.0-1 Sun, 18 Oct 2026 06:06:25 GMT - commit ed75a6895d5bc62fdbff91b9d48e22e6e281e3bc -
likely benign Dynamic require of a native module id inside a try/catch fallback loader.
Reasoning
This is a try/catch wrapper around require(id) in the native-module loader, which loads a package of Rollup's own native bindings and falls back when the load fails. The dynamic id is expected in this loader pattern and nothing in the snippet is malicious.
-
/* @license Rollup.js v5.0.0-1 Sun, 18 Oct 2026 06:06:25 GMT - commit ed75a6895d5bc62fdbff91b9d48e22e6e281e3bc -
/* @license Rollup.js v5.0.0-1 Sun, 18 Oct 2026 06:06:25 GMT - commit ed75a6895d5bc62fdbff91b9d48e22e6e281e3bc -
/* @license Rollup.js v5.0.0-1 Sun, 18 Oct 2026 06:06:25 GMT - commit ed75a6895d5bc62fdbff91b9d48e22e6e281e3bc -
/* @license Rollup.js v5.0.0-1 Sun, 18 Oct 2026 06:06:25 GMT - commit ed75a6895d5bc62fdbff91b9d48e22e6e281e3bc -
// -p "{transform(c,i){...}}" plugin = ; }likely benign Builds a function from user-supplied inline plugin text given on the rollup CLI.Reasoning
This code is the CLI handling of inline plugin specifications passed via -p, such as '{transform(c,i){...}}'. The text comes from the user's own command-line argument on a local tool, so the new Function call is a documented feature and not a supply-chain payload, though it does execute dynamic code.
-
pluginText = match; pluginArgument = ; }likely benign Evaluates the argument of an inline -p plugin expression from the CLI.Reasoning
The same CLI -p inline-plugin path, where match[3] is an argument the user typed to rollup. It evaluates user-provided code by design, and the snippet shows no network access, decoding, or persistence.
-
// eslint-disable-next-line @typescript-eslint/no-require-imports return ; }likely benign Fallback require of a configured plugin path inside a try/catch.Reasoning
This is a fallback that loads a plugin or config module from a resolved path with require, which is how Rollup loads user-configured plugins and config files. The path comes from the project's own configuration.
-
}likely benign Fallback dynamic import of a configured plugin path.Reasoning
This is the ESM fallback for loading a configured plugin path with import(), which is the expected mechanism for rollup plugins. The specifier comes from the project's configuration, and no hidden behavior appears in the snippet.
-
} return .; }likely benign Dynamic import of a bundled config file via its file URL.Reasoning
This imports a bundled rollup config file from a file URL and reads its default export, which is the standard way Rollup loads rollup.config.mjs. The target is the project's own config file.
-
likely benign Imports a temporarily bundled config file by file URL and cleans up afterward.
Reasoning
This imports a temporarily bundled config file via pathToFileURL and removes it in a finally block. That is the standard Rollup config-loading flow, and nothing in the snippet shows network or exec behavior beyond loading the config.
-
/* @license Rollup.js v5.0.0-1 Sun, 18 Oct 2026 06:06:25 GMT - commit ed75a6895d5bc62fdbff91b9d48e22e6e281e3bc -
/* @license Rollup.js v5.0.0-1 Sun, 18 Oct 2026 06:06:25 GMT - commit ed75a6895d5bc62fdbff91b9d48e22e6e281e3bc -
const ADDON_ERROR = 'ADDON_ERROR', ALREADY_CLOSED = 'ALREADY_CLOSED', AMBIGUOUS_EXTERNAL_NAMESPACES = 'AMBIGUOUS_EXTERNAL_NAMESPACES', AMBIGUOUS_GLOBAL_NAME = 'AMBIGUOUS_GLOBAL_NAME', ANONYMOUS_PLUGIN_CACHE = 'ANONYMOUS_PLUGIN_CACHE', ASSET_NOT_FINALISED = 'ASSET_NOT_FINALISED', ASSET_NOT_FOUND = 'ASSET_NOT_FOUND', ASSdismissed Long line defining rollup error code string constants.Reasoning
A long constant declaration of rollup error code strings, the same generated table as the other parseAst finding. The flag is based only on line length.
-
/* @license Rollup.js v5.0.0-1 Sun, 18 Oct 2026 06:06:25 GMT - commit ed75a6895d5bc62fdbff91b9d48e22e6e281e3bc -
}; -
/* @license Rollup.js v5.0.0-1 Sun, 18 Oct 2026 06:06:25 GMT - commit ed75a6895d5bc62fdbff91b9d48e22e6e281e3bc -
/* @license Rollup.js v5.0.0-1 Sun, 18 Oct 2026 06:06:25 GMT - commit ed75a6895d5bc62fdbff91b9d48e22e6e281e3bc
Reproduce This Scan
Run disclude locally to verify. These commands scan the published file; the "new in this release" marks come from comparing it with the previous release's file, which they don't repeat. Add --format sarif for SARIF output. Add --llm (with an API key in the environment) to include the LLM review.
|
&&