styrene-lab/omegon/security
Claude Code and agent skill by styrene-lab/omegon
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install styrene-lab/omegon/securitySemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as styrene-lab/omegon/security.
+++ id = "00bd7cab-e4dc-4c0b-a67b-421fac52f8ae" name = "security" description = "Defensive coding practices for implementation and review" tags = [] aliases = ["sec"] activation = "always" profile = ["coding"] +++
Security Skill
Defensive coding practices. Apply these checks during implementation and review.
Input Escaping
Never interpolate user input into templates, scripts, or SQL
Context matters — escape for the target language
| Context | Escape | Characters | |
|---|---|---|---|
| HTML body | HTML entities | & < > " | |
| HTML attribute | HTML entities + quote | & < > " ' | |
| JavaScript string | JS escapes | \ ' " < > \n \r | |
| URL parameter | encodeURIComponent | All non-unreserved | |
| SQL | Parameterized queries | Never interpolate | |
| Shell command | Avoid if possible | Use spawn(cmd, [args]) not exec(string) |
Path Traversal
Validate that resolved paths stay within the expected root
Reject suspicious path components
..segments- Null bytes (
%00,\0) - Absolute paths when relative expected
- Symlinks that escape the root (use
canonicalize/realpath)
Process Spawning
Use spawn with argument arrays, never shell interpolation
Never use stdio: "inherit" in TUI applications
Inherited stdio corrupts the terminal UI. Always use "pipe" or "ignore".
Limit pkill/killall scope
Set timeouts on child processes
Dependency Integrity
Pin CDN resources with Subresource Integrity (SRI)
Prefer bundling over CDN for offline-first tools
Secrets Management
- Never hardcode secrets — use environment variables or secret managers.
- Never log secrets — mask or omit sensitive values from log output.
- Never commit secrets — use
.gitignoreand pre-commit hooks. - Rotate on exposure — if a secret appears in a commit, rotate immediately.
TOCTOU (Time-of-Check to Time-of-Use)
When you check a condition and then act on it, the condition may change between check and action.
Checklist
Before submitting code that handles external input:
- [ ] All user/external input is escaped for its target context
- [ ] File paths are validated against a root directory
- [ ] Child processes use argument arrays, not shell strings
- [ ] No
stdio: "inherit"in TUI-hosted code - [ ] CDN resources have SRI hashes or are bundled locally
- [ ] No secrets in source code or logs
- [ ] Error messages don't leak internal paths or stack traces to end users
- [ ] Timeouts set on all network requests and child processes
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/security/SKILL.md
Popularity
- Repository stars
- 44
- Repository forks
- 10
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 24 May 2026, 6 months ago.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/styrene-lab/omegon/security)