[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M755V2FY7ZGY0FDTVJ62ZGCV":3,"skill-same:01M755V2FY7ZGY0FDTVJ62ZGCV":79},{"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":29,"commitSha":30,"skillDirectory":5,"forksCount":14,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M755V2FY7ZGY0FDTVJ62ZGCV","performing-security-testing",null,"Test automate security vulnerability testing covering OWASP Top 10, SQL injection, XSS, CSRF, and authentication issues.\nUse when performing security assessments, penetration tests, or vulnerability scans.\nTrigger with phrases like \"scan for vulnerabilities\", \"test security\", or \"run penetration test\".","SamuelChien\u002Fmega-skills-collection","SamuelChien","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F4652114?v=4","01M74KK34WVHA0P5ZYSJRDDFMG","Samuel Chien","01M74KK35FQN1N9VZ9EPTH3P2S",0,"MIT","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fperforming-security-testing\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: performing-security-testing\ndescription: |\n  Test automate security vulnerability testing covering OWASP Top 10, SQL injection, XSS, CSRF, and authentication issues.\n  Use when performing security assessments, penetration tests, or vulnerability scans.\n  Trigger with phrases like \"scan for vulnerabilities\", \"test security\", or \"run penetration test\".\n\nallowed-tools: Read, Write, Edit, Grep, Glob, Bash(test:security-*)\nversion: 1.0.0\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\nlicense: MIT\ncompatible-with: claude-code, codex, openclaw\n---\n# Security Test Scanner\n\n## Overview\n\nAutomate security vulnerability detection covering OWASP Top 10 categories including SQL injection, XSS, CSRF, broken authentication, and sensitive data exposure. Combines static analysis (source code scanning with Semgrep, Bandit, ESLint security plugins) with dynamic testing patterns (input fuzzing, header validation, authentication bypass checks).\n\n## Prerequisites\n\n- Static analysis tools installed (Semgrep, ESLint with `eslint-plugin-security`, Bandit for Python, or SpotBugs for Java)\n- Application running in a test environment (never scan production without explicit authorization)\n- Written authorization to perform security testing on the target system\n- `npm audit`, `pip-audit`, or `trivy` for dependency vulnerability scanning\n- OWASP ZAP or Burp Suite for dynamic application security testing (optional)\n\n## Instructions\n\n1. Run dependency vulnerability scanning to identify known CVEs:\n   - Execute `npm audit --json` or `pip-audit --format json` or `trivy fs .`.\n   - Parse results and flag critical\u002Fhigh severity vulnerabilities.\n   - Check if vulnerable dependencies have available patches.\n2. Perform static application security testing (SAST) on source code:\n   - Run Semgrep with OWASP rulesets: `semgrep --config=p\u002Fowasp-top-ten`.\n   - Execute language-specific scanners (Bandit for Python, ESLint security for JS).\n   - Scan for hardcoded secrets using `gitleaks` or `trufflehog`.\n3. Analyze code for injection vulnerabilities:\n   - Search for string concatenation in SQL queries (use Grep for patterns like `\"SELECT.*\" +`).\n   - Identify unsanitized user input flowing into `innerHTML`, `eval()`, or `exec()`.\n   - Check for command injection via `child_process.exec()` or `os.system()` with user input.\n4. Validate authentication and authorization:\n   - Verify password hashing uses bcrypt, scrypt, or Argon2 (not MD5\u002FSHA1).\n   - Check JWT token validation includes expiration, issuer, and audience claims.\n   - Ensure authorization checks exist on every protected endpoint.\n5. Test for common web vulnerabilities:\n   - CSRF: Verify anti-CSRF tokens on state-changing endpoints.\n   - CORS: Check `Access-Control-Allow-Origin` is not set to `*` on authenticated endpoints.\n   - Security headers: Validate presence of `Content-Security-Policy`, `X-Frame-Options`, `Strict-Transport-Security`.\n6. Generate a prioritized findings report with:\n   - CVSS score for each vulnerability.\n   - Affected file, line number, and code snippet.\n   - Specific remediation steps with code examples.\n7. Create regression tests for each finding to prevent reintroduction.\n\n## Output\n\n- Security scan report in Markdown with findings sorted by severity\n- Dependency vulnerability list with CVE IDs and available patches\n- SAST findings with file paths, line numbers, and code context\n- Remediation checklist with specific code fixes for each finding\n- Security regression test file to prevent reintroduction of fixed vulnerabilities\n\n## Error Handling\n\n| Error | Cause | Solution |\n|-------|-------|---------|\n| False positive on SQL injection | ORM parameterized queries flagged as concatenation | Add Semgrep `nosemgrep` comments on verified safe patterns; tune rules to recognize the ORM |\n| Secret scanner flags test fixtures | Test files contain example API keys or tokens | Add test directories to `.gitleaksignore`; use obviously fake values like `test-key-000` |\n| Dependency audit returns hundreds of results | Transitive dependencies with low-severity issues | Filter to direct dependencies first; focus on critical\u002Fhigh only; use `npm audit --omit=dev` |\n| Scanner cannot reach application | Application not running or port mismatch | Start the application before dynamic scans; verify the base URL and port configuration |\n| Rate limiting blocks scan | Too many requests from the scanner | Configure scan throttling; use authenticated sessions with higher rate limits |\n\n## Examples\n\n**Semgrep scan for OWASP Top 10:**\n```bash\nsemgrep --config=p\u002Fowasp-top-ten --json --output=security-results.json .\n```\n\n**Checking for hardcoded secrets:**\n```bash\ngitleaks detect --source=. --report-format=json --report-path=secrets-report.json\n```\n\n**Security regression test (Jest):**\n```typescript\ndescribe('Security: XSS Prevention', () => {\n  it('escapes HTML entities in user-generated content', () => {\n    const input = '\u003Cscript>alert(\"xss\")\u003C\u002Fscript>';\n    const rendered = renderUserComment(input);\n    expect(rendered).not.toContain('\u003Cscript>');\n    expect(rendered).toContain('&lt;script&gt;');\n  });\n\n  it('rejects SQL injection in search parameter', async () => {\n    const response = await request(app)\n      .get('\u002Fapi\u002Fsearch?q=\\'; DROP TABLE users; --')\n      .expect(200);  # HTTP 200 OK\n    expect(response.body.results).toBeDefined();\n    \u002F\u002F Verify users table still exists\n    const users = await db.query('SELECT count(*) FROM users');\n    expect(users.rows[0].count).toBeGreaterThan(0);\n  });\n});\n```\n\n## Resources\n\n- OWASP Top 10: https:\u002F\u002Fowasp.org\u002Fwww-project-top-ten\u002F\n- Semgrep rules registry: https:\u002F\u002Fsemgrep.dev\u002Fexplore\n- Bandit (Python SAST): https:\u002F\u002Fbandit.readthedocs.io\u002F\n- Gitleaks secret detection: https:\u002F\u002Fgithub.com\u002Fgitleaks\u002Fgitleaks\n- npm audit documentation: https:\u002F\u002Fdocs.npmjs.com\u002Fcli\u002Fcommands\u002Fnpm-audit\n- OWASP ASVS (Application Security Verification Standard): https:\u002F\u002Fowasp.org\u002Fwww-project-application-security-verification-standard\u002F","# Security Test Scanner\n\n## Overview\n\nAutomate security vulnerability detection covering OWASP Top 10 categories including SQL injection, XSS, CSRF, broken authentication, and sensitive data exposure. Combines static analysis (source code scanning with Semgrep, Bandit, ESLint security plugins) with dynamic testing patterns (input fuzzing, header validation, authentication bypass checks).\n\n## Prerequisites\n\n- Static analysis tools installed (Semgrep, ESLint with `eslint-plugin-security`, Bandit for Python, or SpotBugs for Java)\n- Application running in a test environment (never scan production without explicit authorization)\n- Written authorization to perform security testing on the target system\n- `npm audit`, `pip-audit`, or `trivy` for dependency vulnerability scanning\n- OWASP ZAP or Burp Suite for dynamic application security testing (optional)\n\n## Instructions\n\n1. Run dependency vulnerability scanning to identify known CVEs:\n   - Execute `npm audit --json` or `pip-audit --format json` or `trivy fs .`.\n   - Parse results and flag critical\u002Fhigh severity vulnerabilities.\n   - Check if vulnerable dependencies have available patches.\n2. Perform static application security testing (SAST) on source code:\n   - Run Semgrep with OWASP rulesets: `semgrep --config=p\u002Fowasp-top-ten`.\n   - Execute language-specific scanners (Bandit for Python, ESLint security for JS).\n   - Scan for hardcoded secrets using `gitleaks` or `trufflehog`.\n3. Analyze code for injection vulnerabilities:\n   - Search for string concatenation in SQL queries (use Grep for patterns like `\"SELECT.*\" +`).\n   - Identify unsanitized user input flowing into `innerHTML`, `eval()`, or `exec()`.\n   - Check for command injection via `child_process.exec()` or `os.system()` with user input.\n4. Validate authentication and authorization:\n   - Verify password hashing uses bcrypt, scrypt, or Argon2 (not MD5\u002FSHA1).\n   - Check JWT token validation includes expiration, issuer, and audience claims.\n   - Ensure authorization checks exist on every protected endpoint.\n5. Test for common web vulnerabilities:\n   - CSRF: Verify anti-CSRF tokens on state-changing endpoints.\n   - CORS: Check `Access-Control-Allow-Origin` is not set to `*` on authenticated endpoints.\n   - Security headers: Validate presence of `Content-Security-Policy`, `X-Frame-Options`, `Strict-Transport-Security`.\n6. Generate a prioritized findings report with:\n   - CVSS score for each vulnerability.\n   - Affected file, line number, and code snippet.\n   - Specific remediation steps with code examples.\n7. Create regression tests for each finding to prevent reintroduction.\n\n## Output\n\n- Security scan report in Markdown with findings sorted by severity\n- Dependency vulnerability list with CVE IDs and available patches\n- SAST findings with file paths, line numbers, and code context\n- Remediation checklist with specific code fixes for each finding\n- Security regression test file to prevent reintroduction of fixed vulnerabilities\n\n## Error Handling\n\n| Error | Cause | Solution |\n|-------|-------|---------|\n| False positive on SQL injection | ORM parameterized queries flagged as concatenation | Add Semgrep `nosemgrep` comments on verified safe patterns; tune rules to recognize the ORM |\n| Secret scanner flags test fixtures | Test files contain example API keys or tokens | Add test directories to `.gitleaksignore`; use obviously fake values like `test-key-000` |\n| Dependency audit returns hundreds of results | Transitive dependencies with low-severity issues | Filter to direct dependencies first; focus on critical\u002Fhigh only; use `npm audit --omit=dev` |\n| Scanner cannot reach application | Application not running or port mismatch | Start the application before dynamic scans; verify the base URL and port configuration |\n| Rate limiting blocks scan | Too many requests from the scanner | Configure scan throttling; use authenticated sessions with higher rate limits |\n\n## Examples\n\n**Semgrep scan for OWASP Top 10:**\n```bash\nsemgrep --config=p\u002Fowasp-top-ten --json --output=security-results.json .\n```\n\n**Checking for hardcoded secrets:**\n```bash\ngitleaks detect --source=. --report-format=json --report-path=secrets-report.json\n```\n\n**Security regression test (Jest):**\n```typescript\ndescribe('Security: XSS Prevention', () => {\n  it('escapes HTML entities in user-generated content', () => {\n    const input = '\u003Cscript>alert(\"xss\")\u003C\u002Fscript>';\n    const rendered = renderUserComment(input);\n    expect(rendered).not.toContain('\u003Cscript>');\n    expect(rendered).toContain('&lt;script&gt;');\n  });\n\n  it('rejects SQL injection in search parameter', async () => {\n    const response = await request(app)\n      .get('\u002Fapi\u002Fsearch?q=\\'; DROP TABLE users; --')\n      .expect(200);  # HTTP 200 OK\n    expect(response.body.results).toBeDefined();\n    \u002F\u002F Verify users table still exists\n    const users = await db.query('SELECT count(*) FROM users');\n    expect(users.rows[0].count).toBeGreaterThan(0);\n  });\n});\n```\n\n## Resources\n\n- OWASP Top 10: https:\u002F\u002Fowasp.org\u002Fwww-project-top-ten\u002F\n- Semgrep rules registry: https:\u002F\u002Fsemgrep.dev\u002Fexplore\n- Bandit (Python SAST): https:\u002F\u002Fbandit.readthedocs.io\u002F\n- Gitleaks secret detection: https:\u002F\u002Fgithub.com\u002Fgitleaks\u002Fgitleaks\n- npm audit documentation: https:\u002F\u002Fdocs.npmjs.com\u002Fcli\u002Fcommands\u002Fnpm-audit\n- OWASP ASVS (Application Security Verification Standard): https:\u002F\u002Fowasp.org\u002Fwww-project-application-security-verification-standard\u002F",{"name":5,"author":24,"license":15,"version":25,"description":26,"allowed-tools":27,"compatible-with":28},"Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Test automate security vulnerability testing covering OWASP Top 10, SQL injection, XSS, CSRF, and authentication issues.\nUse when performing security assessments, penetration tests, or vulnerability scans.\nTrigger with phrases like \"scan for vulnerabilities\", \"test security\", or \"run penetration test\".\n","Read, Write, Edit, Grep, Glob, Bash(test:security-*)","claude-code, codex, openclaw","main","c2b1fdccc779e99ac814e55fb69ca8d71215dd0f","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection","https:\u002F\u002Fgithub.com\u002FSamuelChien","http:\u002F\u002Fsamuelchien.com\u002F","2026-05-26 08:27:14",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add SamuelChien\u002Fmega-skills-collection --skill performing-security-testing",{"tool":41,"command":42},"bunx","bunx skills add SamuelChien\u002Fmega-skills-collection --skill performing-security-testing",{"tool":44,"command":45},"pnpm","pnpm dlx skills add SamuelChien\u002Fmega-skills-collection --skill performing-security-testing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fperforming-security-testing\u002FSKILL.md",true,[49,55,61,65,69,75],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"assets\u002Fnessus_scan_policy.xml","ASSET","资产文件",3751,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fperforming-security-testing\u002Fassets\u002Fnessus_scan_policy.xml",{"path":56,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":59,"sourceHtmlUrl":60},"assets\u002Fnmap_scan_template.sh","SCRIPT","脚本",3181,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fperforming-security-testing\u002Fassets\u002Fnmap_scan_template.sh",{"path":62,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":63,"sourceHtmlUrl":64},"assets\u002FREADME.md",334,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fperforming-security-testing\u002Fassets\u002FREADME.md",{"path":66,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":67,"sourceHtmlUrl":68},"assets\u002Freport_template.md",6658,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fperforming-security-testing\u002Fassets\u002Freport_template.md",{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002FREADME.md","REFERENCE","参考文档",65,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fperforming-security-testing\u002Freferences\u002FREADME.md",{"path":76,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":77,"sourceHtmlUrl":78},"scripts\u002FREADME.md",374,"https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fperforming-security-testing\u002Fscripts\u002FREADME.md",[80,87,94,101,108,116],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M76R4WZQZAXGGXMQCA0FZ716","zustand-store-ts","Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state\u002Faction separation. Use when building React state management, creating global stores, or implementing reactive state patterns with Zustand.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzustand-store-ts\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M76R4T9KENDH7FENGZQHBW4G","zustand-store-creator","Zustand Store Creator - Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M76R3YWN84B7SANJ52X799ZE","zero-trust-config-helper","Zero Trust Config Helper - Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M76R3HNSV2AEYSKHM915GJ58","zapier-integration-helper","Zapier Integration Helper - Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzapier-integration-helper\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":112,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":19},"01M76R3DJSKAT4FA7DV4BF3GCE","zai-cli","Execute z.AI CLI providing vision, search, reader, and GitHub exploration via CLI and MCP.\nUse when user needs image\u002Fvideo analysis, OCR, UI-to-code conversion, error diagnosis,\nreal-time web search, web page to markdown extraction, or GitHub code exploration.\nTrigger with phrases like \"analyze this image\", \"search the web for\", \"read this page\",\n\"explore this repo\", or \"use zai\". Requires Z_AI_API_KEY.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fzai-cli\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":19},"01M76R2KAM699XE9AJVAWE4H2E","yt-research","Research competitor YouTube channels, niches, and trending topics for your content strategy.\nUse this skill whenever the user says \"research channels\", \"analyze competitors\", \"find trending topics\",\n\"niche analysis\", \"competitive research\", \"what are other creators doing\", \"scrape YouTube channels\",\nor wants to understand the competitive landscape for a specific tool or topic area. Use when working with yt research. Trigger with 'yt', 'research'.","https:\u002F\u002Fgithub.com\u002FSamuelChien\u002Fmega-skills-collection\u002Fblob\u002Fmain\u002Fyt-research\u002FSKILL.md",[],[]]