idumb-security

Validate and sanitize Bash scripts for iDumb security vulnerabilities.

Updated Jan 31, 2026
One-click install
npx skills add https://github.com/shynlee04/idumb-plugin --skill idumb-security
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: idumb-security
Source: https://github.com/shynlee04/idumb-plugin/tree/main/src/skills/idumb-security
Command: npx skills add https://github.com/shynlee04/idumb-plugin --skill idumb-security

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Secure and validate Bash scripts used by iDumb to prevent security vulnerabilities, enforce path safety, and control agent permissions before actions are executed.

Core Features & Use Cases

  • Bash script validation: detects unsafe interpolation, unquoted variables, and risky patterns in scripts before they run.
  • Path sanitization: normalizes and restricts file paths to stay within the project scope.
  • Permission enforcement: validates agent permissions against a governance matrix to prevent privilege escalation.
  • Atomic operations & race-condition protection: provides safe file write patterns to avoid concurrent modification issues.
  • Use Case: When creating or updating iDumb components, run pre-write validations to catch security issues early.

Quick Start

Install and activate the iDumb security skill in your project, then run a pre-write scan to validate your bash scripts.

Frequently Asked Questions about idumb-security

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate Bash scripts for security vulnerabilities before execution?

Path sanitization normalizes and restricts file paths to stay within project scope. It prevents directory traversal by validating paths against defined boundaries before any file operations execute, ensuring agents cannot access files outside permitted directories.

How do I enforce agent permission checks against a governance matrix?

Permission enforcement validates agent permissions against a governance matrix to prevent privilege escalation. It checks requested actions against allowed scopes before execution, blocking unauthorized operations and ensuring agents operate only within their assigned permission levels.

What's the best way to prevent race conditions in concurrent file operations?

Atomic file operations provide safe write patterns that prevent concurrent modification issues. By implementing atomic writes, file operations either complete fully or fail without partial writes, eliminating race conditions during concurrent agent access.

When do I need to run pre-write security validation for Bash scripts?

Run pre-write validation whenever creating or updating components that involve Bash scripts. It applies across all agents during pre-write and pre-delegate phases to enforce path sanitization, permission checks, and race-condition prevention before any code is written or delegated.

Can I use path sanitization rules for scripts outside the project directory?

Path sanitization normalizes and restricts file paths to stay within project scope. Scripts attempting to access paths outside defined project boundaries are flagged and blocked, preventing unauthorized file access beyond the permitted directory structure.