Skip to main content

setup-browser-cookies

Imports cookies from real browsers into headless sessions for QA testing, enhancing authentication handling in automated tests.

Install this skill

or
0/100

Security score

The setup-browser-cookies skill was audited on Jun 10, 2026 and we found 69 security issues across 5 threat categories, including 1 high-severity. Review the findings below before installing.

Categories Tested

Security Issues

medium line 27

Template literal with variable interpolation in command context

SourceSKILL.md
27```bash
medium line 277

Template literal with variable interpolation in command context

SourceSKILL.md
277```bash
medium line 293

Template literal with variable interpolation in command context

SourceSKILL.md
293```bash
medium line 327

Template literal with variable interpolation in command context

SourceSKILL.md
327echo "before relying on \`gbrain search\` for code questions in this worktree."
medium line 542

Curl to non-GitHub URL

SourceSKILL.md
542curl -fsSL "https://bun.sh/install" -o "$tmpfile"
low line 28

Access to hidden dotfiles in home directory

SourceSKILL.md
28_UPD=$(~/.claude/skills/gstack/bin/gstack-update-check 2>/dev/null || .claude/skills/gstack/bin/gstack-update-check 2>/dev/null || true)
low line 30

Access to hidden dotfiles in home directory

SourceSKILL.md
30mkdir -p ~/.gstack/sessions
low line 31

Access to hidden dotfiles in home directory

SourceSKILL.md
31touch ~/.gstack/sessions/"$PPID"
low line 32

Access to hidden dotfiles in home directory

SourceSKILL.md
32_SESSIONS=$(find ~/.gstack/sessions -mmin -120 -type f 2>/dev/null | wc -l | tr -d ' ')
low line 33

Access to hidden dotfiles in home directory

SourceSKILL.md
33find ~/.gstack/sessions -mmin +120 -type f -exec rm {} + 2>/dev/null || true
low line 34

Access to hidden dotfiles in home directory

SourceSKILL.md
34_PROACTIVE=$(~/.claude/skills/gstack/bin/gstack-config get proactive 2>/dev/null || echo "true")
low line 35

Access to hidden dotfiles in home directory

SourceSKILL.md
35_PROACTIVE_PROMPTED=$([ -f ~/.gstack/.proactive-prompted ] && echo "yes" || echo "no")
low line 38

Access to hidden dotfiles in home directory

SourceSKILL.md
38_SKILL_PREFIX=$(~/.claude/skills/gstack/bin/gstack-config get skill_prefix 2>/dev/null || echo "false")
low line 42

Access to hidden dotfiles in home directory

SourceSKILL.md
42source <(~/.claude/skills/gstack/bin/gstack-repo-mode 2>/dev/null) || true
low line 45

Access to hidden dotfiles in home directory

SourceSKILL.md
45_SESSION_KIND=$(~/.claude/skills/gstack/bin/gstack-session-kind 2>/dev/null || echo "interactive")
low line 48

Access to hidden dotfiles in home directory

SourceSKILL.md
48_LAKE_SEEN=$([ -f ~/.gstack/.completeness-intro-seen ] && echo "yes" || echo "no")
low line 50

Access to hidden dotfiles in home directory

SourceSKILL.md
50_TEL=$(~/.claude/skills/gstack/bin/gstack-config get telemetry 2>/dev/null || true)
low line 51

Access to hidden dotfiles in home directory

SourceSKILL.md
51_TEL_PROMPTED=$([ -f ~/.gstack/.telemetry-prompted ] && echo "yes" || echo "no")
low line 56

Access to hidden dotfiles in home directory

SourceSKILL.md
56_EXPLAIN_LEVEL=$(~/.claude/skills/gstack/bin/gstack-config get explain_level 2>/dev/null || echo "default")
low line 59

Access to hidden dotfiles in home directory

SourceSKILL.md
59_QUESTION_TUNING=$(~/.claude/skills/gstack/bin/gstack-config get question_tuning 2>/dev/null || echo "false")
low line 61

Access to hidden dotfiles in home directory

SourceSKILL.md
61mkdir -p ~/.gstack/analytics
low line 63

Access to hidden dotfiles in home directory

SourceSKILL.md
63echo '{"skill":"setup-browser-cookies","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":"'$(_repo=$(basename "$(git rev-parse --show-toplevel 2>/dev/null)" 2>/dev/null | tr -cd 'a-zA-Z0-9._-'); echo "${
low line 65

Access to hidden dotfiles in home directory

SourceSKILL.md
65for _PF in $(find ~/.gstack/analytics -maxdepth 1 -name '.pending-*' 2>/dev/null); do
low line 67

Access to hidden dotfiles in home directory

SourceSKILL.md
67if [ "$_TEL" != "off" ] && [ -x "~/.claude/skills/gstack/bin/gstack-telemetry-log" ]; then
low line 68

Access to hidden dotfiles in home directory

SourceSKILL.md
68~/.claude/skills/gstack/bin/gstack-telemetry-log --event-type skill_run --skill _pending_finalize --outcome unknown --session-id "$_SESSION_ID" 2>/dev/null || true
low line 74

Access to hidden dotfiles in home directory

SourceSKILL.md
74eval "$(~/.claude/skills/gstack/bin/gstack-slug 2>/dev/null)" 2>/dev/null || true
low line 80

Access to hidden dotfiles in home directory

SourceSKILL.md
80~/.claude/skills/gstack/bin/gstack-learnings-search --limit 3 2>/dev/null || true
low line 85

Access to hidden dotfiles in home directory

SourceSKILL.md
85~/.claude/skills/gstack/bin/gstack-timeline-log '{"skill":"setup-browser-cookies","event":"started","branch":"'"$_BRANCH"'","session":"'"$_SESSION_ID"'"}' 2>/dev/null &
low line 90

Access to hidden dotfiles in home directory

SourceSKILL.md
90_ROUTING_DECLINED=$(~/.claude/skills/gstack/bin/gstack-config get routing_declined 2>/dev/null || echo "false")
low line 101

Access to hidden dotfiles in home directory

SourceSKILL.md
101_CHECKPOINT_MODE=$(~/.claude/skills/gstack/bin/gstack-config get checkpoint_mode 2>/dev/null || echo "explicit")
low line 102

Access to hidden dotfiles in home directory

SourceSKILL.md
102_CHECKPOINT_PUSH=$(~/.claude/skills/gstack/bin/gstack-config get checkpoint_push 2>/dev/null || echo "false")
medium line 123

Access to hidden dotfiles in home directory

SourceSKILL.md
123In plan mode, allowed because they inform the plan: `$B`, `$D`, `codex exec`/`codex review`, writes to `~/.gstack/`, writes to the plan file, and `open` for generated artifacts.
medium line 131

Access to hidden dotfiles in home directory

SourceSKILL.md
131If `SKILL_PREFIX` is `"true"`, suggest/invoke `/gstack-*` names. Disk paths stay `~/.claude/skills/gstack/[skill-name]/SKILL.md`.
medium line 133

Access to hidden dotfiles in home directory

SourceSKILL.md
133If output shows `UPGRADE_AVAILABLE <old> <new>`: read `~/.claude/skills/gstack/gstack-upgrade/SKILL.md` and follow the "Inline upgrade flow" (auto-upgrade if configured, otherwise AskUserQuestion with
medium line 138

Access to hidden dotfiles in home directory

SourceSKILL.md
138- Missing `~/.claude/skills/gstack/.feature-prompted-continuous-checkpoint`: AskUserQuestion for Continuous checkpoint auto-commits. If accepted, run `~/.claude/skills/gstack/bin/gstack-config set che
medium line 139

Access to hidden dotfiles in home directory

SourceSKILL.md
139- Missing `~/.claude/skills/gstack/.feature-prompted-model-overlay`: inform "Model overlays are active. MODEL_OVERLAY shows the patch." Always touch marker.
medium line 152

Access to hidden dotfiles in home directory

SourceSKILL.md
152If B: run `~/.claude/skills/gstack/bin/gstack-config set explain_level terse`.
low line 156

Access to hidden dotfiles in home directory

SourceSKILL.md
156rm -f ~/.gstack/.writing-style-prompt-pending
low line 157

Access to hidden dotfiles in home directory

SourceSKILL.md
157touch ~/.gstack/.writing-style-prompted
low line 166

Access to hidden dotfiles in home directory

SourceSKILL.md
166touch ~/.gstack/.completeness-intro-seen
medium line 179

Access to hidden dotfiles in home directory

SourceSKILL.md
179If A: run `~/.claude/skills/gstack/bin/gstack-config set telemetry community`
medium line 189

Access to hidden dotfiles in home directory

SourceSKILL.md
189If B→A: run `~/.claude/skills/gstack/bin/gstack-config set telemetry anonymous`
medium line 190

Access to hidden dotfiles in home directory

SourceSKILL.md
190If B→B: run `~/.claude/skills/gstack/bin/gstack-config set telemetry off`
low line 194

Access to hidden dotfiles in home directory

SourceSKILL.md
194touch ~/.gstack/.telemetry-prompted
medium line 207

Access to hidden dotfiles in home directory

SourceSKILL.md
207If A: run `~/.claude/skills/gstack/bin/gstack-config set proactive true`
medium line 208

Access to hidden dotfiles in home directory

SourceSKILL.md
208If B: run `~/.claude/skills/gstack/bin/gstack-config set proactive false`
low line 212

Access to hidden dotfiles in home directory

SourceSKILL.md
212touch ~/.gstack/.proactive-prompted
medium line 254

Access to hidden dotfiles in home directory

SourceSKILL.md
254If B: run `~/.claude/skills/gstack/bin/gstack-config set routing_declined true` and say they can re-enable with `gstack-config set routing_declined false`.
medium line 258

Access to hidden dotfiles in home directory

SourceSKILL.md
258If `VENDORED_GSTACK` is `yes`, warn once via AskUserQuestion unless `~/.gstack/.vendoring-warned-$SLUG` exists:
medium line 270

Access to hidden dotfiles in home directory

SourceSKILL.md
2703. Run `~/.claude/skills/gstack/bin/gstack-team-init required` (or `optional`)
medium line 272

Access to hidden dotfiles in home directory

SourceSKILL.md
2725. Tell the user: "Done. Each developer now runs: `cd ~/.claude/skills/gstack && ./setup --team`"
low line 278

Access to hidden dotfiles in home directory

SourceSKILL.md
278eval "$(~/.claude/skills/gstack/bin/gstack-slug 2>/dev/null)" 2>/dev/null || true
low line 279

Access to hidden dotfiles in home directory

SourceSKILL.md
279touch ~/.gstack/.vendoring-warned-${SLUG:-unknown}
low line 302

Access to hidden dotfiles in home directory

SourceSKILL.md
302_BRAIN_SYNC_BIN="~/.claude/skills/gstack/bin/gstack-brain-sync"
low line 303

Access to hidden dotfiles in home directory

SourceSKILL.md
303_BRAIN_CONFIG_BIN="~/.claude/skills/gstack/bin/gstack-config"
medium line 407

Access to hidden dotfiles in home directory

SourceSKILL.md
407If A/B and `~/.gstack/.git` is missing, ask whether to run `gstack-artifacts-init`. Do not block the skill.
low line 412

Access to hidden dotfiles in home directory

SourceSKILL.md
412"~/.claude/skills/gstack/bin/gstack-brain-sync" --discover-new 2>/dev/null || true
low line 413

Access to hidden dotfiles in home directory

SourceSKILL.md
413"~/.claude/skills/gstack/bin/gstack-brain-sync" --once 2>/dev/null || true
low line 458

Access to hidden dotfiles in home directory

SourceSKILL.md
458~/.claude/skills/gstack/bin/gstack-learnings-log '{"skill":"SKILL_NAME","type":"operational","key":"SHORT_KEY","insight":"DESCRIPTION","confidence":N,"source":"observed"}'
medium line 468

Access to hidden dotfiles in home directory

SourceSKILL.md
468`~/.gstack/analytics/`, matching preamble analytics writes.
low line 475

Access to hidden dotfiles in home directory

SourceSKILL.md
475rm -f ~/.gstack/analytics/.pending-"$_SESSION_ID" 2>/dev/null || true
low line 477

Access to hidden dotfiles in home directory

SourceSKILL.md
477~/.claude/skills/gstack/bin/gstack-timeline-log '{"skill":"SKILL_NAME","event":"completed","branch":"'$(git branch --show-current 2>/dev/null || echo unknown)'","outcome":"OUTCOME","duration_s":"'"$_T
low line 480

Access to hidden dotfiles in home directory

SourceSKILL.md
480echo '{"skill":"SKILL_NAME","duration_s":"'"$_TEL_DUR"'","outcome":"OUTCOME","browse":"USED_BROWSE","session":"'"$_SESSION_ID"'","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'"}' >> ~/.gstack/analytics/skill-
low line 483

Access to hidden dotfiles in home directory

SourceSKILL.md
483if [ "$_TEL" != "off" ] && [ -x ~/.claude/skills/gstack/bin/gstack-telemetry-log ]; then
low line 484

Access to hidden dotfiles in home directory

SourceSKILL.md
484~/.claude/skills/gstack/bin/gstack-telemetry-log \
high line 592

Access to system keychain/keyring

SourceSKILL.md
592- On macOS, the first import per browser may trigger a Keychain dialog — click "Allow" / "Always Allow"
low line 162

External URL reference

SourceSKILL.md
162If `LAKE_INTRO` is `no`: say "gstack follows the **Boil the Ocean** principle — do the complete thing when AI makes marginal cost near-zero. Read more: https://garryslist.org/posts/boil-the-ocean" Off
low line 165

External URL reference

SourceSKILL.md
165open https://garryslist.org/posts/boil-the-ocean
low line 542

External URL reference

SourceSKILL.md
542curl -fsSL "https://bun.sh/install" -o "$tmpfile"
Scanned on Jun 10, 2026
View Security Dashboard
Installation guide →