Critical-risk tools in Lightrag
5 of the 26 tools in Lightrag are classified as critical risk. This page profiles those tools specifically, with recommended policy actions and the attack patterns that target them.
Every operation listed below is an action PolicyLayer recommends controlling at the transport layer. Open any tool to see the full profile, risk score, and YAML policy snippet.
Tools at critical risk
-
clear_cacheDestructiveClear all cache data from the LLM response cache storage
-
clear_documentsDestructiveClear all documents from the RAG system
-
delete_documentDestructiveDelete documents by their IDs
-
delete_entityDestructiveRemove an entity and all its relationships from the knowledge graph
-
delete_relationDestructiveRemove a relationship between two entities from the knowledge graph
Attacks that target this class
Critical-risk tools in any server share these documented attack patterns. Each links to the full case and the defensive policy.