github.com / beefproject
beefproject/ beef
JavaScript·2197 files·commit 024bd4d·scanned 3d ago·cached ✓
15/100
LOW RISK
Minor findings consistent with the project type. Nothing reachable from install hooks.
score capped at 15 — 10,978+ stars — findings likely false positives
verdict accurate?
10,978 stars
19% file coverage
Research / educational context
Partial architecture graph
threat-state: lowlive
FINDINGS ░▒▓
criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.extensions/admin_ui/media/javascript/ui/panel/zombiesTreeList.js
//retrieves the branch that will be updated
var branch_node = eval('this.'+branch_type+'_hooked_browsers_treenode');
//retrieves the list of known hooked browsers in that branch+8criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.core/main/client/browser.js
try {
Flash = eval("new ActiveXObject('ShockwaveFlash.ShockwaveFlash." + x + "');");
if (Flash) {
return true;+8criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.core/main/client/lib/evercookie.js
if (typeof(value) != "undefined") eval("globalStorage[host]." + name + " = value"); else return eval("globalStorage[host]." + name);+8
criticalFunction() constructor detectednew Function() is equivalent to eval() and can execute arbitrary code strings.core/main/client/webrtc.js
var fn = new Function(atob(ev2.data.substring(1)));
fn();
if (rtcstealth != false) { // force stealth back on ?+5criticalFunction() constructor detectednew Function() is equivalent to eval() and can execute arbitrary code strings.core/main/client/websocket.js
// It's not a big deal anyway, because the eval'ed data comes from BeEF itself, so it is implicitly trusted. new Function(message.data)(); };+5
infoBase64 encoding usedatob() or Buffer.from with base64. Common in legitimate code but also used to hide malicious URLs.core/main/client/webrtc.js
var fn = new Function(atob(ev2.data.substring(1)));
fn();
if (rtcstealth != false) { // force stealth back on ?+2criticalBrowser credential store accessAccessing Chrome, Firefox, Edge, or Brave profile directories to steal cookies, passwords, and session tokens.modules/misc/local_file_theft/command.js
'sshKeys':'.ssh/id_rsa.pub', 'firefoxProfiles':'.mozilla/firefox/profiles.ini', 'chromeBookmarks':'.config/chromium/Default/Bookmarks' }+10
warningSSH/credential path accessAccessing .ssh, .aws/credentials, or .env files to steal authentication credentials.modules/misc/local_file_theft/command.js
'sshHosts':'.ssh/known_hosts', 'sshKeys':'.ssh/id_rsa.pub', 'firefoxProfiles':'.mozilla/firefox/profiles.ini', 'chromeBookmarks':'.config/chromium/Default/B...+5
warningExtremely long lines (>1000 chars)Very long lines in source files (not minified bundles) can hide malicious code.extensions/admin_ui/media/javascript/esapi/jquery-encoder-0.1.0.js+4
warningExtremely long lines (>1000 chars)Very long lines in source files (not minified bundles) can hide malicious code.extensions/admin_ui/media/javascript/ext-base.js+4
infoMinified code in source directoryMinified/obfuscated code in source directories (not dist/) makes code review impossible.extensions/admin_ui/media/javascript/ext-base.js+3
warningExtremely long lines (>1000 chars)Very long lines in source files (not minified bundles) can hide malicious code.extensions/admin_ui/media/javascript/ui/panel/tabs/ZombieTabRider.js+4
infoMinified code in source directoryMinified/obfuscated code in source directories (not dist/) makes code review impossible.modules/browser/webcam_flash/swfobject.js+3
infoMinified code in source directoryMinified/obfuscated code in source directories (not dist/) makes code review impossible.modules/browser/webcam_permission_check/swfobject.js+3
warningHex-encoded string sequencesLong hex-encoded strings are commonly used to hide malicious code from code review.modules/misc/wordpress_post_auth_rce/command.js
post_data += "\r\n";
post_data += "\x50\x4b\x03\x04\x0a\x00\x00\x00\x00\x00\x6c\xa4\xfc\x44\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x09\x00\x1c\x00\x62\x65\x65\x66\x62\x69\x6e\x64\x2f\...+5warningFlattened or dead control flowDetected switch(true), dead if branches, or deeply nested ternaries — patterns used by obfuscators to hide execution order.docs/scripts/prettify/lang-css.js+3
warningHigh-entropy string literalsFound 6 long strings with high Shannon entropy. This is common in obfuscated payloads that hide URLs, keys, or bytecode.docs/scripts/prettify/prettify.js+3
warningFlattened or dead control flowDetected switch(true), dead if branches, or deeply nested ternaries — patterns used by obfuscators to hide execution order.docs/scripts/prettify/prettify.js+3
warningFlattened or dead control flowDetected switch(true), dead if branches, or deeply nested ternaries — patterns used by obfuscators to hide execution order.extensions/admin_ui/media/javascript/esapi/jquery-3.3.1.min.js+3
warningHigh-entropy string literalsFound 59 long strings with high Shannon entropy. This is common in obfuscated payloads that hide URLs, keys, or bytecode.extensions/admin_ui/media/javascript/ext-base.js+3
warningHigh-entropy string literalsFound 11 long strings with high Shannon entropy. This is common in obfuscated payloads that hide URLs, keys, or bytecode.extensions/admin_ui/media/javascript/ui/panel/zombiesTreeList.js+3
warningLarge base64-encoded blobA 424-character base64 blob was found. May hide a remote payload or encoded executable code.modules/browser/detect_lastpass/command.js
iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAAAXNSR0IArs4c...+3
warningLarge base64-encoded blobA 20000-character base64 blob was found. May hide a remote payload or encoded executable code.modules/browser/spyder_eye/html2canvas.min.js
KwAAAAAAAAAACA4AIDoAAPAfAAACAAAAAAAIABAAGABAAEgAUABYAF4AZgBe...+3
infoSuspicious file in repoVery large source file (1015KB) — could contain obfuscated payloadextensions/admin_ui/media/javascript/ext-all.js+2
infoSuspicious file in repoVery large source file (674KB) — could contain obfuscated payloadextensions/admin_ui/media/javascript/vis.js/vis.min.js+2
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.
407 files scanned @ 024bd4d | 8/20/2026 | heuristic scan — always review manually
risk by category
code execution25
network & exfiltration2
file system access15
obfuscation15
supply chain6
owasp / injection0
telemetry
files 407/2197rules hit 27engine v5commit 024bd4d
github
beefproject/beef
The Browser Exploitation Framework Project
10978
2369
5389d
2197 files
407 scanned(19%)
024bd4d
architecture░▒▓
entry (0) flagged (68) pkg (7)
407 nodes · 13 edgesscroll to zoom · click node to jump to finding