github.com / Immortal-Protocols
Immortal-Protocols/ lastbook
Python·758 files·commit 4fd221e·scanned 6d ago·cached ✓
25/100
LOW RISK
Minor findings consistent with the project type. Nothing reachable from install hooks.
score capped at 25 — 2,207 stars — findings likely legitimate code patterns
scored by engine v10: rules have changed since, rescan for the current result
verdict accurate?
Created 6 days ago
Created in the last 7 days
37% file coverage
threat-state: lowlive
FINDINGS ░▒▓
criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.app/tests/cdp.py
def eval(self, expr, seconds=60):
r = self.call('Runtime.evaluate', {'expression': expr, 'returnByValue': True, 'awaitPromise': True}, seconds)
if 'exceptionDetails' in r:+8criticalPython dynamic code executioneval(), exec() or compile() on untrusted input can execute arbitrary code. Common in Python malware for running obfuscated payloads.app/tests/cdp.py
def eval(self, expr, seconds=60):
r = self.call('Runtime.evaluate', {'expression': expr, 'returnByValue': True, 'awaitPromise': True}, seconds)
if 'exceptionDetails' in r:+7criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.app/tests/mac_noscript_check.py
<style>@import url({D}/page-import);@font-face{{font-family:Z;src:url({D}/page-font)}}body{{font-family:Z;background:url({D}/page-bg)}}</style>
<script>{beacon("inline")}</script><script src="/pages/n...+8criticalPython dynamic code executioneval(), exec() or compile() on untrusted input can execute arbitrary code. Common in Python malware for running obfuscated payloads.app/tests/mac_noscript_check.py
<style>@import url({D}/page-import);@font-face{{font-family:Z;src:url({D}/page-font)}}body{{font-family:Z;background:url({D}/page-bg)}}</style>
<script>{beacon("inline")}</script><script src="/pages/n...+7criticalPython dynamic code executioneval(), exec() or compile() on untrusted input can execute arbitrary code. Common in Python malware for running obfuscated payloads.app/tests/mac_package_contents.py
if code:
exec(code, module.__dict__)
class Outside(importlib.abc.MetaPathFinder):+7criticalFunction() constructor detectednew Function() is equivalent to eval() and can execute arbitrary code strings.app/tests/test_chat_steps.py
const i = chat.indexOf('function stepText('), j = chat.indexOf('\n function srcHref');
const stepText = new Function(esc + '\n' + chat.slice(i, j) + '\nreturn stepText;')();
const out = JSON.parse(pr...+5criticalFunction() constructor detectednew Function() is equivalent to eval() and can execute arbitrary code strings.app/tests/test_chat_tables.py
const i = chat.indexOf('function md('), j = chat.indexOf('\n function wire(');
const md = new Function(esc + '\n' + chat.slice(i, j) + '\nreturn md;')();
const m = { sources: [{ key: 'S1' }, { key: '...+5warningPython subprocess / os.system usageos.system() or subprocess with shell=True / suspicious commands can execute arbitrary shell commands. Plain pip/package installs are usually benign.app/tests/test_run_source_linux.py
env = {'PATH': str(self.bin), 'PYTHON': sys.executable, 'HOME': str(self.tmp), 'GST_MISSING': missing}
return subprocess.run([shutil.which('bash'), str(self.script), '--check', str(sel...+4criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.app/tests/win_canary.py
<script>{mark("inline")}</script>
<script>eval({json.dumps(mark("eval"))})</script>
<script src="/pages/pkg/x.js"></script>
<script type="module" src="/pages/pkg/mod.js"></script>+8warningPython subprocess / os.system usageos.system() or subprocess with shell=True / suspicious commands can execute arbitrary shell commands. Plain pip/package installs are usually benign.packaging/address_indexes.py
def public_sha(url):
process = subprocess.Popen(['curl', '-fLsS', '--retry', '3', '--max-time', '600', url], stdout=subprocess.PIPE)
digest = hashlib.sha256()
count = 0+4warningPython subprocess / os.system usageos.system() or subprocess with shell=True / suspicious commands can execute arbitrary shell commands. Plain pip/package installs are usually benign.packaging/app_test/proc_log.py
while time.time() < end:
o = subprocess.run(['powershell', '-NoProfile', '-Command', PS], capture_output=True, text=True, errors='replace').stdout
try:
for r in json.loads(o):+4criticalPython base64 payload executionDecoding a base64 blob and passing it to exec()/compile() is a common obfuscation technique in Python malware.app/tests/cdp.py
with open(path, 'wb') as f:
f.write(base64.b64decode(self.call('Page.captureScreenshot', {'format': 'png'})['data']))
def click(self, x, y, button='left'):+8warningExtremely long lines (>1000 chars)Very long lines in source files (not minified bundles) can hide malicious code.engine/library.py+4
warningFlattened or dead control flowDetected switch(true), dead if branches, or deeply nested ternaries — patterns used by obfuscators to hide execution order.web/app.js+3
warningFlattened or dead control flowDetected switch(true), dead if branches, or deeply nested ternaries — patterns used by obfuscators to hide execution order.engine/library.py+3
warningHigh-entropy string literalsFound 4 long strings with high Shannon entropy. This is common in obfuscated payloads that hide URLs, keys, or bytecode.packaging/app_test/use.py+3
warningHigh-entropy string literalsFound 8 long strings with high Shannon entropy. This is common in obfuscated payloads that hide URLs, keys, or bytecode.packaging/app_walk.py+3
warningFlattened or dead control flowDetected switch(true), dead if branches, or deeply nested ternaries — patterns used by obfuscators to hide execution order.packaging/app_walk.py+3
warningHigh-entropy string literalsFound 5 long strings with high Shannon entropy. This is common in obfuscated payloads that hide URLs, keys, or bytecode.packaging/build_packs.py+3
infoSuspicious file in repoExecutable file (win_product.ps1) in repositoryapp/tests/win_product.ps1+2
Scores reflect the files and rules covered by this scan. How to read this report
283 files scanned @ 4fd221e | 11/19/2026 | heuristic scan — always review manually
risk by category
code execution25
network & exfiltration0
file system access0
obfuscation15
supply chain12
owasp / injection0
telemetry
files 283/758rules hit 23engine v10commit 4fd221e
github
Immortal-Protocols/lastbook
Offline knowledge AI, maps and videos for survival and rebuilding
2207
289
12d
758 files
283 scanned(37%)
4fd221e
network indicators░▒▓
Hosts this code names or would connect to. Top 50 of 518, decoded and call-site destinations first. Informational, not scored.
- https://minedbuildings.z5.web.core.windows.net/global-buildings/dataset-links.csvurlnext to network calltools/fetch_msbuildings.sh:5
- https://data.alltheplaces.xyz/runs/latest.jsonurlnext to network calltools/build_places_atp.py:221 +1 more
- raw.githubusercontent.compaste hostwebsite-next/data/credits.json:695 +1 more
- https://github.com/ggml-org/llama.cpp.giturlmobile/ipad/scripts/prepare_dependencies.sh:9 +3 more
- https://lastbook.orgurlpackaging/linux/build_app_linux.sh:121 +1 more
- https://opendatacommons.org/licenses/odbl/1-0/urldocs/regions-ae-proposed.json:24 +12 more
- https://cdla.dev/permissive-2-0/urldocs/regions-ae-proposed.json:45 +5 more
- https://www.dubaipulse.gov.ae/docs/….pdfurldocs/regions-ae-proposed.json:67
- https://www.dm.gov.ae/open-data/open-data-for-makani/urldocs/regions-ae-proposed.json:75
- https://registry.opendata.aws/copernicus-dem/urldocs/regions-ae-proposed.json:95 +3 more
- https://download.geofabrik.de/asia/gcc-states.htmlurldocs/regions-ae-proposed.json:106 +4 more
- https://archivefda.dlib.nyu.edu/handle/2451/44229urldocs/regions-ae-proposed.json:125
- https://archive.nyu.edu/handle/2451/44247urldocs/regions-ae-proposed.json:145
- https://docs.overturemaps.org/attributionurldocs/regions-ae-proposed.json:156 +3 more
- https://github.com/microsoft/…urldocs/regions-ae-proposed.json:165 +5 more
- https://data.humdata.org/dataset/cod-ab-areurldocs/regions-ae-proposed.json:184
- https://www.dubaipulse.gov.ae/organisation/dubai-municipality/service/dm-locationurldocs/regions-ae-proposed.json:192 +1 more
- https://ehs.gov.ae/en/open-data/number-of-the-facilitiesurldocs/regions-ae-proposed.json:249
- https://mohap.gov.ae/en/open-data/mohap-open-dataurldocs/regions-ae-proposed.json:257
- https://www.dubaipulse.gov.ae/data/organisationurldocs/regions-ae-proposed.json:265
- https://www.upu.int/UPU/media/upu/PostalEntitiesFiles/addressingUnit/areEn.pdfurldocs/regions-ae-proposed.json:281
- https://github.com/wmgeolab/geoBoundaries/tree/main/releaseData/gbOpen/ARE/ADM1urldocs/regions-ae-proposed.json:295
- https://www.ign.gob.ar/descargas/tyc1.htmlurldocs/regions-ar-proposed.json:23
- https://datos.gob.arurldocs/regions-ar-proposed.json:38
- https://www.naturalearthdata.com/about/terms-of-use/urldocs/regions-ar-proposed.json:59
- https://www.ign.gob.ar/NuestrasActividades/Geodesia/ModeloDigitalElevaciones/Introduccionurldocs/regions-ar-proposed.json:70
- https://dataspace.copernicus.eu/explore-data/data-collections/copernicus-contributing-missions/collections-description/COP-DEMurldocs/regions-ar-proposed.json:79 +5 more
- https://www.ign.gob.ar/NuestrasActividades/InformacionGeoespacial/CapasSIGurldocs/regions-ar-proposed.json:89 +51 more
- https://wms.ign.gob.ar/geoserver/ign/owsurldocs/regions-ar-proposed.json:98 +48 more
- https://www.openstreetmap.org/copyrighturldocs/regions-ar-proposed.json:126 +17 more
- https://zenodo.org/records/13984185urldocs/regions-ar-proposed.json:136
- https://sites.research.google/open-buildings/urldocs/regions-ar-proposed.json:147
- https://docs.overturemaps.org/attribution/urldocs/regions-ar-proposed.json:156 +16 more
- https://infra.datos.gob.ar/georef/cuadras.csvurldocs/regions-ar-proposed.json:299
- https://data.buenosaires.gob.ar/dataset/callesurldocs/regions-ar-proposed.json:308
- https://catalogo.datos.gba.gob.ar/dataset/…urldocs/regions-ar-proposed.json:407
- https://datos.gob.ar/api/3/action/package_showurldocs/regions-ar-proposed.json:416 +1 more
- https://catalogo.datos.gba.gob.ar/dataset/bomberos-voluntariosurldocs/regions-ar-proposed.json:444
- https://wms.ign.gob.ar/geoserver/ign_riesgo/owsurldocs/regions-ar-proposed.json:484 +1 more
- https://www.correoargentino.com.ar/formularios/cpaurldocs/regions-ar-proposed.json:550
- https://download.geofabrik.de/south-america/chile.htmlurldocs/regions-cl-proposed.json:12 +1 more
- https://download.geofabrik.de/south-america/chile.polyurldocs/regions-cl-proposed.json:13
- https://docs.overturemaps.org/guides/addresses/urldocs/regions-cl-proposed.json:436 +6 more
- https://www.govdata.de/dl-de/by-2-0urldocs/regions-de-proposed.json:23
- https://sgx.geodatenzentrum.de/web_public/gdz/datenquellen/datenquellen_vg_nuts.pdfurldocs/regions-de-proposed.json:24
- https://www.govdata.de/dl-de/zero-2-0urldocs/regions-de-proposed.json:30
- https://gdz.bkg.bund.de/index.php/default/….htmlurldocs/regions-de-proposed.json:87
- https://download.geofabrik.de/europe/germany.htmlurldocs/regions-de-proposed.json:97 +2 more
- https://gdz.bkg.bund.de/index.php/default/open-data/….htmlurldocs/regions-de-proposed.json:106 +19 more
- https://wiki.openstreetmap.org/wiki/…urldocs/regions-de-proposed.json:117 +2 more
architecture░▒▓
entry (0) flagged (20) pkg (183)
389 nodes · 1086 edgesscroll to zoom · click node to jump to finding