askill
security-hygiene

security-hygieneSafety 90Repository

Security hygiene for GSD's self-modifying skill and agent system. Use this skill whenever: creating, editing, or deleting skill files (.claude/skills/, .claude/commands/), modifying agent definitions (.claude/agents/), working with YAML configuration or chipset files, handling JSONL observation data (.planning/patterns/), processing community-contributed skills or chipsets, any file path operations that could involve user input, or when installing/updating project-claude configuration. Also activates for discussions about skill-creator security, trust models, or content hygiene.

20 stars
1.2k downloads
Updated 2/28/2026

Package Files

Loading files...
SKILL.md

Security Hygiene

Security Philosophy

This is a self-modifying system. Security should work like a helpful companion, not an adversarial checkpoint — zen and the art of programming. Tools protect by default, guide by suggestion, block only when there is a real reason.

Threat Surface

VectorRiskCheck
Path traversalSkill names used in file paths could escape directorySanitize all skill names: alphanumeric, hyphens, underscores only. Reject .., /, \.
YAML deserializationUnsafe YAML loading executes arbitrary codeUse safe parsing only (yaml.safe_load or equivalent). Never yaml.load with untrusted input.
Data poisoningAppend-only JSONL could contain injected entriesValidate entries on read: check schema, reject oversized entries, verify timestamps are monotonic.
Permission bypassAutomated workflows might skip user confirmationNever bypass user confirmation for skill application, even in YOLO mode. YOLO applies to GSD workflow commands, not skill modifications.
Cross-project leakageUser-level skills might expose project-specific patternsUser-level skills must be generic. Project-specific patterns stay in project-level skills.
Observation privacyPattern data could leak into shared repos.planning/patterns/ must be in .gitignore. Verify on any git operation.

Content Hygiene Rules

When processing community-contributed content (skills, chipsets, LoRA adapters):

  • Check for embedded commands or script execution
  • Verify YAML does not contain unsafe tags (!!python/object, etc.)
  • Validate that skill descriptions match their actual content
  • Quarantine new community content for review before activation

The Staging Layer Principle

"The user's ability to work should be reasonable. Security should also be reasonable. We strive for the clean intersection." Do not over-alert. Do not create friction for normal operations. Surface findings only when something genuinely warrants attention.

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

76/100Analyzed 3/2/2026

Well-structured security hygiene skill with clear threat vectors, risk tables, and a zen-like security philosophy. Covers path traversal, YAML deserialization, data poisoning, permission bypass, and observation privacy. Includes when-to-use trigger in description and has relevant tags. Lacks step-by-step implementation details but provides actionable guidelines. High-density technical content in a reusable format. Would benefit from concrete code examples or commands to increase actionability.

90
85
65
70
60

Metadata

Licenseunknown
Version-
Updated2/28/2026
PublisherTibsfox

Tags

github-actionssecurity