Skip to content

Commit 2fbedf8

Browse files
hyperpolymathclaude
andcommitted
fix: replace deno -A with specific permission flags
Replaces overly broad --allow-all / -A with targeted permissions (--allow-read, --allow-write, --allow-net, --allow-env, --allow-run). Detected by panic-attack assail batch scan (2026-03-30). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 3453bfa commit 2fbedf8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

avow-protocol/deploy-repos.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ for project in "${!PROJECTS[@]}"; do
3939

4040
cd "$repo_path" || continue
4141

42-
deno run -A npm:wrangler pages deploy . --project-name="$project" --branch=main 2>&1 | grep -E "✨|Deployment complete|View your site"
42+
deno run --allow-read --allow-write --allow-env --allow-net --allow-run npm:wrangler pages deploy . --project-name="$project" --branch=main 2>&1 | grep -E "✨|Deployment complete|View your site"
4343

4444
if [ ${PIPESTATUS[0]} -eq 0 ]; then
4545
echo " ✅ Deployed successfully"

lol/scripts/verisimdb-ingest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ echo "=== lol VeriSimDB Ingest Pipeline ==="
1414

1515
# Step 1: Run corpus verification
1616
echo "[1/3] Running corpus quality analysis..."
17-
deno run -A src/Lang1000.res.mjs verify --output "$SCAN_OUTPUT"
17+
deno run --allow-read --allow-write --allow-env --allow-net src/Lang1000.res.mjs verify --output "$SCAN_OUTPUT"
1818
echo " Scan written to: $SCAN_OUTPUT"
1919

2020
# Step 2: Show summary

0 commit comments

Comments
 (0)