Skip to content
ai-supply.store
EntdeckenKategorienBestenlistenCommunityAgent APIFAQ
AnmeldenKostenlos registrieren
catalog / Research / LightRAG
⬡PipelineResearchFree

LightRAG

Fast retrieval-augmented generation framework that fuses knowledge-graph structure with vector retrieval.

@ai-supply
Installationen18k
⟳ upstream v1.5.6 · updated 11d ago
↗ Quell-Repository
← More ResearchResearch leaderboard →How we grade security →Source ↗
! Grade D · 58/100 · ReviewSecurity assessment
1compromise signal46capabilities surfaced5of 20 OWASP controls clear
Embedded credentialsExternal endpoints declaredExternal endpoints declaredBroad capability surface
scanned 8d ago·osv · gitleaks · opengrep · picklescan + heuristics·full breakdown in the Security tab ↓

LightRAG

LightRAG is a simple and fast retrieval-augmented generation framework from the HKU Data Intelligence Lab (EMNLP 2025). It combines automatically constructed knowledge-graph structure with vector similarity search, giving more context-aware and relational answers than plain vector RAG while staying lighter than heavyweight GraphRAG pipelines.

Key features

  • Dual-level retrieval merging graph relationships and vector similarity
  • Incremental knowledge-graph construction from ingested documents
  • Multiple storage backends (JSON, PostgreSQL, Neo4j, Milvus, and more)
  • Pluggable LLM and embedding backends (OpenAI, Ollama, Hugging Face)
  • Fast, low-overhead indexing suitable for iterative research corpora

Usage note: install via pip, point it at your documents to build the graph + vector index, then query with graph, vector, or hybrid retrieval modes.

Curated mirror of the open-source LightRAG (MIT). Get it from the source.

Rating rank
#1
of 17 in Research
Install rank
#13
of 17 in Research
Security score
58/100 · D
review
Security rank
#17
of 17 in Research
Installs
18k
cat avg 51k
This listing vs category average
Installs
this
cat avg
Security (of 100)
this
cat avg
Adoption trend
See the Research leaderboard →
! Security: Review · 5858/100 · grade Dscanned 8d ago
⚠ 1 compromise signal46 risk-surface · 10/20 OWASP controls flagged

Compromise signals — malicious or tampered code (leaked secrets, backdoors, a dropped executable) — reduce the score, and known dependency CVEs carry a bounded penalty (they warrant review but never QUARANTINE — update the dependency to clear). Other dangerous-by-capability traits are risk surface, expected for some capabilities. Every finding is mapped to its OWASP control below.

What this capability can do · med confidence (static)
⚑ filesystem⚑ shell⚑ network⚑ secretsinstall: script:HKUDS-LightRAG-b47c682/Makefile
egress → docs.astral.sh, pre-commit.com, docs.github.com, sh.rustup.rs, astral.sh, bun.sh, trendshift.io, img.shields.io +32
88 steps⚑ uses secretsdocs.github.comactions/checkout@v7actions/setup-python@v7actions/cache@v6docker/setup-buildx-action@v4docker/login-action@v4sigstore/cosign-installer@6f9f17788090df1f26f669e9d70d6ae9567deba6docker/metadata-action@v6

Findings mapped to the OWASP Top 10 for LLM Applications (2025) and the OWASP Machine Learning Security Top 10. Expand any flagged control for the exact findings — compromise reduces the score; expected/risk-surface do not, except a known CVE, which carries a small bounded penalty (high/critical → Review).

OWASP Top 10 for LLM Applications
⚠LLM02Sensitive Information Disclosurecompromise · high
Secrets, credentials or PII shipped inside the artifact.
•Embedded credentials — found: API secret key (sk-) · HKUDS-LightRAG-b47c682/env.docker-compose-full (CWE-798)compromise
•Low-confidence secret match — 5 possible: generic-api-key · HKUDS-LightRAG-b47c682/env.docker-compose-full (CWE-798)risk surface
⚠LLM07System Prompt Leakagecompromise · high
Secrets, internal hosts or proprietary logic exposed in shipped prompts.
•Internal host / private infrastructure reference — shipped content references a private IP range or internal-only host · HKUDS-LightRAG-b47c682/docker-compose-full.yml (CWE-200)risk surface
•Embedded credentials — found: API secret key (sk-) · HKUDS-LightRAG-b47c682/env.docker-compose-full (CWE-798)compromise
•Low-confidence secret match — 5 possible: generic-api-key · HKUDS-LightRAG-b47c682/env.docker-compose-full (CWE-798)risk surface
⚠LLM01Prompt Injectionhigh
Adversarial instructions embedded in an artifact that hijack a downstream LLM.
•Prompt-injection phrasing — instruction-subversion language detected · HKUDS-LightRAG-b47c682/lightrag/llm/hf.py (CWE-77)expected
•Zero-width characters — 8 hidden characters · HKUDS-LightRAG-b47c682/tests/parser/docx/test_smart_heading_features.pyrisk surface
⚠LLM05Improper Output Handlinghigh
Code that pipes model/user output into shell, eval, SQL or paths unsafely.
•Suspicious code patterns — destructive rm -rf /; pipe-to-shell install · HKUDS-LightRAG-b47c682/Dockerfile (CWE-78)risk surface
•Suspicious code patterns — pipe-to-shell install · HKUDS-LightRAG-b47c682/Makefile (CWE-494)risk surface
•Suspicious code patterns — OS command execution · HKUDS-LightRAG-b47c682/lightrag/tools/download_cache.py (CWE-78)risk surface
•Suspicious code patterns — dynamic code execution · HKUDS-LightRAG-b47c682/lightrag_webui/src/components/retrieval/ChatMessage.tsx (CWE-95)risk surface
•Suspicious code patterns — prototype pollution pattern · HKUDS-LightRAG-b47c682/lightrag_webui/src/hooks/useLightragGraph.tsx (CWE-1321)risk surface
•Encoded path traversal — percent/utf-8-encoded '../' sequence — bypasses naive path filters · HKUDS-LightRAG-b47c682/tests/parser/external/docling/test_client.py (CWE-22)risk surface
•Suspicious code patterns — OS command execution; dynamic code execution · HKUDS-LightRAG-b47c682/tests/setup/test_misc.py (CWE-78)risk surface
⚠LLM06Excessive Agencyhigh
Over-broad tool/permission surface or unrestricted egress.
•External endpoints declared — 3 distinct host(s) · HKUDS-LightRAG-b47c682/.github/CONTRIBUTING.mdrisk surface
•External endpoints declared — 1 distinct host(s) · HKUDS-LightRAG-b47c682/.github/dependabot.ymlrisk surface
•Broad capability surface — 3 high-impact capability categories referenced — verify least-privilege · HKUDS-LightRAG-b47c682/AGENTS.md (CWE-272)risk surface
•External endpoints declared — 18 distinct host(s) · HKUDS-LightRAG-b47c682/README-ja.mdrisk surface
•Egress to a private/loopback host — 0.0.0.0 · HKUDS-LightRAG-b47c682/docker-compose-full.yml (CWE-918)risk surface
•External endpoints declared — 6 distinct host(s) · HKUDS-LightRAG-b47c682/docker-compose-full.ymlrisk surface
•Egress to a private/loopback host — 127.0.0.1 · HKUDS-LightRAG-b47c682/docs/AppleContainerSetup.md (CWE-918)risk surface
•External endpoints declared — 2 distinct host(s) · HKUDS-LightRAG-b47c682/docs/AppleContainerSetup.mdrisk surface
•External endpoints declared — 4 distinct host(s) · HKUDS-LightRAG-b47c682/docs/DockerDeployment.mdrisk surface
•External endpoints declared — 5 distinct host(s) · HKUDS-LightRAG-b47c682/docs/FileProcessingPipeline-zh.mdrisk surface
•Broad capability surface — 4 high-impact capability categories referenced — verify least-privilege · HKUDS-LightRAG-b47c682/docs/FileProcessingPipeline.md (CWE-272)risk surface
•External endpoints declared — 11 distinct host(s) · HKUDS-LightRAG-b47c682/docs/LightRAG-API-Server-zh.mdrisk surface
•Egress to a private/loopback host — 127.0.0.1, 10.0.0.5 · HKUDS-LightRAG-b47c682/docs/MultiSiteDeployment.md (CWE-918)risk surface
•External endpoints declared — 7 distinct host(s) · HKUDS-LightRAG-b47c682/docs/ProgramingWithCore.mdrisk surface
•External endpoints declared — 12 distinct host(s) · HKUDS-LightRAG-b47c682/env.docker-compose-fullrisk surface
•External endpoints declared — 13 distinct host(s) · HKUDS-LightRAG-b47c682/env.examplerisk surface
•Egress to a private/loopback host — 127.0.0.1, 0.0.0.0 · HKUDS-LightRAG-b47c682/scripts/setup/apple-container.sh (CWE-918)risk surface
•External endpoints declared — 9 distinct host(s) · HKUDS-LightRAG-b47c682/scripts/setup/setup.shrisk surface
•External endpoints declared — 8 distinct host(s) · HKUDS-LightRAG-b47c682/tests/llm/test_llm_role_runtime.pyrisk surface
•Egress to a private/loopback host — 10.0.0.1, 169.254.0.1 · HKUDS-LightRAG-b47c682/tests/parser/markdown/test_parser.py (CWE-918)risk surface
•Egress to a private/loopback host — 10.0.0.3 · HKUDS-LightRAG-b47c682/tests/setup/test_apple_container.py (CWE-918)risk surface
⚠LLM10Unbounded Consumptionmedium
Unbounded loops/recursion causing DoS or runaway cost.
Enforced at runtime by the gateway (rate limits + spend caps + size caps); static check flags unbounded loops.
•Potentially unbounded loop — an infinite loop (while True / while(1) / for(;;)) may cause runaway consumption · HKUDS-LightRAG-b47c682/examples/unofficial-sample/lightrag_cloudflare_demo.py (CWE-835)risk surface
⚠LLM03Supply Chainlow
Vulnerable/compromised dependencies, models or archives in the artifact.
•Dependency manifest — 91 npm dependencies declared · HKUDS-LightRAG-b47c682/lightrag_webui/package.jsonrisk surface
§LLM09MisinformationGovernance
Artifacts designed to produce false/deceptive output.
Detectable only by runtime behavioral evaluation; addressed via responsible-use attestation.
✓LLM04Data and Model PoisoningPassed
Backdoors/poisoning in training data or serialized models.
Behavioral poisoning needs model execution; static check covers unsafe serialization + dataset skew only.
✓LLM08Vector and Embedding WeaknessesPassed
PII or plaintext source leakage in embedding/vector exports.
Embedding inversion/poisoning is largely runtime; static check covers PII in vector exports.
OWASP Machine Learning Security Top 10
⚠ML02Data Poisoninghigh
Poisoned training datasets with triggers or anomalous distributions.
Static check covers trigger phrasing, PII and label skew; full poisoning detection is runtime.
•Prompt-injection phrasing — instruction-subversion language detected · HKUDS-LightRAG-b47c682/lightrag/llm/hf.py (CWE-77)expected
⚠ML09Output Integrityhigh
Middleware tampering with model outputs in transit.
Gateway enforces TLS + response integrity; static check flags output-rewriting code.
•Suspicious code patterns — destructive rm -rf /; pipe-to-shell install · HKUDS-LightRAG-b47c682/Dockerfile (CWE-78)risk surface
•Suspicious code patterns — pipe-to-shell install · HKUDS-LightRAG-b47c682/Makefile (CWE-494)risk surface
•Suspicious code patterns — OS command execution · HKUDS-LightRAG-b47c682/lightrag/tools/download_cache.py (CWE-78)risk surface
•Suspicious code patterns — dynamic code execution · HKUDS-LightRAG-b47c682/lightrag_webui/src/components/retrieval/ChatMessage.tsx (CWE-95)risk surface
•Suspicious code patterns — prototype pollution pattern · HKUDS-LightRAG-b47c682/lightrag_webui/src/hooks/useLightragGraph.tsx (CWE-1321)risk surface
•Encoded path traversal — percent/utf-8-encoded '../' sequence — bypasses naive path filters · HKUDS-LightRAG-b47c682/tests/parser/external/docling/test_client.py (CWE-22)risk surface
•Suspicious code patterns — OS command execution; dynamic code execution · HKUDS-LightRAG-b47c682/tests/setup/test_misc.py (CWE-78)risk surface
⚠ML06AI Supply Chainlow
Compromised PyPI/npm packages, typosquats, unsafe serialized models.
•Dependency manifest — 91 npm dependencies declared · HKUDS-LightRAG-b47c682/lightrag_webui/package.jsonrisk surface
§ML01Input Manipulation (Adversarial)Governance
Models vulnerable to adversarial perturbations.
Requires runtime robustness evaluation; addressed via publisher robustness attestation.
§ML03Model InversionGovernance
Training data reconstructable from a model's outputs.
Runtime/evaluation property; addressed via model-card data-provenance + DP attestation.
§ML04Membership InferenceGovernance
Determining whether a record was in the training set.
Runtime/evaluation property; addressed via overfitting disclosure + DP attestation.
§ML08Model SkewingGovernance
Models trained on skewed data producing biased output.
Requires fairness evaluation; addressed via model-card bias/limitations disclosure.
✓ML05Model TheftPassed
Unlicensed re-distribution / license-incompatible derivatives.
Static check verifies license declaration; extraction throttling is runtime.
✓ML07Transfer Learning AttackPassed
Backdoored base models / LoRA adapters propagating to derivatives.
Backdoor detection needs behavioral probing; static check covers unsafe serialization + provenance.
✓ML10Model Poisoning (Weights)Passed
Tampered model weight files; integrity must be verifiable.
Static check enforces safe formats + records a content hash for downstream verification.
Other findings (32) · hygiene / uncategorized
•Unrecognized file type — '.dockerignore' is not on the allowlist · HKUDS-LightRAG-b47c682/.dockerignorerisk surface
•Unrecognized file type — '.git-blame-ignore-revs' is not on the allowlist · HKUDS-LightRAG-b47c682/.git-blame-ignore-revsrisk surface
•Unrecognized file type — '.gitattributes' is not on the allowlist · HKUDS-LightRAG-b47c682/.gitattributesrisk surface
•Unrecognized file type — '.gitignore' is not on the allowlist · HKUDS-LightRAG-b47c682/.gitignorerisk surface
•Unrecognized file type — '.?' is not on the allowlist · HKUDS-LightRAG-b47c682/Dockerfilerisk surface
•Unrecognized file type — '.lite' is not on the allowlist · HKUDS-LightRAG-b47c682/Dockerfile.literisk surface
•Unrecognized file type — '.postgres' is not on the allowlist · HKUDS-LightRAG-b47c682/Dockerfile.postgresrisk surface
•Unrecognized file type — '.in' is not on the allowlist · HKUDS-LightRAG-b47c682/MANIFEST.inrisk surface
•Unrecognized file type — '.example' is not on the allowlist · HKUDS-LightRAG-b47c682/config.ini.examplerisk surface
•Suspicious network references — raw IP URL (7 URLs) · HKUDS-LightRAG-b47c682/docker-compose-full.ymlrisk surface
•Suspicious network references — raw IP URL (13 URLs) · HKUDS-LightRAG-b47c682/docs/FileProcessingPipeline-zh.mdrisk surface
•Suspicious network references — raw IP URL (24 URLs) · HKUDS-LightRAG-b47c682/docs/MultiSiteDeployment.mdrisk surface
•Unrecognized file type — '.docker-compose-full' is not on the allowlist · HKUDS-LightRAG-b47c682/env.docker-compose-fullrisk surface
•Suspicious network references — raw IP URL (28 URLs) · HKUDS-LightRAG-b47c682/env.docker-compose-fullrisk surface
•Suspicious network references — raw IP URL (3 URLs) · HKUDS-LightRAG-b47c682/examples/lightrag_vllm_demo.pyrisk surface
•Suspicious network references — raw IP URL (2 URLs) · HKUDS-LightRAG-b47c682/examples/unofficial-sample/lightrag_openai_neo4j_milvus_redis_demo.pyrisk surface
•Unrecognized file type — '.helmignore' is not on the allowlist · HKUDS-LightRAG-b47c682/k8s-deploy/lightrag/.helmignorerisk surface
•Unrecognized file type — '.tpl' is not on the allowlist · HKUDS-LightRAG-b47c682/k8s-deploy/lightrag/templates/_helpers.tplrisk surface
•Suspicious network references — suspicious TLD (1 URLs) · HKUDS-LightRAG-b47c682/lightrag/llm/deprecated/siliconcloud.pyrisk surface
•Unrecognized file type — '.development' is not on the allowlist · HKUDS-LightRAG-b47c682/lightrag_webui/.env.developmentrisk surface
•Unrecognized file type — '.smaple' is not on the allowlist · HKUDS-LightRAG-b47c682/lightrag_webui/env.development.smaplerisk surface
•Unrecognized file type — '.sample' is not on the allowlist · HKUDS-LightRAG-b47c682/lightrag_webui/env.local.samplerisk surface
•Suspicious network references — raw IP URL (12 URLs) · HKUDS-LightRAG-b47c682/scripts/setup/apple-container.shrisk surface
•Unrecognized file type — '.template' is not on the allowlist · HKUDS-LightRAG-b47c682/scripts/setup/templates/redis.conf.templaterisk surface
•Unrecognized file type — '.docx' is not on the allowlist · HKUDS-LightRAG-b47c682/tests/parser/docx/golden/extract_characterization/empty_table_skipped.docxrisk surface
•Archive disguised as another type — content is a zip but extension is .docx · HKUDS-LightRAG-b47c682/tests/parser/docx/golden/extract_characterization/empty_table_skipped.docxrisk surface
•Unrecognized file type — '.jsonl' is not on the allowlist · HKUDS-LightRAG-b47c682/tests/parser/docx/golden/native_docx/all_modalities/combo.blocks.jsonlrisk surface
•Suspicious network references — raw IP URL, suspicious TLD (50 URLs) · HKUDS-LightRAG-b47c682/tests/parser/external/mineru/test_client.pyrisk surface
•Suspicious network references — raw IP URL (8 URLs) · HKUDS-LightRAG-b47c682/tests/parser/markdown/test_download_deadline.pyrisk surface
•Suspicious network references — raw IP URL (11 URLs) · HKUDS-LightRAG-b47c682/tests/parser/markdown/test_redirect_guard.pyrisk surface
•Suspicious network references — raw IP URL (1 URLs) · HKUDS-LightRAG-b47c682/tests/parser/test_engine_params.pyrisk surface
•Suspicious network references — raw IP URL (27 URLs) · HKUDS-LightRAG-b47c682/tests/setup/test_misc.pyrisk surface
✔ verified source · pinned HKUDS-LightRAG-b47c682
Check against a policy

The same gate an agent runs before installing (POST /api/v1/trust/lightrag-graph-rag/check). Click a policy:

Consume LightRAG programmatically. Authenticate with an API key or session — see Authorize an agent.

# Agents: CHECK BEFORE YOU INSTALL (no auth) — score, grade, level, capability manifest
curl https://ai-supply.store/api/v1/trust/lightrag-graph-rag

# Gate against your org policy (returns { pass, violations })
curl -X POST https://ai-supply.store/api/v1/trust/lightrag-graph-rag/check \
  -H "Content-Type: application/json" \
  -d '{"minGrade":"B","denyPermissions":["shell"],"denyUnknownEgress":true}'

# CLI
npx ai-supply add lightrag-graph-rag

# REST (install → download)
curl -X POST https://ai-supply.store/api/v1/listings/lightrag-graph-rag/install \
  -H "Authorization: Bearer $AIM_KEY"

# MCP tool
install_listing({ "slug": "lightrag-graph-rag" })
OpenAPI spec →
vlatest
! Security: Review · 581mo ago

Curated mirror — latest upstream source. See the repository for tagged releases.

Sign in and install this listing to leave a review.

More from @ai-supply

View profile →
◉Agent
MetaGPT
Multi-agent framework that assigns GPT roles (PM, engineer, QA) to solve complex software tasks end-to-end.
↓ 1.0M
⇄Connector
vLLM
High-throughput, memory-efficient LLM inference engine with PagedAttention and continuous batching.
↓ 892k
⇄Connector
Meilisearch
Lightning-fast open-source search engine with typo-tolerance, semantic hybrid search, and sub-50ms response times.
↓ 811k
△Eval
Weights & Biases (wandb)
ML experiment tracking and visualization — log metrics, hyperparameters, models, and media in real time.
↓ 784k
ai-supply.store

Kostenlose, sicherheitsgeprüfte KI-Fähigkeiten – Skills, MCPs, Plugins, Agents, Datasets und mehr, jeweils bewertet und auf Aktualität überwacht, gemacht für Menschen und Agents gleichermaßen.

api · v3.1status · all green
Kontakt
support@ai-supply.storesecurity@ai-supply.store
Katalog
  • Entdecken
  • Kategorien
  • Bestenlisten
  • Benchmarks
  • Sicherheit
  • Scan a repo
Community
  • Community
  • FAQ
Für Agenten
  • Schnellstart (60s)
  • Agenten autorisieren
  • Agent API
  • OpenAPI-Spezifikation
Für Entwickler
  • Veröffentlichen
  • Dashboard
Konto
  • Konto erstellen
  • Anmelden
  • Einstellungen
Rechtliches
  • Nutzungsbedingungen
  • Publisher-Vereinbarung
  • Nutzungsrichtlinien
  • Datenschutz