[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DS43H6JBB6YHMZGXXHDKWS":3,"skill-same:01M6DS43H6JBB6YHMZGXXHDKWS":125},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":50,"install":51,"resources":64},"01M6DS43H6JBB6YHMZGXXHDKWS","senior-secops",null,"Senior SecOps engineer skill for application security, vulnerability management, compliance verification, and secure development practices. Runs SAST\u002FDAST scans, generates CVE remediation plans, checks dependency vulnerabilities, creates security policies, enforces secure coding patterns, and automates compliance checks against SOC2, PCI-DSS, HIPAA, and GDPR. Use when conducting a security review or audit, responding to a CVE or security incident, hardening infrastructure, implementing authentication or secrets management, running penetration test prep, checking OWASP Top 10 exposure, or enforcing security controls in CI\u002FCD pipelines.","zhangzhang-111-i\u002Fclaude-skills111","zhangzhang-111-i","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F251344927?v=4","01M6DRBP4NCM1ZCHTT0FW0SQHD","lixiying","01M6DRBPAMFDJSGQ69XPK9KM9J",4,"MIT","https:\u002F\u002Fgithub.com\u002Fzhangzhang-111-i\u002Fclaude-skills111\u002Fblob\u002Fmain\u002Fengineering-team\u002Fsenior-secops\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"secops","senior secops","soc2","incident","coding patterns","engineer","dependency","secure development","secrets","vulnerability","secrets management","security review","review","remediation","ci","audit","verification","authentication","cve remediation","owasp top 10","2026-11-10 10:12:30",false,"---\nname: \"senior-secops\"\ndescription: Senior SecOps engineer skill for application security, vulnerability management, compliance verification, and secure development practices. Runs SAST\u002FDAST scans, generates CVE remediation plans, checks dependency vulnerabilities, creates security policies, enforces secure coding patterns, and automates compliance checks against SOC2, PCI-DSS, HIPAA, and GDPR. Use when conducting a security review or audit, responding to a CVE or security incident, hardening infrastructure, implementing authentication or secrets management, running penetration test prep, checking OWASP Top 10 exposure, or enforcing security controls in CI\u002FCD pipelines.\n---\n\n# Senior SecOps Engineer\n\nComplete toolkit for Security Operations including vulnerability management, compliance verification, secure coding practices, and security automation.\n\n---\n\n## Table of Contents\n\n- [Core Capabilities](#core-capabilities)\n- [Workflows](#workflows)\n- [Tool Reference](#tool-reference)\n- [Security Standards](#security-standards)\n- [Compliance Frameworks](#compliance-frameworks)\n- [Best Practices](#best-practices)\n\n---\n\n## Core Capabilities\n\n### 1. Security Scanner\n\nScan source code for security vulnerabilities including hardcoded secrets, SQL injection, XSS, command injection, and path traversal.\n\n```bash\n# Scan project for security issues\npython scripts\u002Fsecurity_scanner.py \u002Fpath\u002Fto\u002Fproject\n\n# Filter by severity\npython scripts\u002Fsecurity_scanner.py \u002Fpath\u002Fto\u002Fproject --severity high\n\n# JSON output for CI\u002FCD\npython scripts\u002Fsecurity_scanner.py \u002Fpath\u002Fto\u002Fproject --json --output report.json\n```\n\n**Detects:**\n- Hardcoded secrets (API keys, passwords, AWS credentials, GitHub tokens, private keys)\n- SQL injection patterns (string concatenation, f-strings, template literals)\n- XSS vulnerabilities (innerHTML assignment, unsafe DOM manipulation, React unsafe patterns)\n- Command injection (shell=True, exec, eval with user input)\n- Path traversal (file operations with user input)\n\n### 2. Vulnerability Assessor\n\nScan dependencies for known CVEs across npm, Python, and Go ecosystems.\n\n```bash\n# Assess project dependencies\npython scripts\u002Fvulnerability_assessor.py \u002Fpath\u002Fto\u002Fproject\n\n# Critical\u002Fhigh only\npython scripts\u002Fvulnerability_assessor.py \u002Fpath\u002Fto\u002Fproject --severity high\n\n# Export vulnerability report\npython scripts\u002Fvulnerability_assessor.py \u002Fpath\u002Fto\u002Fproject --json --output vulns.json\n```\n\n**Scans:**\n- `package.json` and `package-lock.json` (npm)\n- `requirements.txt` and `pyproject.toml` (Python)\n- `go.mod` (Go)\n\n**Output:**\n- CVE IDs with CVSS scores\n- Affected package versions\n- Fixed versions for remediation\n- Overall risk score (0-100)\n\n### 3. Compliance Checker\n\nVerify security compliance against SOC 2, PCI-DSS, HIPAA, and GDPR frameworks.\n\n```bash\n# Check all frameworks\npython scripts\u002Fcompliance_checker.py \u002Fpath\u002Fto\u002Fproject\n\n# Specific framework\npython scripts\u002Fcompliance_checker.py \u002Fpath\u002Fto\u002Fproject --framework soc2\npython scripts\u002Fcompliance_checker.py \u002Fpath\u002Fto\u002Fproject --framework pci-dss\npython scripts\u002Fcompliance_checker.py \u002Fpath\u002Fto\u002Fproject --framework hipaa\npython scripts\u002Fcompliance_checker.py \u002Fpath\u002Fto\u002Fproject --framework gdpr\n\n# Export compliance report\npython scripts\u002Fcompliance_checker.py \u002Fpath\u002Fto\u002Fproject --json --output compliance.json\n```\n\n**Verifies:**\n- Access control implementation\n- Encryption at rest and in transit\n- Audit logging\n- Authentication strength (MFA, password hashing)\n- Security documentation\n- CI\u002FCD security controls\n\n---\n\n## Workflows\n\n### Workflow 1: Security Audit\n\nComplete security assessment of a codebase.\n\n```bash\n# Step 1: Scan for code vulnerabilities\npython scripts\u002Fsecurity_scanner.py . --severity medium\n# STOP if exit code 2 — resolve critical findings before continuing\n```\n\n```bash\n# Step 2: Check dependency vulnerabilities\npython scripts\u002Fvulnerability_assessor.py . --severity high\n# STOP if exit code 2 — patch critical CVEs before continuing\n```\n\n```bash\n# Step 3: Verify compliance controls\npython scripts\u002Fcompliance_checker.py . --framework all\n# STOP if exit code 2 — address critical gaps before proceeding\n```\n\n```bash\n# Step 4: Generate combined reports\npython scripts\u002Fsecurity_scanner.py . --json --output security.json\npython scripts\u002Fvulnerability_assessor.py . --json --output vulns.json\npython scripts\u002Fcompliance_checker.py . --json --output compliance.json\n```\n\n### Workflow 2: CI\u002FCD Security Gate\n\nIntegrate security checks into deployment pipeline.\n\n```yaml\n# .github\u002Fworkflows\u002Fsecurity.yml\nname: \"security-scan\"\n\non:\n  pull_request:\n    branches: [main, develop]\n\njobs:\n  security-scan:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: \"set-up-python\"\n        uses: actions\u002Fsetup-python@v5\n        with:\n          python-version: '3.11'\n\n      - name: \"security-scanner\"\n        run: python scripts\u002Fsecurity_scanner.py . --severity high\n\n      - name: \"vulnerability-assessment\"\n        run: python scripts\u002Fvulnerability_assessor.py . --severity critical\n\n      - name: \"compliance-check\"\n        run: python scripts\u002Fcompliance_checker.py . --framework soc2\n```\n\nEach step fails the pipeline on its respective exit code — no deployment proceeds past a critical finding.\n\n### Workflow 3: CVE Triage\n\nRespond to a new CVE affecting your application.\n\n```\n1. ASSESS (0-2 hours)\n   - Identify affected systems using vulnerability_assessor.py\n   - Check if CVE is being actively exploited\n   - Determine CVSS environmental score for your context\n   - STOP if CVSS 9.0+ on internet-facing system — escalate immediately\n\n2. PRIORITIZE\n   - Critical (CVSS 9.0+, internet-facing): 24 hours\n   - High (CVSS 7.0-8.9): 7 days\n   - Medium (CVSS 4.0-6.9): 30 days\n   - Low (CVSS \u003C 4.0): 90 days\n\n3. REMEDIATE\n   - Update affected dependency to fixed version\n   - Run security_scanner.py to verify fix (must return exit code 0)\n   - STOP if scanner still flags the CVE — do not deploy\n   - Test for regressions\n   - Deploy with enhanced monitoring\n\n4. VERIFY\n   - Re-run vulnerability_assessor.py\n   - Confirm CVE no longer reported\n   - Document remediation actions\n```\n\n### Workflow 4: Incident Response\n\nSecurity incident handling procedure.\n\n```\nPHASE 1: DETECT & IDENTIFY (0-15 min)\n- Alert received and acknowledged\n- Initial severity assessment (SEV-1 to SEV-4)\n- Incident commander assigned\n- Communication channel established\n\nPHASE 2: CONTAIN (15-60 min)\n- Affected systems identified\n- Network isolation if needed\n- Credentials rotated if compromised\n- Preserve evidence (logs, memory dumps)\n\nPHASE 3: ERADICATE (1-4 hours)\n- Root cause identified\n- Malware\u002Fbackdoors removed\n- Vulnerabilities patched (run security_scanner.py; must return exit code 0)\n- Systems hardened\n\nPHASE 4: RECOVER (4-24 hours)\n- Systems restored from clean backup\n- Services brought back online\n- Enhanced monitoring enabled\n- User access restored\n\nPHASE 5: POST-INCIDENT (24-72 hours)\n- Incident timeline documented\n- Root cause analysis complete\n- Lessons learned documented\n- Preventive measures implemented\n- Stakeholder report delivered\n```\n\n---\n\n## Tool Reference\n\n### security_scanner.py\n\n| Option | Description |\n|--------|-------------|\n| `target` | Directory or file to scan |\n| `--severity, -s` | Minimum severity: critical, high, medium, low |\n| `--verbose, -v` | Show files as they're scanned |\n| `--json` | Output results as JSON |\n| `--output, -o` | Write results to file |\n\n**Exit Codes:** `0` = no critical\u002Fhigh findings · `1` = high severity findings · `2` = critical severity findings\n\n### vulnerability_assessor.py\n\n| Option | Description |\n|--------|-------------|\n| `target` | Directory containing dependency files |\n| `--severity, -s` | Minimum severity: critical, high, medium, low |\n| `--verbose, -v` | Show files as they're scanned |\n| `--json` | Output results as JSON |\n| `--output, -o` | Write results to file |\n\n**Exit Codes:** `0` = no critical\u002Fhigh vulnerabilities · `1` = high severity vulnerabilities · `2` = critical severity vulnerabilities\n\n### compliance_checker.py\n\n| Option | Description |\n|--------|-------------|\n| `target` | Directory to check |\n| `--framework, -f` | Framework: soc2, pci-dss, hipaa, gdpr, all |\n| `--verbose, -v` | Show checks as they run |\n| `--json` | Output results as JSON |\n| `--output, -o` | Write results to file |\n\n**Exit Codes:** `0` = compliant (90%+ score) · `1` = non-compliant (50-69% score) · `2` = critical gaps (\u003C50% score)\n\n---\n\n## Security Standards\n\nSee `references\u002Fsecurity_standards.md` for OWASP Top 10 full guidance, secure coding standards, authentication requirements, and API security controls.\n\n### Secure Coding Checklist\n\n```markdown\n## Input Validation\n- [ ] Validate all input on server side\n- [ ] Use allowlists over denylists\n- [ ] Sanitize for specific context (HTML, SQL, shell)\n\n## Output Encoding\n- [ ] HTML encode for browser output\n- [ ] URL encode for URLs\n- [ ] JavaScript encode for script contexts\n\n## Authentication\n- [ ] Use bcrypt\u002Fargon2 for passwords\n- [ ] Implement MFA for sensitive operations\n- [ ] Enforce strong password policy\n\n## Session Management\n- [ ] Generate secure random session IDs\n- [ ] Set HttpOnly, Secure, SameSite flags\n- [ ] Implement session timeout (15 min idle)\n\n## Error Handling\n- [ ] Log errors with context (no secrets)\n- [ ] Return generic messages to users\n- [ ] Never expose stack traces in production\n\n## Secrets Management\n- [ ] Use environment variables or secrets manager\n- [ ] Never commit secrets to version control\n- [ ] Rotate credentials regularly\n```\n\n---\n\n## Compliance Frameworks\n\nSee `references\u002Fcompliance_requirements.md` for full control mappings. Run `compliance_checker.py` to verify the controls below:\n\n### SOC 2 Type II\n- **CC6** Logical Access: authentication, authorization, MFA\n- **CC7** System Operations: monitoring, logging, incident response\n- **CC8** Change Management: CI\u002FCD, code review, deployment controls\n\n### PCI-DSS v4.0\n- **Req 3\u002F4**: Encryption at rest and in transit (TLS 1.2+)\n- **Req 6**: Secure development (input validation, secure coding)\n- **Req 8**: Strong authentication (MFA, password policy)\n- **Req 10\u002F11**: Audit logging, SAST\u002FDAST\u002Fpenetration testing\n\n### HIPAA Security Rule\n- Unique user IDs and audit trails for PHI access (164.312(a)(1), 164.312(b))\n- MFA for person\u002Fentity authentication (164.312(d))\n- Transmission encryption via TLS (164.312(e)(1))\n\n### GDPR\n- **Art 25\u002F32**: Privacy by design, encryption, pseudonymization\n- **Art 33**: Breach notification within 72 hours\n- **Art 17\u002F20**: Right to erasure and data portability\n\n---\n\n## Best Practices\n\n### Secrets Management\n\n```python\n# BAD: Hardcoded secret\nAPI_KEY = \"sk-1234567890abcdef\"\n\n# GOOD: Environment variable\nimport os\nAPI_KEY = os.environ.get(\"API_KEY\")\n\n# BETTER: Secrets manager\nfrom your_vault_client import get_secret\nAPI_KEY = get_secret(\"api\u002Fkey\")\n```\n\n### SQL Injection Prevention\n\n```python\n# BAD: String concatenation\nquery = f\"SELECT * FROM users WHERE id = {user_id}\"\n\n# GOOD: Parameterized query\ncursor.execute(\"SELECT * FROM users WHERE id = %s\", (user_id,))\n```\n\n### XSS Prevention\n\n```javascript\n\u002F\u002F BAD: Direct innerHTML assignment is vulnerable\n\u002F\u002F GOOD: Use textContent (auto-escaped)\nelement.textContent = userInput;\n\n\u002F\u002F GOOD: Use sanitization library for HTML\nimport DOMPurify from 'dompurify';\nconst safeHTML = DOMPurify.sanitize(userInput);\n```\n\n### Authentication\n\n```javascript\n\u002F\u002F Password hashing\nconst bcrypt = require('bcrypt');\nconst SALT_ROUNDS = 12;\n\n\u002F\u002F Hash password\nconst hash = await bcrypt.hash(password, SALT_ROUNDS);\n\n\u002F\u002F Verify password\nconst match = await bcrypt.compare(password, hash);\n```\n\n### Security Headers\n\n```javascript\n\u002F\u002F Express.js security headers\nconst helmet = require('helmet');\napp.use(helmet());\n\n\u002F\u002F Or manually set headers:\napp.use((req, res, next) => {\n  res.setHeader('X-Content-Type-Options', 'nosniff');\n  res.setHeader('X-Frame-Options', 'DENY');\n  res.setHeader('X-XSS-Protection', '1; mode=block');\n  res.setHeader('Strict-Transport-Security', 'max-age=31536000; includeSubDomains');\n  res.setHeader('Content-Security-Policy', \"default-src 'self'\");\n  next();\n});\n```\n\n---\n\n## Reference Documentation\n\n| Document | Description |\n|----------|-------------|\n| `references\u002Fsecurity_standards.md` | OWASP Top 10, secure coding, authentication, API security |\n| `references\u002Fvulnerability_management_guide.md` | CVE triage, CVSS scoring, remediation workflows |\n| `references\u002Fcompliance_requirements.md` | SOC 2, PCI-DSS, HIPAA, GDPR full control mappings |\n","# Senior SecOps Engineer\n\nComplete toolkit for Security Operations including vulnerability management, compliance verification, secure coding practices, and security automation.\n\n---\n\n## Table of Contents\n\n- [Core Capabilities](#core-capabilities)\n- [Workflows](#workflows)\n- [Tool Reference](#tool-reference)\n- [Security Standards](#security-standards)\n- [Compliance Frameworks](#compliance-frameworks)\n- [Best Practices](#best-practices)\n\n---\n\n## Core Capabilities\n\n### 1. Security Scanner\n\nScan source code for security vulnerabilities including hardcoded secrets, SQL injection, XSS, command injection, and path traversal.\n\n```bash\n# Scan project for security issues\npython scripts\u002Fsecurity_scanner.py \u002Fpath\u002Fto\u002Fproject\n\n# Filter by severity\npython scripts\u002Fsecurity_scanner.py \u002Fpath\u002Fto\u002Fproject --severity high\n\n# JSON output for CI\u002FCD\npython scripts\u002Fsecurity_scanner.py \u002Fpath\u002Fto\u002Fproject --json --output report.json\n```\n\n**Detects:**\n- Hardcoded secrets (API keys, passwords, AWS credentials, GitHub tokens, private keys)\n- SQL injection patterns (string concatenation, f-strings, template literals)\n- XSS vulnerabilities (innerHTML assignment, unsafe DOM manipulation, React unsafe patterns)\n- Command injection (shell=True, exec, eval with user input)\n- Path traversal (file operations with user input)\n\n### 2. Vulnerability Assessor\n\nScan dependencies for known CVEs across npm, Python, and Go ecosystems.\n\n```bash\n# Assess project dependencies\npython scripts\u002Fvulnerability_assessor.py \u002Fpath\u002Fto\u002Fproject\n\n# Critical\u002Fhigh only\npython scripts\u002Fvulnerability_assessor.py \u002Fpath\u002Fto\u002Fproject --severity high\n\n# Export vulnerability report\npython scripts\u002Fvulnerability_assessor.py \u002Fpath\u002Fto\u002Fproject --json --output vulns.json\n```\n\n**Scans:**\n- `package.json` and `package-lock.json` (npm)\n- `requirements.txt` and `pyproject.toml` (Python)\n- `go.mod` (Go)\n\n**Output:**\n- CVE IDs with CVSS scores\n- Affected package versions\n- Fixed versions for remediation\n- Overall risk score (0-100)\n\n### 3. Compliance Checker\n\nVerify security compliance against SOC 2, PCI-DSS, HIPAA, and GDPR frameworks.\n\n```bash\n# Check all frameworks\npython scripts\u002Fcompliance_checker.py \u002Fpath\u002Fto\u002Fproject\n\n# Specific framework\npython scripts\u002Fcompliance_checker.py \u002Fpath\u002Fto\u002Fproject --framework soc2\npython scripts\u002Fcompliance_checker.py \u002Fpath\u002Fto\u002Fproject --framework pci-dss\npython scripts\u002Fcompliance_checker.py \u002Fpath\u002Fto\u002Fproject --framework hipaa\npython scripts\u002Fcompliance_checker.py \u002Fpath\u002Fto\u002Fproject --framework gdpr\n\n# Export compliance report\npython scripts\u002Fcompliance_checker.py \u002Fpath\u002Fto\u002Fproject --json --output compliance.json\n```\n\n**Verifies:**\n- Access control implementation\n- Encryption at rest and in transit\n- Audit logging\n- Authentication strength (MFA, password hashing)\n- Security documentation\n- CI\u002FCD security controls\n\n---\n\n## Workflows\n\n### Workflow 1: Security Audit\n\nComplete security assessment of a codebase.\n\n```bash\n# Step 1: Scan for code vulnerabilities\npython scripts\u002Fsecurity_scanner.py . --severity medium\n# STOP if exit code 2 — resolve critical findings before continuing\n```\n\n```bash\n# Step 2: Check dependency vulnerabilities\npython scripts\u002Fvulnerability_assessor.py . --severity high\n# STOP if exit code 2 — patch critical CVEs before continuing\n```\n\n```bash\n# Step 3: Verify compliance controls\npython scripts\u002Fcompliance_checker.py . --framework all\n# STOP if exit code 2 — address critical gaps before proceeding\n```\n\n```bash\n# Step 4: Generate combined reports\npython scripts\u002Fsecurity_scanner.py . --json --output security.json\npython scripts\u002Fvulnerability_assessor.py . --json --output vulns.json\npython scripts\u002Fcompliance_checker.py . --json --output compliance.json\n```\n\n### Workflow 2: CI\u002FCD Security Gate\n\nIntegrate security checks into deployment pipeline.\n\n```yaml\n# .github\u002Fworkflows\u002Fsecurity.yml\nname: \"security-scan\"\n\non:\n  pull_request:\n    branches: [main, develop]\n\njobs:\n  security-scan:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: \"set-up-python\"\n        uses: actions\u002Fsetup-python@v5\n        with:\n          python-version: '3.11'\n\n      - name: \"security-scanner\"\n        run: python scripts\u002Fsecurity_scanner.py . --severity high\n\n      - name: \"vulnerability-assessment\"\n        run: python scripts\u002Fvulnerability_assessor.py . --severity critical\n\n      - name: \"compliance-check\"\n        run: python scripts\u002Fcompliance_checker.py . --framework soc2\n```\n\nEach step fails the pipeline on its respective exit code — no deployment proceeds past a critical finding.\n\n### Workflow 3: CVE Triage\n\nRespond to a new CVE affecting your application.\n\n```\n1. ASSESS (0-2 hours)\n   - Identify affected systems using vulnerability_assessor.py\n   - Check if CVE is being actively exploited\n   - Determine CVSS environmental score for your context\n   - STOP if CVSS 9.0+ on internet-facing system — escalate immediately\n\n2. PRIORITIZE\n   - Critical (CVSS 9.0+, internet-facing): 24 hours\n   - High (CVSS 7.0-8.9): 7 days\n   - Medium (CVSS 4.0-6.9): 30 days\n   - Low (CVSS \u003C 4.0): 90 days\n\n3. REMEDIATE\n   - Update affected dependency to fixed version\n   - Run security_scanner.py to verify fix (must return exit code 0)\n   - STOP if scanner still flags the CVE — do not deploy\n   - Test for regressions\n   - Deploy with enhanced monitoring\n\n4. VERIFY\n   - Re-run vulnerability_assessor.py\n   - Confirm CVE no longer reported\n   - Document remediation actions\n```\n\n### Workflow 4: Incident Response\n\nSecurity incident handling procedure.\n\n```\nPHASE 1: DETECT & IDENTIFY (0-15 min)\n- Alert received and acknowledged\n- Initial severity assessment (SEV-1 to SEV-4)\n- Incident commander assigned\n- Communication channel established\n\nPHASE 2: CONTAIN (15-60 min)\n- Affected systems identified\n- Network isolation if needed\n- Credentials rotated if compromised\n- Preserve evidence (logs, memory dumps)\n\nPHASE 3: ERADICATE (1-4 hours)\n- Root cause identified\n- Malware\u002Fbackdoors removed\n- Vulnerabilities patched (run security_scanner.py; must return exit code 0)\n- Systems hardened\n\nPHASE 4: RECOVER (4-24 hours)\n- Systems restored from clean backup\n- Services brought back online\n- Enhanced monitoring enabled\n- User access restored\n\nPHASE 5: POST-INCIDENT (24-72 hours)\n- Incident timeline documented\n- Root cause analysis complete\n- Lessons learned documented\n- Preventive measures implemented\n- Stakeholder report delivered\n```\n\n---\n\n## Tool Reference\n\n### security_scanner.py\n\n| Option | Description |\n|--------|-------------|\n| `target` | Directory or file to scan |\n| `--severity, -s` | Minimum severity: critical, high, medium, low |\n| `--verbose, -v` | Show files as they're scanned |\n| `--json` | Output results as JSON |\n| `--output, -o` | Write results to file |\n\n**Exit Codes:** `0` = no critical\u002Fhigh findings · `1` = high severity findings · `2` = critical severity findings\n\n### vulnerability_assessor.py\n\n| Option | Description |\n|--------|-------------|\n| `target` | Directory containing dependency files |\n| `--severity, -s` | Minimum severity: critical, high, medium, low |\n| `--verbose, -v` | Show files as they're scanned |\n| `--json` | Output results as JSON |\n| `--output, -o` | Write results to file |\n\n**Exit Codes:** `0` = no critical\u002Fhigh vulnerabilities · `1` = high severity vulnerabilities · `2` = critical severity vulnerabilities\n\n### compliance_checker.py\n\n| Option | Description |\n|--------|-------------|\n| `target` | Directory to check |\n| `--framework, -f` | Framework: soc2, pci-dss, hipaa, gdpr, all |\n| `--verbose, -v` | Show checks as they run |\n| `--json` | Output results as JSON |\n| `--output, -o` | Write results to file |\n\n**Exit Codes:** `0` = compliant (90%+ score) · `1` = non-compliant (50-69% score) · `2` = critical gaps (\u003C50% score)\n\n---\n\n## Security Standards\n\nSee `references\u002Fsecurity_standards.md` for OWASP Top 10 full guidance, secure coding standards, authentication requirements, and API security controls.\n\n### Secure Coding Checklist\n\n```markdown\n## Input Validation\n- [ ] Validate all input on server side\n- [ ] Use allowlists over denylists\n- [ ] Sanitize for specific context (HTML, SQL, shell)\n\n## Output Encoding\n- [ ] HTML encode for browser output\n- [ ] URL encode for URLs\n- [ ] JavaScript encode for script contexts\n\n## Authentication\n- [ ] Use bcrypt\u002Fargon2 for passwords\n- [ ] Implement MFA for sensitive operations\n- [ ] Enforce strong password policy\n\n## Session Management\n- [ ] Generate secure random session IDs\n- [ ] Set HttpOnly, Secure, SameSite flags\n- [ ] Implement session timeout (15 min idle)\n\n## Error Handling\n- [ ] Log errors with context (no secrets)\n- [ ] Return generic messages to users\n- [ ] Never expose stack traces in production\n\n## Secrets Management\n- [ ] Use environment variables or secrets manager\n- [ ] Never commit secrets to version control\n- [ ] Rotate credentials regularly\n```\n\n---\n\n## Compliance Frameworks\n\nSee `references\u002Fcompliance_requirements.md` for full control mappings. Run `compliance_checker.py` to verify the controls below:\n\n### SOC 2 Type II\n- **CC6** Logical Access: authentication, authorization, MFA\n- **CC7** System Operations: monitoring, logging, incident response\n- **CC8** Change Management: CI\u002FCD, code review, deployment controls\n\n### PCI-DSS v4.0\n- **Req 3\u002F4**: Encryption at rest and in transit (TLS 1.2+)\n- **Req 6**: Secure development (input validation, secure coding)\n- **Req 8**: Strong authentication (MFA, password policy)\n- **Req 10\u002F11**: Audit logging, SAST\u002FDAST\u002Fpenetration testing\n\n### HIPAA Security Rule\n- Unique user IDs and audit trails for PHI access (164.312(a)(1), 164.312(b))\n- MFA for person\u002Fentity authentication (164.312(d))\n- Transmission encryption via TLS (164.312(e)(1))\n\n### GDPR\n- **Art 25\u002F32**: Privacy by design, encryption, pseudonymization\n- **Art 33**: Breach notification within 72 hours\n- **Art 17\u002F20**: Right to erasure and data portability\n\n---\n\n## Best Practices\n\n### Secrets Management\n\n```python\n# BAD: Hardcoded secret\nAPI_KEY = \"sk-1234567890abcdef\"\n\n# GOOD: Environment variable\nimport os\nAPI_KEY = os.environ.get(\"API_KEY\")\n\n# BETTER: Secrets manager\nfrom your_vault_client import get_secret\nAPI_KEY = get_secret(\"api\u002Fkey\")\n```\n\n### SQL Injection Prevention\n\n```python\n# BAD: String concatenation\nquery = f\"SELECT * FROM users WHERE id = {user_id}\"\n\n# GOOD: Parameterized query\ncursor.execute(\"SELECT * FROM users WHERE id = %s\", (user_id,))\n```\n\n### XSS Prevention\n\n```javascript\n\u002F\u002F BAD: Direct innerHTML assignment is vulnerable\n\u002F\u002F GOOD: Use textContent (auto-escaped)\nelement.textContent = userInput;\n\n\u002F\u002F GOOD: Use sanitization library for HTML\nimport DOMPurify from 'dompurify';\nconst safeHTML = DOMPurify.sanitize(userInput);\n```\n\n### Authentication\n\n```javascript\n\u002F\u002F Password hashing\nconst bcrypt = require('bcrypt');\nconst SALT_ROUNDS = 12;\n\n\u002F\u002F Hash password\nconst hash = await bcrypt.hash(password, SALT_ROUNDS);\n\n\u002F\u002F Verify password\nconst match = await bcrypt.compare(password, hash);\n```\n\n### Security Headers\n\n```javascript\n\u002F\u002F Express.js security headers\nconst helmet = require('helmet');\napp.use(helmet());\n\n\u002F\u002F Or manually set headers:\napp.use((req, res, next) => {\n  res.setHeader('X-Content-Type-Options', 'nosniff');\n  res.setHeader('X-Frame-Options', 'DENY');\n  res.setHeader('X-XSS-Protection', '1; mode=block');\n  res.setHeader('Strict-Transport-Security', 'max-age=31536000; includeSubDomains');\n  res.setHeader('Content-Security-Policy', \"default-src 'self'\");\n  next();\n});\n```\n\n---\n\n## Reference Documentation\n\n| Document | Description |\n|----------|-------------|\n| `references\u002Fsecurity_standards.md` | OWASP Top 10, secure coding, authentication, API security |\n| `references\u002Fvulnerability_management_guide.md` | CVE triage, CVSS scoring, remediation workflows |\n| `references\u002Fcompliance_requirements.md` | SOC 2, PCI-DSS, HIPAA, GDPR full control mappings |\n",{"name":5,"description":7},"main","c0a12fc98d85642fa8893e31fc5cf5dfad879de6","engineering-team\u002Fsenior-secops",0,"https:\u002F\u002Fgithub.com\u002Fzhangzhang-111-i\u002Fclaude-skills111","https:\u002F\u002Fgithub.com\u002Fzhangzhang-111-i","2026-03-13 21:49:18",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add zhangzhang-111-i\u002Fclaude-skills111 --skill senior-secops",{"tool":57,"command":58},"bunx","bunx skills add zhangzhang-111-i\u002Fclaude-skills111 --skill senior-secops",{"tool":60,"command":61},"pnpm","pnpm dlx skills add zhangzhang-111-i\u002Fclaude-skills111 --skill senior-secops","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fzhangzhang-111-i\u002Fclaude-skills111\u002Fblob\u002Fmain\u002Fengineering-team\u002Fsenior-secops\u002FSKILL.md",true,[65,71,75,79,83,87,91,95,99,103,107,113,117,121],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"algorithms.md","REFERENCE","参考文档",97,"https:\u002F\u002Fgithub.com\u002Fhefarica\u002Farbitragex-v2\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Foracle-validation-chainlink-pyth\u002Falgorithms.md",{"path":72,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":73,"sourceHtmlUrl":74},"failure_modes.md",100,"https:\u002F\u002Fgithub.com\u002Fhefarica\u002Farbitragex-v2\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Foracle-validation-chainlink-pyth\u002Ffailure_modes.md",{"path":76,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":77,"sourceHtmlUrl":78},"formulas.md",95,"https:\u002F\u002Fgithub.com\u002Fhefarica\u002Farbitragex-v2\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Foracle-validation-chainlink-pyth\u002Fformulas.md",{"path":80,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":81,"sourceHtmlUrl":82},"implementation_notes.md",107,"https:\u002F\u002Fgithub.com\u002Fhefarica\u002Farbitragex-v2\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Foracle-validation-chainlink-pyth\u002Fimplementation_notes.md",{"path":84,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":85,"sourceHtmlUrl":86},"integration_arbitragex.md",109,"https:\u002F\u002Fgithub.com\u002Fhefarica\u002Farbitragex-v2\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Foracle-validation-chainlink-pyth\u002Fintegration_arbitragex.md",{"path":88,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":89,"sourceHtmlUrl":90},"manifest.json",863,"https:\u002F\u002Fgithub.com\u002Fhefarica\u002Farbitragex-v2\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Foracle-validation-chainlink-pyth\u002Fmanifest.json",{"path":92,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":93,"sourceHtmlUrl":94},"references.json",287,"https:\u002F\u002Fgithub.com\u002Fhefarica\u002Farbitragex-v2\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Foracle-validation-chainlink-pyth\u002Freferences.json",{"path":96,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":97,"sourceHtmlUrl":98},"references\u002Fcompliance_requirements.md",23807,"https:\u002F\u002Fgithub.com\u002Fzhangzhang-111-i\u002Fclaude-skills111\u002Fblob\u002Fmain\u002Fengineering-team\u002Fsenior-secops\u002Freferences\u002Fcompliance_requirements.md",{"path":100,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":101,"sourceHtmlUrl":102},"references\u002Fsecurity_standards.md",19246,"https:\u002F\u002Fgithub.com\u002Fzhangzhang-111-i\u002Fclaude-skills111\u002Fblob\u002Fmain\u002Fengineering-team\u002Fsenior-secops\u002Freferences\u002Fsecurity_standards.md",{"path":104,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":105,"sourceHtmlUrl":106},"references\u002Fvulnerability_management_guide.md",14297,"https:\u002F\u002Fgithub.com\u002Fzhangzhang-111-i\u002Fclaude-skills111\u002Fblob\u002Fmain\u002Fengineering-team\u002Fsenior-secops\u002Freferences\u002Fvulnerability_management_guide.md",{"path":108,"resourceType":109,"resourceTypeDesc":110,"sizeBytes":111,"sourceHtmlUrl":112},"scripts\u002Fcompliance_checker.py","SCRIPT","脚本",38622,"https:\u002F\u002Fgithub.com\u002Fzhangzhang-111-i\u002Fclaude-skills111\u002Fblob\u002Fmain\u002Fengineering-team\u002Fsenior-secops\u002Fscripts\u002Fcompliance_checker.py",{"path":114,"resourceType":109,"resourceTypeDesc":110,"sizeBytes":115,"sourceHtmlUrl":116},"scripts\u002Fsecurity_scanner.py",16570,"https:\u002F\u002Fgithub.com\u002Fzhangzhang-111-i\u002Fclaude-skills111\u002Fblob\u002Fmain\u002Fengineering-team\u002Fsenior-secops\u002Fscripts\u002Fsecurity_scanner.py",{"path":118,"resourceType":109,"resourceTypeDesc":110,"sizeBytes":119,"sourceHtmlUrl":120},"scripts\u002Fvulnerability_assessor.py",20415,"https:\u002F\u002Fgithub.com\u002Fzhangzhang-111-i\u002Fclaude-skills111\u002Fblob\u002Fmain\u002Fengineering-team\u002Fsenior-secops\u002Fscripts\u002Fvulnerability_assessor.py",{"path":122,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":123,"sourceHtmlUrl":124},"validation_tests.md",103,"https:\u002F\u002Fgithub.com\u002Fhefarica\u002Farbitragex-v2\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Foracle-validation-chainlink-pyth\u002Fvalidation_tests.md",[126,153,179,198,215,234],{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":39},"01M6DSNYM8PZKEXGYMRX53PVPH","risk-management-specialist","Medical device risk management specialist implementing ISO 14971 throughout product lifecycle. Provides risk analysis, risk evaluation, risk control, and post-production information analysis. Use when user mentions risk management, ISO 14971, risk analysis, FMEA, fault tree analysis, hazard identification, risk control, risk matrix, benefit-risk analysis, residual risk, risk acceptability, or post-market risk.","https:\u002F\u002Fgithub.com\u002Fzhangzhang-111-i\u002Fclaude-skills111\u002Fblob\u002Fmain\u002Fra-qm-team\u002Frisk-management-specialist\u002FSKILL.md",[],[133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152],"risk","risk management specialist","management","risk management","risk analysis","risk evaluation","product","Evaluation","Production","lifecycle","analysis","user","use","risk matrix","Market","device","control","iso","medical","iso 14971",{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":159,"publishedAt":39},"01M6DSNSRBGVZWS23TK0ZQ52QC","regulatory-affairs-head","Senior Regulatory Affairs Manager for HealthTech and MedTech companies. Prepares FDA 510(k), De Novo, and PMA submission packages; analyzes regulatory pathways for new medical devices; drafts responses to FDA deficiency letters and Notified Body queries; develops CE marking technical documentation under EU MDR 2017\u002F745; coordinates multi-market approval strategies across FDA, EU, Health Canada, PMDA, and NMPA; and maintains regulatory intelligence on evolving standards. Use when users need to plan or execute FDA submissions, navigate 510(k) or PMA approval processes, achieve CE marking, prepare pre-submission meeting materials, write regulatory strategy documents, respond to agency queries, or manage compliance documentation for medical device market access.","https:\u002F\u002Fgithub.com\u002Fzhangzhang-111-i\u002Fclaude-skills111\u002Fblob\u002Fmain\u002Fra-qm-team\u002Fregulatory-affairs-head\u002FSKILL.md",[],[160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,151,178],"regulatory affairs head","regulatory","head","documentation","documents","packages","planning","devices","plan","access","write","strategy","evidence","standards","manage","intelligence","across","strategies","clinical",{"skillNo":180,"name":181,"nameZh":6,"description":182,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":183,"categories":184,"keywords":185,"publishedAt":39},"01M6DSNN7GNR2HZE66S4D31EP8","quality-manager-qms-iso13485","ISO 13485 Quality Management System implementation and maintenance for medical device organizations. Provides QMS design, documentation control, internal auditing, CAPA management, and certification support. Use when working with medical device quality systems, preparing for ISO 13485 audits, managing regulatory compliance documentation, setting up corrective actions, or building audit preparation programs. Useful for quality management, audit preparation, regulatory compliance, medical device documentation, and corrective action workflows.","https:\u002F\u002Fgithub.com\u002Fzhangzhang-111-i\u002Fclaude-skills111\u002Fblob\u002Fmain\u002Fra-qm-team\u002Fquality-manager-qms-iso13485\u002FSKILL.md",[],[186,187,188,31,189,190,163,34,191,192,193,194,145,161,195,196,197,149,150,151],"quality manager qms iso13485","quality","design","support","workflows","actions","compliance","system","process","up","maintenance","document",{"skillNo":199,"name":200,"nameZh":6,"description":201,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":202,"categories":203,"keywords":204,"publishedAt":39},"01M6DSNE5PQM106PM4EDGPBWGZ","quality-manager-qmr","Senior Quality Manager Responsible Person (QMR) for HealthTech and MedTech companies. Provides quality system governance, management review leadership, regulatory compliance oversight, and quality performance monitoring per ISO 13485 Clause 5.5.2.","https:\u002F\u002Fgithub.com\u002Fzhangzhang-111-i\u002Fclaude-skills111\u002Fblob\u002Fmain\u002Fra-qm-team\u002Fquality-manager-qmr\u002FSKILL.md",[],[205,187,31,206,207,208,209,192,210,193,135,211,161,212,213,214,150],"quality manager qmr","policy","performance","governance","monitoring","regulatory compliance","oversight","cost","culture","leadership",{"skillNo":216,"name":217,"nameZh":6,"description":218,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":219,"categories":220,"keywords":221,"publishedAt":39},"01M6DSN7MYXB6X42TB1GH2TNSB","quality-documentation-manager","Document control system management for medical device QMS. Covers document numbering, version control, change management, and 21 CFR Part 11 compliance. Use for document control procedures, change control workflow, document numbering, version management, electronic signature compliance, or regulatory documentation review.","https:\u002F\u002Fgithub.com\u002Fzhangzhang-111-i\u002Fclaude-skills111\u002Fblob\u002Fmain\u002Fra-qm-team\u002Fquality-documentation-manager\u002FSKILL.md",[],[163,222,187,31,223,224,34,142,225,193,226,227,145,228,229,230,151,231,232,233],"quality documentation manager","workflow","change","document lifecycle","change management","list","master","system management","documentation review","cfr","21 cfr part 11","change control",{"skillNo":235,"name":236,"nameZh":6,"description":237,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":238,"categories":239,"keywords":240,"publishedAt":39},"01M6DSN3R749H3R20K15QE8X8W","qms-audit-expert","ISO 13485 internal audit expertise for medical device QMS. Covers audit planning, execution, nonconformity classification, and CAPA verification. Use for internal audit planning, audit execution, finding classification, external audit preparation, or audit program management.","https:\u002F\u002Fgithub.com\u002Fzhangzhang-111-i\u002Fclaude-skills111\u002Fblob\u002Fmain\u002Fra-qm-team\u002Fqms-audit-expert\u002FSKILL.md",[],[34,241,242,166,35,243,244,245,135,145,246,148,150,151],"qms audit expert","expert","execution","classification","schedule","checklist"]