{"version":"2.1.281","anchor":"artifact-viewer-csp-now-allows-unpkgcom-scripts","canonical_anchor":"artifact-viewer-csp-now-allows-unpkgcom-scripts","heading":"Artifact viewer CSP now allows unpkg.com scripts","tier":null,"area":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281\/e\/artifact-viewer-csp-now-allows-unpkgcom-scripts","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281","markdown":"### Artifact viewer CSP now allows unpkg.com scripts\n\nInstructions for writing artifacts now list https:\/\/unpkg.com as an allowed script source, while esm.sh stays blocked\n\n**Unclear.** The evidence shows the instruction text changing, but not the viewer's own loading rules.\n\n**What**\n\nArtifacts are self-contained pages Claude can build and show in a viewer. The viewer only loads scripts from approved websites. Both sets of instructions Claude follows when writing artifacts now include `https:\/\/unpkg.com` among five allowed script sources. They previously said unpkg was blocked. esm.sh is still blocked.\n\n**Why**\n\nClaude may now load code libraries from unpkg.com in artifacts it writes, instead of avoiding that site."}