{"version":"2.1.335","anchor":"allowed-tools-and-rules-checked-by-source-for-dangerous-ru","canonical_anchor":"allowed-tools-and-rules-checked-by-source-for-dangerous-ru","heading":"Risky allow rules are now also spotted by where they come from","tier":"notice","area":"Permissions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335\/e\/allowed-tools-and-rules-checked-by-source-for-dangerous-ru","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335","markdown":"### Risky allow rules are now also spotted by where they come from\n\nClaude Code now also checks where an allow rule came from, including `--allowed-tools`, when deciding whether to warn that it is dangerous\n\n**Unclear.** It is not clear which rules the new source-based check flags.\n\n**What**\n\nClaude Code warns when an allow rule, a rule that lets a tool run without asking you, looks dangerous. The check used to look only at the tool name and the rule's pattern. It now also looks at where the rule came from and the tool name. This covers rules from your settings files and rules passed on the command line with `--allowed-tools`.\n\n**Why**\n\nMore allow rules may now be flagged as risky, so you may see warnings for rules that passed silently before.\n\n- Area: Permissions\n- Names: `--allowed-tools`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}