{"version":"2.1.51","anchor":"workspace-trust-enforcement-for-hooks","canonical_anchor":"workspace-trust-enforcement-for-hooks","heading":"Workspace Trust Enforcement for Hooks","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.51\/e\/workspace-trust-enforcement-for-hooks","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.51","markdown":"### Workspace Trust Enforcement for Hooks\n\nStatusLine and FileSuggestion hook commands now verify workspace trust before executing. If the workspace trust dialog hasn't been accepted, these hooks are skipped with a warning, preventing untrusted workspaces from running arbitrary hook commands.\n\n**Evidence**\n\n`\"Skipping StatusLine command execution - workspace trust not accepted\"` and `\"Skipping FileSuggestion command execution - workspace trust not accepted\"` (search for `\"workspace trust not accepted\"`)"}