High-risk tools in Threejs Devtools
2 of the 60 tools in Threejs Devtools are classified as high 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 high risk
-
performance_snapshotExecute 3/5Get detailed performance analysis: draw calls, triangles, instanced meshes, object counts by type
-
run_jsExecute 4/5Execute arbitrary JavaScript with access to scene, renderer, camera. Returns the result. Runtime only (lost on reload). If the code mutates scene state, ASK the user first: runt...
Attacks that target this class
High-risk tools in any server share these documented attack patterns. Each links to the full case and the defensive policy.
More on Threejs Devtools
Enforce policy on Threejs Devtools
One command generates a policy scaffold for every server in your MCP config.
npx -y @policylayer/intercept init