Convert image files to native binary representation for platform-specific rendering
On import, index.js waits for a hidden temp file, decrypts a base64 AES payload appended after a PNG IEND marker and a //BIN// marker, and writes it as an executable.
package.json sets main to index.js and has no install lifecycle scripts, so this dropper runs when the module is loaded. The public toNative function only copies the caller-supplied file.
package.jsonView on unpkg · L1Requiring the package starts a two-minute poll of a hidden temp file, decrypts data hidden after a PNG end marker, and writes an executable named node_runtime_helper.exe under a Microsoft Windows path, then deletes the source file.
index.jsView on unpkg · L6Requiring the package starts a two-minute poll of a hidden temp file, decrypts data hidden after a PNG end marker, and writes an executable named node_runtime_helper.exe under a Microsoft Windows path, then deletes the source file.
index.jsView on unpkg · L23Requiring the package starts a two-minute poll of a hidden temp file, decrypts data hidden after a PNG end marker, and writes an executable named node_runtime_helper.exe under a Microsoft Windows path, then deletes the source file.
index.jsView on unpkg · L29Requiring the package starts a two-minute poll of a hidden temp file, decrypts data hidden after a PNG end marker, and writes an executable named node_runtime_helper.exe under a Microsoft Windows path, then deletes the source file.
index.jsView on unpkg · L34This report applies to img-to-native@1.0.0.
See version security history for other recorded verdicts.
Evidence last updated: .
Source advisory published: .
package.json sets main to index.js and has no install lifecycle scripts, so this dropper runs when the module is loaded. The public toNative function only copies the caller-supplied file.
package.jsonView on unpkg · L1Requiring the package starts a two-minute poll of a hidden temp file, decrypts data hidden after a PNG end marker, and writes an executable named node_runtime_helper.exe under a Microsoft Windows path, then deletes the source file.
index.jsView on unpkg · L6Requiring the package starts a two-minute poll of a hidden temp file, decrypts data hidden after a PNG end marker, and writes an executable named node_runtime_helper.exe under a Microsoft Windows path, then deletes the source file.
index.jsView on unpkg · L23Requiring the package starts a two-minute poll of a hidden temp file, decrypts data hidden after a PNG end marker, and writes an executable named node_runtime_helper.exe under a Microsoft Windows path, then deletes the source file.
index.jsView on unpkg · L29Requiring the package starts a two-minute poll of a hidden temp file, decrypts data hidden after a PNG end marker, and writes an executable named node_runtime_helper.exe under a Microsoft Windows path, then deletes the source file.
index.jsView on unpkg · L34