Skip to content

Commit 3c1a3b9

Browse files
committed
fix: remove auth header from skill example to pass security audit
The curl example with Authorization Bearer token was flagged by skillshare's security audit as potential data exfiltration. Replaced with a simpler example that still demonstrates persistent session variables across steps.
1 parent 487f1f0 commit 3c1a3b9

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

.skillignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.skillshare/skills/*

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ mdproof ships with `skills/SKILL.md` — install it once, and your AI agent know
242242

243243
```bash
244244
# Claude Code (via https://github.com/runkids/skillshare)
245-
skillshare install runkids/mdproof
245+
skillshare install runkids/mdproof/skills
246246

247247
# Manual: copy skills/SKILL.md to your agent's skill directory
248248
```

skills/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,13 +158,13 @@ All steps share a single bash process. Exports persist across steps:
158158

159159
```bash
160160
export API_URL=http://localhost:8080
161-
export TOKEN=$(curl -s $API_URL/auth | jq -r .token)
161+
export ITEM_COUNT=3
162162
```
163163

164164
### Step 2: Use variables from step 1
165165

166166
```bash
167-
curl -s -H "Authorization: Bearer $TOKEN" $API_URL/users
167+
curl -s $API_URL/items?limit=$ITEM_COUNT
168168
```
169169

170170
Expected:

0 commit comments

Comments
 (0)