Critical-risk tools in MongoDB
4 of the 29 tools in MongoDB 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
-
delete-manyDestructive 5/5Removes all documents that match the filter from a MongoDB collection
-
delete-oneDestructive 4/5Removes a single document that match the filter from a MongoDB collection
-
drop-collectionDestructive 4/5Removes a collection or view from the database. The method also removes any indexes associated with the dropped collection.
-
drop-databaseDestructive 4/5Removes the specified database, deleting the associated data files
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.
More on MongoDB
Enforce policy on MongoDB
One command generates a policy scaffold for every server in your MCP config.
npx -y @policylayer/intercept init