Skip to content
Back to skills

CommandPathSafety

ASecurity

USE WHEN hardening command execution, path handling, or installer boundaries.

  • 30 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 4, 2026
ai-agentsshellsecurity

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned October 4, 2026

npx -y skills add RohiRIK/OpenLtm --skill CommandPathSafety --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of CommandPathSafety?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for CommandPathSafety
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rohirik-commandpathsafety/badge)](https://www.skillsdirectory.com/skills/rohirik-commandpathsafety)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: command-path-safety
description: "USE WHEN hardening command execution, path handling, or installer boundaries."
---

# Command Path Safety

Treat commands and paths as structured, validated inputs.

## Workflow Routing

| Workflow | Trigger | File |
|---------|---------|------|
| **HardenCommandExecution** | "command injection", "shell safety", "exec hardening", "safe subprocess" | `Workflows/HardenCommandExecution.md` |
| **EnforcePathBoundaries** | "path traversal", "zip slip", "installer safety", "path boundaries" | `Workflows/EnforcePathBoundaries.md` |

## SkillSearch

- Command injection guidance: `SkillSearch('command path safety command injection patterns')` → loads `CommandInjectionPatterns.md`
- Path and installer guidance: `SkillSearch('command path safety path traversal installer safety')` → loads `PathTraversalAndInstallerSafety.md`

## Use This Skill To

- Replace shell interpolation with validated structured execution.
- Enforce path roots for writes, extraction, and installer operations.
- Review archive and installer behavior for traversal and boundary escapes.

## Not This Skill

- Not for exploit scanning, malware analysis, or final security verdicts.
- Hand off to @aegis for deep audits, exploitability assessment, or repo-wide review.

Files in this skill

  • CommandInjectionPatterns.md2.5 KB
  • PathTraversalAndInstallerSafety.md3.1 KB
  • SKILL.md1.3 KB
  • Workflows/EnforcePathBoundaries.md1.3 KB
  • Workflows/HardenCommandExecution.md1.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.