[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7387WVSPY9JXASVH0K4AM2D":3,"skill-same:01M7387WVSPY9JXASVH0K4AM2D":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7387WVSPY9JXASVH0K4AM2D","secure",null,"Security audit a codebase path — OWASP Top 10 (2025), secrets, dependency CVEs, misconfigs; write severity-ranked report to myreports\u002F","EmilMachine\u002Fskillhub","EmilMachine","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1059795?v=4","01M738757MAF6GYJQT5DEQ27VN","Emil Pedersen","01M738758D64SZB299E32GD9QB",2,"MIT","https:\u002F\u002Fgithub.com\u002FEmilMachine\u002Fskillhub\u002Fblob\u002Fmain\u002Fplugins\u002Fdev-essentials\u002Fskills\u002Fsecure\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: secure\ndescription: Security audit a codebase path — OWASP Top 10 (2025), secrets, dependency CVEs, misconfigs; write severity-ranked report to myreports\u002F\nargument-hint: \u003Cpath> (optional, defaults to .)\n---\n\n**IMMEDIATE EXIT if path invalid:**\n- If `$ARGUMENTS` is non-empty and the path does not exist: output \"❌ Path not found: $ARGUMENTS\" and STOP.\n\nTarget: `$ARGUMENTS` (default `.`)\n\n1. Detect stack — check for `package.json`, `requirements.txt`, `go.mod`, `Gemfile`, `Cargo.toml`, `pom.xml`\n\n2. Run available CLI scanners (skip silently if not installed):\n   - **SAST:** `semgrep --config p\u002Fsecurity-audit --config p\u002Fowasp-top-ten \u003Ctarget> --json 2>\u002Fdev\u002Fnull`\n   - **Secrets:** `gitleaks detect --source \u003Ctarget> --no-git 2>\u002Fdev\u002Fnull`\n   - **Python deps:** `pip-audit -r requirements.txt 2>\u002Fdev\u002Fnull` (preferred over `safety`)\n   - **Node deps:** `npm audit --json 2>\u002Fdev\u002Fnull` (if package.json present)\n   - **Deps (general):** `grype dir:\u003Ctarget> 2>\u002Fdev\u002Fnull`\n\n3. If no scanners available: use `grep` + `Read` for manual pattern matching\n   - raise request to install proper tool to user.\n\n4. Manual checks — always run regardless of scanner output, cite `file:line`:\n   - **Secrets:** regex `(?i)(api[_-]?key|secret|password|token|private[_-]?key)\\s*[=:]\\s*['\"][^'\"]{8,}`; also scan `.env*` files\n   - **Injection (OWASP A03):** unsanitised input reaching `exec`, `eval`, `query`, `system`, `subprocess`, `os.popen`, template literals in SQL\n   - **Broken Access Control (OWASP A01\u002FA10):** missing auth guards, path traversal `..\u002F`, SSRF (user-controlled URLs passed to HTTP clients), open redirects\n   - **Auth failures (OWASP A07):** weak hashing (MD5\u002FSHA1\u002FDES), hardcoded credentials, missing JWT validation, no MFA enforcement\n   - **Misconfig (OWASP A05):** `DEBUG=True`, open CORS (`*`), HTTP endpoints, world-readable secrets files, missing security headers (`X-Frame-Options`, `Content-Security-Policy`, `Strict-Transport-Security`)\n   - **Exceptional conditions (OWASP A10 2025):** bare `except:` clauses, exception handlers that return success, swallowed errors\n\n5. Allowed: up to 5 WebSearch queries for CVE lookups, library-specific known issues, or exploit pattern verification\n\n6. Severity scale — Critical (RCE\u002Fauth bypass\u002Fexposed secrets) | High (injection\u002Fprivesc) | Medium (misconfig\u002Finfo leak) | Low (hardening gaps)\n\n7. Determine label: basename of the resolved target path, with file extension stripped\n\n8. `mkdir -p myreports` and create `myreports\u002F.gitignore` (`*`) if it doesn't exist\n\n9. Write report to `myreports\u002Fsecure-\u003Clabel>.md`:\n   - Header: `# Security Audit: \u003Ctarget> — \u003CYYYY-MM-DD>`\n   - Summary line: `Critical: N | High: N | Medium: N | Low: N`\n   - Findings sorted Critical → Low; format: `- [SEVERITY] file:line — description`\n   - Sections: Secrets \u002F Injection \u002F Access Control \u002F Auth \u002F Misconfig \u002F Dependencies \u002F Exceptional Conditions\n   - \"None found\" for clean sections\n\n10. Output: \"✅ Security report written to myreports\u002Fsecure-\u003Clabel>.md\"\n","**IMMEDIATE EXIT if path invalid:**\n- If `$ARGUMENTS` is non-empty and the path does not exist: output \"❌ Path not found: $ARGUMENTS\" and STOP.\n\nTarget: `$ARGUMENTS` (default `.`)\n\n1. Detect stack — check for `package.json`, `requirements.txt`, `go.mod`, `Gemfile`, `Cargo.toml`, `pom.xml`\n\n2. Run available CLI scanners (skip silently if not installed):\n   - **SAST:** `semgrep --config p\u002Fsecurity-audit --config p\u002Fowasp-top-ten \u003Ctarget> --json 2>\u002Fdev\u002Fnull`\n   - **Secrets:** `gitleaks detect --source \u003Ctarget> --no-git 2>\u002Fdev\u002Fnull`\n   - **Python deps:** `pip-audit -r requirements.txt 2>\u002Fdev\u002Fnull` (preferred over `safety`)\n   - **Node deps:** `npm audit --json 2>\u002Fdev\u002Fnull` (if package.json present)\n   - **Deps (general):** `grype dir:\u003Ctarget> 2>\u002Fdev\u002Fnull`\n\n3. If no scanners available: use `grep` + `Read` for manual pattern matching\n   - raise request to install proper tool to user.\n\n4. Manual checks — always run regardless of scanner output, cite `file:line`:\n   - **Secrets:** regex `(?i)(api[_-]?key|secret|password|token|private[_-]?key)\\s*[=:]\\s*['\"][^'\"]{8,}`; also scan `.env*` files\n   - **Injection (OWASP A03):** unsanitised input reaching `exec`, `eval`, `query`, `system`, `subprocess`, `os.popen`, template literals in SQL\n   - **Broken Access Control (OWASP A01\u002FA10):** missing auth guards, path traversal `..\u002F`, SSRF (user-controlled URLs passed to HTTP clients), open redirects\n   - **Auth failures (OWASP A07):** weak hashing (MD5\u002FSHA1\u002FDES), hardcoded credentials, missing JWT validation, no MFA enforcement\n   - **Misconfig (OWASP A05):** `DEBUG=True`, open CORS (`*`), HTTP endpoints, world-readable secrets files, missing security headers (`X-Frame-Options`, `Content-Security-Policy`, `Strict-Transport-Security`)\n   - **Exceptional conditions (OWASP A10 2025):** bare `except:` clauses, exception handlers that return success, swallowed errors\n\n5. Allowed: up to 5 WebSearch queries for CVE lookups, library-specific known issues, or exploit pattern verification\n\n6. Severity scale — Critical (RCE\u002Fauth bypass\u002Fexposed secrets) | High (injection\u002Fprivesc) | Medium (misconfig\u002Finfo leak) | Low (hardening gaps)\n\n7. Determine label: basename of the resolved target path, with file extension stripped\n\n8. `mkdir -p myreports` and create `myreports\u002F.gitignore` (`*`) if it doesn't exist\n\n9. Write report to `myreports\u002Fsecure-\u003Clabel>.md`:\n   - Header: `# Security Audit: \u003Ctarget> — \u003CYYYY-MM-DD>`\n   - Summary line: `Critical: N | High: N | Medium: N | Low: N`\n   - Findings sorted Critical → Low; format: `- [SEVERITY] file:line — description`\n   - Sections: Secrets \u002F Injection \u002F Access Control \u002F Auth \u002F Misconfig \u002F Dependencies \u002F Exceptional Conditions\n   - \"None found\" for clean sections\n\n10. Output: \"✅ Security report written to myreports\u002Fsecure-\u003Clabel>.md\"\n",{"name":5,"description":7,"argument-hint":24},"\u003Cpath> (optional, defaults to .)","main","f0924249f35fdf62b3c9e931a96bb7f42a41cff8","plugins\u002Fdev-essentials\u002Fskills\u002Fsecure",1,"https:\u002F\u002Fgithub.com\u002FEmilMachine\u002Fskillhub","https:\u002F\u002Fgithub.com\u002FEmilMachine","2026-10-19 21:10:20",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add EmilMachine\u002Fskillhub --skill secure",{"tool":38,"command":39},"bunx","bunx skills add EmilMachine\u002Fskillhub --skill secure",{"tool":41,"command":42},"pnpm","pnpm dlx skills add EmilMachine\u002Fskillhub --skill secure","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FEmilMachine\u002Fskillhub\u002Fblob\u002Fmain\u002Fplugins\u002Fdev-essentials\u002Fskills\u002Fsecure\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7388SF481DJKA0MJW7NT8DN","example","Brief description of what this skill does","https:\u002F\u002Fgithub.com\u002FEmilMachine\u002Fskillhub\u002Fblob\u002Fmain\u002Ftemplates\u002Fplugin-template\u002Fskills\u002Fexample\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7388Q483FZ4X0FM2T62KRQY","mdupdate","Refine .md file by integrating user's inline answers","https:\u002F\u002Fgithub.com\u002FEmilMachine\u002Fskillhub\u002Fblob\u002Fmain\u002Fplugins\u002Fmd3step\u002Fskills\u002Fmdupdate\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7388MS8MN3XQJZ1Q1NX0MRZ","mdresearch","Research codebase state from context file","https:\u002F\u002Fgithub.com\u002FEmilMachine\u002Fskillhub\u002Fblob\u002Fmain\u002Fplugins\u002Fmd3step\u002Fskills\u002Fmdresearch\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7388JCJAZAGP8XPY4G2EPCP","mdplan","Generate step-by-step implementation plan from research","https:\u002F\u002Fgithub.com\u002FEmilMachine\u002Fskillhub\u002Fblob\u002Fmain\u002Fplugins\u002Fmd3step\u002Fskills\u002Fmdplan\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7388FY0Q07CN0ET2GZ3ZECN","mdimplement","Execute implementation plan with testing and verification","https:\u002F\u002Fgithub.com\u002FEmilMachine\u002Fskillhub\u002Fblob\u002Fmain\u002Fplugins\u002Fmd3step\u002Fskills\u002Fmdimplement\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7388DXBE1Q4SSXHHNHCFP0Z","ruff","Format and lint-fix Python file(s) or directory via ruff format + ruff check --fix","https:\u002F\u002Fgithub.com\u002FEmilMachine\u002Fskillhub\u002Fblob\u002Fmain\u002Fplugins\u002Fdev-py\u002Fskills\u002Fruff\u002FSKILL.md",[],[]]