Skip to content

Commit ab6ebd6

Browse files
hyperpolymathclaude
andcommitted
fix: replace deno -A with specific permission flags
Replaces overly broad -A with targeted permissions. Detected by panic-attack assail batch scan (2026-03-30). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c91dec8 commit ab6ebd6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

setup-kinoite-dev.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -314,13 +314,13 @@ deno --version
314314
# ReScript via Deno
315315
cat > ~/.local/bin/rescript << 'EOF'
316316
#!/bin/sh
317-
exec deno run -A npm:rescript "$@"
317+
exec deno run --allow-read --allow-write --allow-env --allow-run --allow-net npm:rescript "$@"
318318
EOF
319319
chmod +x ~/.local/bin/rescript
320320
321321
# Useful Deno tools
322-
deno install -Agf --name=fresh https://deno.land/x/fresh/init.ts
323-
deno install -Agf jsr:@anthropic-ai/claude-code
322+
deno install --allow-read --allow-write --allow-env --allow-net --allow-run -gf --name=fresh https://deno.land/x/fresh/init.ts
323+
deno install --allow-read --allow-write --allow-env --allow-net --allow-run -gf jsr:@anthropic-ai/claude-code
324324
325325
echo "ReScript + Deno environment ready!"
326326
echo "Remember: NO npm/node/bun in production (per language policy)"

0 commit comments

Comments
 (0)