live · scanning repos
Scanrepo
github.com
github.com / hkuds

hkuds/lightrag

Python·1331 files·commit aaebfe1·scanned 4d ago·cached ✓
15/100
LOW RISK
Minor findings consistent with the project type. Nothing reachable from install hooks.

score capped at 15 — 40,312+ stars — findings likely false positives

verdict accurate?
40,312 stars
Partial architecture graph
threat-state: lowlive

FINDINGS ░▒▓

warningPython subprocess / os.system usageos.system() or subprocess with shell=True / suspicious commands can execute arbitrary shell commands. Plain pip/package installs are usually benign.tests/setup/test_misc.py
    assert values["RESULT"] == "success"
    result = subprocess.run(
        [
            "bash",
+4
warningPython subprocess / os.system usageos.system() or subprocess with shell=True / suspicious commands can execute arbitrary shell commands. Plain pip/package installs are usually benign.tests/setup/test_validate.py
    )
    result = subprocess.run(
        [
            bash_bin(),
+4
infoSuspicious files are not reachable from entry pointsFlagged files exist but are not imported by any entry point. They may be dead code, tests, or attack payloads triggered by another mechanism.+2
warningSSH/credential path accessAccessing .ssh, .aws/credentials, or .env files to steal authentication credentials.tests/pipeline/test_multimodal_path_containment.py
    join entirely and the bare ``exists()`` accepted it."""
    victim = tmp_path / "victim_home" / "id_rsa_screenshot.png"
    victim.parent.mkdir(parents=True)
    victim.write_bytes(b"\x89PNG\r\n\x...
+5
warningExtremely long lines (>1000 chars)Very long lines in source files (not minified bundles) can hide malicious code.lightrag/parser/docx/smart_heading/title_block.py+4
warningFlattened or dead control flowDetected switch(true), dead if branches, or deeply nested ternaries — patterns used by obfuscators to hide execution order.lightrag_webui/src/components/retrieval/ChatMessage.tsx+3
warningHigh-entropy string literalsFound 5 long strings with high Shannon entropy. This is common in obfuscated payloads that hide URLs, keys, or bytecode.lightrag/parser/docx/parse_document.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.lightrag/parser/docx/smart_heading/style_key.py+3
infoSuspicious file in repoVery large source file (1475KB) — could contain obfuscated payloadlightrag/api/static/swagger-ui/swagger-ui-bundle.js+2
infoAuthor has no other public repositoriesGitHub user "xin" has no other public repositories, common for burner accounts used in scams.+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.

1055 files scanned @ aaebfe1 | 10/25/2026 | heuristic scan — always review manually

risk by category
code execution10
network & exfiltration0
file system access5
obfuscation13
supply chain4
owasp / injection0
telemetry
files 1055/1331rules hit 10engine v7commit aaebfe1

github

hkuds/lightrag

[EMNLP2025] LightRAG: Simple and Fast Retrieval-Augmented Generation

Python
40312
5722
757d
1331 files
1055 scanned(79%)
aaebfe1

architecture░▒▓

entry (1) flagged (7) pkg (412)
812 nodes · 2155 edgesscroll to zoom · click node to jump to finding