Skip to content

Fix skill security flags: prevent shell injection and scope permissions#12

Merged
arberx merged 2 commits intomainfrom
arberx/fix-skill-shell-inject
Mar 9, 2026
Merged

Fix skill security flags: prevent shell injection and scope permissions#12
arberx merged 2 commits intomainfrom
arberx/fix-skill-shell-inject

Conversation

@arberx
Copy link
Copy Markdown
Member

@arberx arberx commented Mar 9, 2026

Summary

  • Prevent shell injection by removing $ARGUMENTS interpolation and replacing with safe quoted placeholders
  • Add explicit Argument Safety section requiring URL validation and rejection of shell metacharacters
  • Scope Edit/Write permissions to specific file types (html, json, md, txt, xml) and files (llms.txt, llms-full.txt)
  • Bump version to 1.2.2

Changes

  • skills/aeo/SKILL.md: Fixed allowed-tools permissions and added security guardrails
  • package.json: Version bump

🤖 Generated with Claude Code

arberx and others added 2 commits March 9, 2026 16:21
…issions

- Replace $ARGUMENTS shell interpolation with safe quoted placeholders
- Add Argument Safety section instructing validation of URLs and rejection of shell metacharacters
- Scope Edit permissions to specific file types (*.html, *.json, *.md, *.txt, *.xml)
- Scope Write permissions to specific files (llms.txt, llms-full.txt)
- Bump version to 1.2.2

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@arberx arberx merged commit 59d43e6 into main Mar 9, 2026
2 checks passed
@arberx arberx deleted the arberx/fix-skill-shell-inject branch March 9, 2026 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant