{"version":"2.1.331","anchor":"skill-hooks-sandbox-script-removed-from-the-bundle","canonical_anchor":"skill-hooks-sandbox-script-removed-from-the-bundle","heading":"Lockdown script for skill hooks is now loaded separately","tier":"internal","area":"Skills","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/skill-hooks-sandbox-script-removed-from-the-bundle","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Lockdown script for skill hooks is now loaded separately\n\nThe script that locks down the sandbox where skill hooks run is no longer written inline and is now loaded from elsewhere\n\n**Unclear.** It is not clear whether the loaded script locks the sandbox down the same way the old one did.\n\n**What**\n\nSkill hooks run in a sandbox, a restricted space that limits what the code can touch. Before, Claude Code carried a long script written directly into its code that removed global objects and froze built-in ones so hook code could not tamper with them. That inline script is gone. Claude Code now loads the script from another place instead.\n\n**Why**\n\nThis could change how tightly the sandbox for skill hooks is locked down.\n\n- Area: Skills\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}