security-scan

Solid

Lightweight security hygiene for agent configs (skills/hooks/MCP/settings). Use before enabling automation, after config changes, and before release.

AI & Automation 52 stars 6 forks Updated today MIT

Install

View on GitHub

Quality Score: 82/100

Stars 20%
57
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
94
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Security Scan ## Trigger Use this skill when: - Onboarding a new repo with agent automation enabled - Editing skills, hooks, MCP config, or client settings - Before publishing/releasing changes that affect other projects ## Mandatory Privacy Rule (No Bypass) - For config-like files that may contain keys/tokens/passwords, **do not read raw file content directly**. - Always read through Privacy Guard first: - `aios privacy read --file <path>` (preferred) - or `node scripts/privacy-guard.mjs read --file <path>` - If Privacy Guard reports guard-disabled for sensitive files, enable it first: - `aios privacy enable` ## Quick Path - Ensure strict mode is on: `aios privacy enforce-on` - Run the repo verifier: `aios doctor` (preferred when shell integration is installed). - Or run: `scripts/doctor-security-config.sh` / `scripts/doctor-security-config.ps1`. ## What To Check (Minimum) 1. **Secrets** - No API keys/tokens/cookies committed to git. - Prefer env vars + local-only config files ignored by git. - Use Privacy Guard read output when inspection is required. - If scanning finds secrets, rotate them, then remove from history if needed. 2. **Tool/permission scope** - Avoid wildcard allowlists (when the client supports allow/deny config). - Prefer least-privilege tool access and explicit denies for destructive actions. 3. **Hooks safety** - Avoid `curl | bash`, silent error suppression, and untrusted string interpolation. - Treat any network egre...

Details

Author
rexleimo
Repository
rexleimo/aios
Created
6 months ago
Last Updated
today
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

security-scan

Runs a repository or path security scan and produces a severity-ranked report covering hardcoded secrets and credential patterns, dependency CVEs via npm audit and equivalents, OWASP code patterns such as SQL injection, XSS, SSRF, path traversal and insecure deserialization, unsafe file permissions, and missing HTTP security headers. Use when a scan, audit, or vulnerability check is actually being asked for — /security-scan, scan for vulnerabilities, security audit, check for leaked secrets — or before shipping new code that adds authentication, cryptography, input handling, SQL, or file uploads. Reading, explaining, or editing code that merely happens to touch auth or SQL does not warrant it, since it emits a full scan report rather than an inline observation.

7 Updated 4 weeks ago
pfangueiro
AI & Automation Listed

my-security-review-checklist

Pre-merge security gate for agent tooling - skills, subagents, slash commands, hooks, shell and sync scripts, dotfiles, settings.json, and plugin/MCP trust. Also scans shared tooling for user-specific absolute paths, device overfitting and hardcoded personal constants, and can fix them. Scans any file an agent reads as instructions for text hidden from the human reviewer (invisible Unicode, tag smuggling, zero-width characters, bidi overrides), so use it whenever asked whether a skill, prompt, rules file or pasted content has hidden instructions in it. MUST be used before committing any change to ~/.agents or ~/.claude, before keeping a new or changed hook, before trusting a plugin or MCP server, and for any automation that consumes untrusted agent/LLM/web output.

1 Updated 1 weeks ago
anton-winter-arch