Summary
Togoder Security scanned the npm package @img/sharp-linux-s390x@0.35.5 on Oct 6, 2026. An AI review of 1 source file produced 2 medium severity findings. The overall verdict is medium: the findings flag risky but common patterns (dynamic code, unsafe defaults, broad file or network access) rather than confirmed malware.
Findings 2
Platform-specific binary loading
NPS-FA02857870E0
The code requires a platform-specific native module ('sharp-linux-s390x-0.35.5.node') and optionally resolves a related libvips binary. While this is typical for native Node modules, it means the package executes native code at import time, which could contain malicious behavior not visible in this JavaScript wrapper.
Import-time code execution
NPS-1CA55D9D6B28
The module loads a native .node binary as part of its main export. Native modules run compiled machine code at require/import time, bypassing JavaScript sandboxing and static analysis. This is a common vector for hiding malicious payloads in third-party packages.
Files reviewed
| File | Verdict | What the reviewer saw |
|---|---|---|
| index.cjs | medium | The code is a thin wrapper for a platform-specific native binary; while no direct malicious patterns are visible, loading an opaque .node module at import time warrants caution. |
Frequently asked questions
Is @img/sharp-linux-s390x safe to use?
No confirmed malware was found in @img/sharp-linux-s390x@0.35.5, but the review flagged 2 medium severity findings for risky patterns worth checking before you rely on it.
Does @img/sharp-linux-s390x contain malware?
No malware was identified in @img/sharp-linux-s390x@0.35.5 when Togoder Security scanned it on Oct 6, 2026. A new version can still introduce malicious code, so scan the exact versions in your lockfile.
How was @img/sharp-linux-s390x checked?
Togoder Security downloaded the published npm package and had an AI model read its 1 source files, looking for install scripts, credential access, network exfiltration, obfuscation, backdoors and crypto-wallet theft. The results are cached by file hash and shown here.
How do I scan @img/sharp-linux-s390x together with the rest of my dependencies?
Upload your lockfile at https://security.togoder.click/scan or call the API documented at https://security.togoder.click/api-docs. Files that have already been scanned, like the ones in @img/sharp-linux-s390x@0.35.5, cost nothing.