Skip to main content

setup-browser-cookies

Imports cookies from a real Chromium browser into a headless session for QA testing of authenticated pages.

Install this skill

or
0/100

Security score

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

Categories Tested

Security Issues

medium line 20

Template literal with variable interpolation in command context

SourceSKILL.md
20```bash
medium line 419

Curl to non-GitHub URL

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
23mkdir -p ~/.gstack/sessions
low line 24

Access to hidden dotfiles in home directory

SourceSKILL.md
24touch ~/.gstack/sessions/"$PPID"
low line 25

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
46mkdir -p ~/.gstack/analytics
low line 48

Access to hidden dotfiles in home directory

SourceSKILL.md
48echo '{"skill":"setup-browser-cookies","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":"'$(basename "$(git rev-parse --show-toplevel 2>/dev/null)" 2>/dev/null || echo "unknown")'"}' >> ~/.gstack/analy
low line 51

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
54~/.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 61

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
93`~/.claude/skills/gstack/[skill-name]/SKILL.md` for reading skill files.
medium line 95

Access to hidden dotfiles in home directory

SourceSKILL.md
95If 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
low line 104

Access to hidden dotfiles in home directory

SourceSKILL.md
104touch ~/.gstack/.completeness-intro-seen
medium line 121

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
137touch ~/.gstack/.telemetry-prompted
medium line 153

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
158touch ~/.gstack/.proactive-prompted
medium line 203

Access to hidden dotfiles in home directory

SourceSKILL.md
203If B: run `~/.claude/skills/gstack/bin/gstack-config set routing_declined true`
low line 252

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
267`~/.gstack/analytics/` (user config directory, not project files). The skill
low line 276

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
278~/.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 281

Access to hidden dotfiles in home directory

SourceSKILL.md
281echo '{"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 284

Access to hidden dotfiles in home directory

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

Access to hidden dotfiles in home directory

SourceSKILL.md
285~/.claude/skills/gstack/bin/gstack-telemetry-log \
medium line 304

Access to hidden dotfiles in home directory

SourceSKILL.md
304- Writing to `~/.gstack/` (config, analytics, review logs, design artifacts, learnings)
medium line 345

Access to hidden dotfiles in home directory

SourceSKILL.md
345~/.claude/skills/gstack/bin/gstack-review-read
low line 402

Access to hidden dotfiles in home directory

SourceSKILL.md
402[ -z "$B" ] && B=~/.claude/skills/gstack/browse/dist/browse
high line 469

Access to system keychain/keyring

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

External URL reference

SourceSKILL.md
99thing when AI makes the marginal cost near-zero. Read more: https://garryslist.org/posts/boil-the-ocean"
low line 103

External URL reference

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

External URL reference

SourceSKILL.md
419curl -fsSL "https://bun.sh/install" -o "$tmpfile"
Scanned on Jun 3, 2026
View Security Dashboard
Installation guide →
GitHub Stars 4
Rate this skill
Categorydevops
UpdatedJune 15, 2026
forbotsake/forbotsake