video-core-sdk
Core-SDK 是渲染部分的 SDK,传入工程数据(JSON)可以将数据绘制到 Canvas 上。
This report shows the evidence for video-core-sdk@1.0.34. 1 of 12 known versions is blocked or flagged. The newest version, 1.0.72, is allowed. See all versions.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiStatic inspection resolves the prior manual review: despite package-aligned media rendering code and no install hook, the bundle contains a reachable external JavaScript loader whose fixed CDN responses are appended as executable scripts. This is a concrete runtime remote-code-execution supply-chain surface rather than a critical vulnerability exposed by an otherwise local implementation, and no bounded evidence establishes a documented, user-controlled source that would justify downgrading it.
Decision evidence
public snapshot- `videoCoreSDK.react.es.min.js` assigns `window.EModuleEffectSourcePath` to `https://cdn.h5ds.com/assets/effectcanvas/` and defines `EModule.import` to create and append a `<script>` element whose URL is constructed from that remote base plus a module name.
- The remote loader accepts a `.js` or `.txt` response as a script source, waits for it to populate a module registry, then invokes its registered factory; this is remote JavaScript execution in the consumer browser.
- `videoCoreSDK.react.es.min.js` contains an `EModule.import` call site, so the loader is reachable from the shipped rendering bundle rather than inert helper code.
- The package has no lifecycle scripts; the confirmed execution chain is runtime import/render use, not npm installation.
- The shipped manifest points `main` at `videoCoreSDK.react.es.js`, but the package contains only `videoCoreSDK.react.es.min.js`; this is a packaging defect and does not explain or neutralize the reachable remote script loader.
- The bundle and README are structurally consistent with a browser-side video/canvas rendering SDK and contain normal media-resource fetches, font loading, WebGL shader support, and Lottie/media decoding helpers.
Source & flagged code
0 flagged · loading sourceFindings
Affected versions and remediation
This report applies to video-core-sdk@1.0.34.
The versions list below shows the verdict for each recorded version.
- Avoid installing video-core-sdk@1.0.34. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.