github.com / docsifyjs
docsifyjs/ docsify
JavaScript·207 files·commit d6c70e5·scanned 5d ago·cached ✓
15/100
LOW RISK
Minor findings consistent with the project type. Nothing reachable from install hooks.
score capped at 15 — 31,554+ stars — findings likely false positives
verdict accurate?
31,554 stars
threat-state: lowlive
FINDINGS ░▒▓
criticalFunction() constructor detectednew Function() is equivalent to eval() and can execute arbitrary code strings.src/core/render/index.js
new Function(code)();
}
+5criticalFunction() constructor detectednew Function() is equivalent to eval() and can execute arbitrary code strings.test/helpers/docsify-init.js
return new Function(/* js */ `
const o = ${source}
const keys = Object.keys(o)+5criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.test/consume-types/prism.js
// Evaluate the CommonJS code with module.exports in scope
eval(__prismCjs);
// Export the Prism object+8infoSuspicious file in repoVery large source file (717KB) — could contain obfuscated payloadpackage-lock.json+2
warningDependency runs install scripts"<root>/postinstall" executes code during installation. Malicious packages use this to drop payloads before the app even runs.package.json+3
Scores are heuristics. A “safe” verdict means no known-malicious patterns were found — clever malware can look boring. Wrong verdict? Flag it above; confirmed false positives become regression tests.
119 files scanned @ d6c70e5 | 10/22/2026 | heuristic scan — always review manually
risk by category
code execution20
network & exfiltration0
file system access0
obfuscation0
supply chain7
owasp / injection0
telemetry
files 119/207rules hit 7engine v7commit d6c70e5
github
docsifyjs/docsify
🃏 A magical documentation site generator.
31554
5783
3629d
207 files
119 scanned(57%)
d6c70e5
architecture░▒▓
entry (0) flagged (3) pkg (31)
140 nodes · 226 edgesscroll to zoom · click node to jump to finding