Summary
Togoder Security scanned the npm package preact-render-to-string@5.2.6 on Oct 6, 2026. An AI review of 16 source files produced no findings. No malicious behavior, install-time payloads, credential theft or exfiltration were identified.
Findings
No findings. The reviewer saw nothing malicious or risky in this version.
Files reviewed
| File | Verdict | What the reviewer saw |
|---|---|---|
| dist/commonjs.js | safe | No malicious patterns detected; this is a legitimate minified Preact render-to-string library with no network, filesystem, process execution, or obfuscated code. |
| dist/index.js | safe | The file is a simple CommonJS re-export with no suspicious or malicious patterns detected. |
| dist/index.mjs | safe | This is a legitimate Preact server-side rendering library (preact-render-to-string) with no malicious patterns detected. |
| dist/index.module.js | safe | This is a legitimate Preact server-side rendering library (preact-render-to-string) with no malicious patterns detected. |
| dist/jsx-entry.js | safe | No malicious patterns detected; the code is a legitimate minified renderer for Preact JSX (preact-render-to-string). |
| dist/jsx.js | safe | Cleared by Jev triage; no further analysis needed |
| dist/jsx.mjs | safe | No malicious patterns detected; the code is a minified Preact JSX renderer with no network, filesystem, or code execution activity. |
| dist/jsx.modern.js | safe | This is a legitimate Preact JSX rendering library with no malicious patterns detected. |
| dist/jsx.module.js | safe | No malicious patterns detected; the code is a minified Preact JSX renderer with no network, filesystem, or code execution activity. |
| jsx.js | safe | Cleared by Jev triage; no further analysis needed |
| src/constants.js | safe | Cleared by Jev triage; no further analysis needed |
| src/index.js | safe | No malicious patterns detected; this is the standard Preact render-to-string implementation. |
| src/jsx.js | safe | No malicious patterns detected |
| src/polyfills.js | safe | No malicious patterns detected; the code is a benign Symbol polyfill with no data exfiltration, process spawning, or dynamic code execution. |
| src/pretty.js | safe | This is a legitimate Preact server-side rendering utility file with no malicious patterns detected; all operations are confined to HTML string generation and component rendering. |
| src/util.js | safe | Cleared by Jev triage; no further analysis needed |
Scanned versions of preact-render-to-string
| Version | Verdict | Files | Scanned |
|---|---|---|---|
| 5.2.6 | No issues | 16 | Oct 6, 2026 |
Frequently asked questions
Is preact-render-to-string safe to use?
Our AI source review of preact-render-to-string@5.2.6 found no malicious code: no install-time payloads, credential theft, exfiltration, obfuscated loaders or backdoors.
Does preact-render-to-string contain malware?
No malware was identified in preact-render-to-string@5.2.6 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 preact-render-to-string checked?
Togoder Security downloaded the published npm package and had an AI model read its 16 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 preact-render-to-string 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 preact-render-to-string@5.2.6, cost nothing.