[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BSRJSVQXWSETN0HA68G3NQ":3,"skill-same:01M7BSRJSVQXWSETN0HA68G3NQ":45},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7BSRJSVQXWSETN0HA68G3NQ","trivy-offline-vulnerability-scanning",null,"Use Trivy vulnerability scanner in offline mode to discover security vulnerabilities in dependency files. This skill covers setting up offline scanning, executing Trivy against package lock files, and generating JSON vulnerability reports without requiring internet access.","linyouxue\u002Fskill-repair-benchmark","linyouxue","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F216151464?v=4","01M7BJEVCXKD74KH6FG9CBVSQB","林宥学","01M7BJEVE02NP217V93BKZFC0J",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fevaluation\u002Fresults\u002FHumanAnnotated-Gold31-20260917\u002Ftasks\u002Fsoftware-dependency-audit\u002Frepaired_skill\u002Ftrivy-offline-vulnerability-scanning\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: trivy-offline-vulnerability-scanning\ndescription: Use Trivy vulnerability scanner in offline mode to discover security vulnerabilities in dependency files. This skill covers setting up offline scanning, executing Trivy against package lock files, and generating JSON vulnerability reports without requiring internet access.\n---\n\n# Trivy Offline Vulnerability Scanning\n\nThis skill provides guidance on using Trivy, an open-source security scanner, to discover vulnerabilities in software dependencies using offline mode.\n\n## Mandatory scan-to-report workflow\n\n### Fixed benchmark database invariant\n\nFor `software-dependency-audit`, use the task's fixed database at\n`\u002Froot\u002Ftrivy-cache\u002Fdb`, an alias of `\u002Froot\u002F.cache\u002Ftrivy\u002Fdb`. Use these absolute\npaths; `~` refers to the runtime user's home, which may be `\u002Fhome\u002Fagent`.\n\nPreserve the supplied database and cache symlink. Do not download, update,\ndelete, or recreate this task's cache. The generic database-download advice\nlater in this skill does not apply to this task. If either database file is\nunreadable, inspect both absolute paths and the symlink with `ls -l` and\n`readlink`; an empty search of another user's cache is not evidence that the\nbundled database is missing. If the fixed database remains unavailable,\nreport the blocked input instead of substituting a newly downloaded database.\n\nFor an offline dependency audit, treat the scan, mapping, CSV generation, and\nartifact check as one uninterrupted pipeline. When the\n`software-dependency-audit` paths are present, use one terminal action that\nchecks the bundled cache and starts Trivy:\n\n```bash\ntest -r \u002Froot\u002Ftrivy-cache\u002Fdb\u002Ftrivy.db && test -r \u002Froot\u002Ftrivy-cache\u002Fdb\u002Fmetadata.json && trivy fs \u002Froot\u002Fpackage-lock.json --format json --output \u002Froot\u002Ftrivy_raw_report.json --scanners vuln --skip-db-update --offline-scan --cache-dir \u002Froot\u002Ftrivy-cache\n```\n\nThe scan step is complete only when Trivy exits successfully and\n`\u002Froot\u002Ftrivy_raw_report.json` is readable JSON. Then continue immediately:\n\n1. Iterate every `Results[*].Vulnerabilities[*]` entry from that JSON.\n2. Retain only records whose `Severity` is `HIGH` or `CRITICAL`.\n3. Apply the CVSS mapping in `cvss-score-extraction` and the exact field mapping\n   in `vulnerability-csv-reporting`.\n4. Write `\u002Froot\u002Fsecurity_audit.csv`, including its header when there are zero\n   matching rows.\n5. Re-open the CSV with a CSV parser and compare its rows with the filtered raw\n   Trivy records. Repair the pipeline while any record or field differs.\n\nFor `software-dependency-audit`, the checked artifact must have exactly this\nheader:\n`Package,Version,CVE_ID,Severity,CVSS_Score,Fixed_Version,Title,Url`.\n\nCompletion means the checked CSV exists. Readiness inspection and a natural-\nlanguage statement of the next action are intermediate states; continue with\nthe corresponding terminal action until the artifact check passes.\n\n## Overview\n\nTrivy is a comprehensive vulnerability scanner that can analyze various targets including container images, filesystems, and dependency lock files. **Offline scanning** is crucial for:\n- Air-gapped environments without internet access\n- Reproducible security audits with fixed vulnerability databases\n- Faster CI\u002FCD pipelines avoiding network latency\n- Compliance requirements for controlled environments\n\n## Why Offline Mode?\n\n### Challenges with Online Scanning\n- Network dependency introduces failure points\n- Database updates can cause inconsistent results across runs\n- Slower execution due to download times\n- Security policies may restrict external connections\n\n### Benefits of Offline Scanning\n- **Reproducibility**: Same database = same results\n- **Speed**: No network overhead\n- **Reliability**: No external dependencies\n- **Compliance**: Works in restricted environments\n\n## Trivy Database Structure\n\nTrivy's vulnerability database consists of:\n- **trivy.db**: SQLite database containing CVE information\n- **metadata.json**: Database version and update timestamp\n\nDatabase location: `\u003Ccache-dir>\u002Fdb\u002Ftrivy.db`\n\n## Offline Scanning Workflow\n\n### Step 1: Verify Database Existence\n\nBefore scanning, ensure the offline database is available:\n\n```python\nimport os\nimport sys\n\nTRIVY_CACHE_PATH = '.\u002Ftrivy-cache'\n\n# Check for database file\ndb_path = os.path.join(TRIVY_CACHE_PATH, \"db\", \"trivy.db\")\nif not os.path.exists(db_path):\n    print(f\"[!] Error: Trivy database not found at {db_path}\")\n    print(\"    Download database first with:\")\n    print(f\"    trivy image --download-db-only --cache-dir {TRIVY_CACHE_PATH}\")\n    sys.exit(1)\n```\n\n### Step 2: Construct Trivy Command\n\nKey flags for offline scanning:\n\n| Flag | Purpose |\n|------|---------|\n| `fs \u003Ctarget>` | Scan filesystem\u002Ffile (e.g., package-lock.json) |\n| `--format json` | Output in JSON format for parsing |\n| `--output \u003Cfile>` | Save results to file |\n| `--scanners vuln` | Scan only for vulnerabilities (not misconfigs) |\n| `--skip-db-update` | **Critical**: Do not update database |\n| `--offline-scan` | Enable offline mode |\n| `--cache-dir \u003Cpath>` | Path to pre-downloaded database |\n\n```python\nimport subprocess\n\nTARGET_FILE = 'package-lock.json'\nOUTPUT_FILE = 'trivy_report.json'\nTRIVY_CACHE_PATH = '.\u002Ftrivy-cache'\n\ncommand = [\n    \"trivy\", \"fs\", TARGET_FILE,\n    \"--format\", \"json\",\n    \"--output\", OUTPUT_FILE,\n    \"--scanners\", \"vuln\",\n    \"--skip-db-update\",      # Prevent online updates\n    \"--offline-scan\",         # Enable offline mode\n    \"--cache-dir\", TRIVY_CACHE_PATH\n]\n```\n\n### Step 3: Execute Scan\n\n```python\ntry:\n    result = subprocess.run(\n        command,\n        capture_output=True,\n        text=True,\n        check=False  # Don't raise exception on non-zero exit\n    )\n    \n    if result.returncode != 0:\n        print(\"[!] Trivy scan failed:\")\n        print(result.stderr)\n        sys.exit(1)\n    \n    print(\"[*] Scan completed successfully\")\n    print(f\"[*] Results saved to: {OUTPUT_FILE}\")\n    \nexcept FileNotFoundError:\n    print(\"[!] Error: 'trivy' command not found\")\n    print(\"    Install Trivy: https:\u002F\u002Faquasecurity.github.io\u002Ftrivy\u002Flatest\u002Fgetting-started\u002Finstallation\u002F\")\n    sys.exit(1)\n```\n\n## Complete Example\n\n```python\nimport os\nimport sys\nimport subprocess\n\ndef run_trivy_offline_scan(target_file, output_file, cache_dir='.\u002Ftrivy-cache'):\n    \"\"\"\n    Execute Trivy vulnerability scan in offline mode.\n    \n    Args:\n        target_file: Path to file to scan (e.g., package-lock.json)\n        output_file: Path to save JSON results\n        cache_dir: Path to Trivy offline database\n    \"\"\"\n    print(f\"[*] Starting Trivy offline scan...\")\n    print(f\"    Target: {target_file}\")\n    print(f\"    Database: {cache_dir}\")\n    \n    # Verify database exists\n    db_path = os.path.join(cache_dir, \"db\", \"trivy.db\")\n    if not os.path.exists(db_path):\n        print(f\"[!] Error: Database not found at {db_path}\")\n        sys.exit(1)\n    \n    # Build command\n    command = [\n        \"trivy\", \"fs\", target_file,\n        \"--format\", \"json\",\n        \"--output\", output_file,\n        \"--scanners\", \"vuln\",\n        \"--skip-db-update\",\n        \"--offline-scan\",\n        \"--cache-dir\", cache_dir\n    ]\n    \n    # Execute\n    try:\n        result = subprocess.run(command, capture_output=True, text=True)\n        \n        if result.returncode != 0:\n            print(\"[!] Scan failed:\")\n            print(result.stderr)\n            sys.exit(1)\n        \n        print(\"[*] Scan completed successfully\")\n        return output_file\n        \n    except FileNotFoundError:\n        print(\"[!] Trivy not found. Install from:\")\n        print(\"    https:\u002F\u002Faquasecurity.github.io\u002Ftrivy\u002F\")\n        sys.exit(1)\n\n# Usage\nif __name__ == \"__main__\":\n    run_trivy_offline_scan(\n        target_file='package-lock.json',\n        output_file='trivy_report.json'\n    )\n```\n\n## JSON Output Structure\n\nTrivy outputs vulnerability data in this format:\n\n```json\n{\n  \"Results\": [\n    {\n      \"Target\": \"package-lock.json\",\n      \"Vulnerabilities\": [\n        {\n          \"VulnerabilityID\": \"CVE-2021-44906\",\n          \"PkgName\": \"minimist\",\n          \"InstalledVersion\": \"1.2.5\",\n          \"FixedVersion\": \"1.2.6\",\n          \"Severity\": \"CRITICAL\",\n          \"Title\": \"Prototype Pollution in minimist\",\n          \"PrimaryURL\": \"https:\u002F\u002Favd.aquasec.com\u002Fnvd\u002Fcve-2021-44906\",\n          \"CVSS\": {\n            \"nvd\": { \"V3Score\": 9.8 }\n          }\n        }\n      ]\n    }\n  ]\n}\n```\n\n## Common Issues\n\n### Issue: \"failed to initialize DB\"\n**Cause**: Database not found or corrupted  \n**Solution**: Re-download database or check `--cache-dir` path\n\n### Issue: Scan finds no vulnerabilities when they exist\n**Cause**: Database is outdated  \n**Solution**: Download newer database (before going offline)\n\n### Issue: \"command not found: trivy\"\n**Cause**: Trivy not installed or not in PATH  \n**Solution**: Install Trivy following official documentation\n\n## Dependencies\n\n### Required Tools\n- **Trivy**: Version 0.40.0 or later recommended\n  ```bash\n  # Installation (example for Debian\u002FUbuntu)\n  wget -qO - https:\u002F\u002Faquasecurity.github.io\u002Ftrivy-repo\u002Fdeb\u002Fpublic.key | apt-key add -\n  echo \"deb https:\u002F\u002Faquasecurity.github.io\u002Ftrivy-repo\u002Fdeb $(lsb_release -sc) main\" | tee -a \u002Fetc\u002Fapt\u002Fsources.list.d\u002Ftrivy.list\n  apt-get update\n  apt-get install trivy\n  ```\n\n### Python Modules\n- `subprocess` (standard library)\n- `os` (standard library)\n- `sys` (standard library)\n\n## References\n\n- [Trivy Documentation](https:\u002F\u002Faquasecurity.github.io\u002Ftrivy\u002F)\n- [Trivy Offline Mode Guide](https:\u002F\u002Faquasecurity.github.io\u002Ftrivy\u002Flatest\u002Fdocs\u002Fadvanced\u002Fair-gap\u002F)\n- [CVE Database](https:\u002F\u002Fcve.mitre.org\u002F)\n","# Trivy Offline Vulnerability Scanning\n\nThis skill provides guidance on using Trivy, an open-source security scanner, to discover vulnerabilities in software dependencies using offline mode.\n\n## Mandatory scan-to-report workflow\n\n### Fixed benchmark database invariant\n\nFor `software-dependency-audit`, use the task's fixed database at\n`\u002Froot\u002Ftrivy-cache\u002Fdb`, an alias of `\u002Froot\u002F.cache\u002Ftrivy\u002Fdb`. Use these absolute\npaths; `~` refers to the runtime user's home, which may be `\u002Fhome\u002Fagent`.\n\nPreserve the supplied database and cache symlink. Do not download, update,\ndelete, or recreate this task's cache. The generic database-download advice\nlater in this skill does not apply to this task. If either database file is\nunreadable, inspect both absolute paths and the symlink with `ls -l` and\n`readlink`; an empty search of another user's cache is not evidence that the\nbundled database is missing. If the fixed database remains unavailable,\nreport the blocked input instead of substituting a newly downloaded database.\n\nFor an offline dependency audit, treat the scan, mapping, CSV generation, and\nartifact check as one uninterrupted pipeline. When the\n`software-dependency-audit` paths are present, use one terminal action that\nchecks the bundled cache and starts Trivy:\n\n```bash\ntest -r \u002Froot\u002Ftrivy-cache\u002Fdb\u002Ftrivy.db && test -r \u002Froot\u002Ftrivy-cache\u002Fdb\u002Fmetadata.json && trivy fs \u002Froot\u002Fpackage-lock.json --format json --output \u002Froot\u002Ftrivy_raw_report.json --scanners vuln --skip-db-update --offline-scan --cache-dir \u002Froot\u002Ftrivy-cache\n```\n\nThe scan step is complete only when Trivy exits successfully and\n`\u002Froot\u002Ftrivy_raw_report.json` is readable JSON. Then continue immediately:\n\n1. Iterate every `Results[*].Vulnerabilities[*]` entry from that JSON.\n2. Retain only records whose `Severity` is `HIGH` or `CRITICAL`.\n3. Apply the CVSS mapping in `cvss-score-extraction` and the exact field mapping\n   in `vulnerability-csv-reporting`.\n4. Write `\u002Froot\u002Fsecurity_audit.csv`, including its header when there are zero\n   matching rows.\n5. Re-open the CSV with a CSV parser and compare its rows with the filtered raw\n   Trivy records. Repair the pipeline while any record or field differs.\n\nFor `software-dependency-audit`, the checked artifact must have exactly this\nheader:\n`Package,Version,CVE_ID,Severity,CVSS_Score,Fixed_Version,Title,Url`.\n\nCompletion means the checked CSV exists. Readiness inspection and a natural-\nlanguage statement of the next action are intermediate states; continue with\nthe corresponding terminal action until the artifact check passes.\n\n## Overview\n\nTrivy is a comprehensive vulnerability scanner that can analyze various targets including container images, filesystems, and dependency lock files. **Offline scanning** is crucial for:\n- Air-gapped environments without internet access\n- Reproducible security audits with fixed vulnerability databases\n- Faster CI\u002FCD pipelines avoiding network latency\n- Compliance requirements for controlled environments\n\n## Why Offline Mode?\n\n### Challenges with Online Scanning\n- Network dependency introduces failure points\n- Database updates can cause inconsistent results across runs\n- Slower execution due to download times\n- Security policies may restrict external connections\n\n### Benefits of Offline Scanning\n- **Reproducibility**: Same database = same results\n- **Speed**: No network overhead\n- **Reliability**: No external dependencies\n- **Compliance**: Works in restricted environments\n\n## Trivy Database Structure\n\nTrivy's vulnerability database consists of:\n- **trivy.db**: SQLite database containing CVE information\n- **metadata.json**: Database version and update timestamp\n\nDatabase location: `\u003Ccache-dir>\u002Fdb\u002Ftrivy.db`\n\n## Offline Scanning Workflow\n\n### Step 1: Verify Database Existence\n\nBefore scanning, ensure the offline database is available:\n\n```python\nimport os\nimport sys\n\nTRIVY_CACHE_PATH = '.\u002Ftrivy-cache'\n\n# Check for database file\ndb_path = os.path.join(TRIVY_CACHE_PATH, \"db\", \"trivy.db\")\nif not os.path.exists(db_path):\n    print(f\"[!] Error: Trivy database not found at {db_path}\")\n    print(\"    Download database first with:\")\n    print(f\"    trivy image --download-db-only --cache-dir {TRIVY_CACHE_PATH}\")\n    sys.exit(1)\n```\n\n### Step 2: Construct Trivy Command\n\nKey flags for offline scanning:\n\n| Flag | Purpose |\n|------|---------|\n| `fs \u003Ctarget>` | Scan filesystem\u002Ffile (e.g., package-lock.json) |\n| `--format json` | Output in JSON format for parsing |\n| `--output \u003Cfile>` | Save results to file |\n| `--scanners vuln` | Scan only for vulnerabilities (not misconfigs) |\n| `--skip-db-update` | **Critical**: Do not update database |\n| `--offline-scan` | Enable offline mode |\n| `--cache-dir \u003Cpath>` | Path to pre-downloaded database |\n\n```python\nimport subprocess\n\nTARGET_FILE = 'package-lock.json'\nOUTPUT_FILE = 'trivy_report.json'\nTRIVY_CACHE_PATH = '.\u002Ftrivy-cache'\n\ncommand = [\n    \"trivy\", \"fs\", TARGET_FILE,\n    \"--format\", \"json\",\n    \"--output\", OUTPUT_FILE,\n    \"--scanners\", \"vuln\",\n    \"--skip-db-update\",      # Prevent online updates\n    \"--offline-scan\",         # Enable offline mode\n    \"--cache-dir\", TRIVY_CACHE_PATH\n]\n```\n\n### Step 3: Execute Scan\n\n```python\ntry:\n    result = subprocess.run(\n        command,\n        capture_output=True,\n        text=True,\n        check=False  # Don't raise exception on non-zero exit\n    )\n    \n    if result.returncode != 0:\n        print(\"[!] Trivy scan failed:\")\n        print(result.stderr)\n        sys.exit(1)\n    \n    print(\"[*] Scan completed successfully\")\n    print(f\"[*] Results saved to: {OUTPUT_FILE}\")\n    \nexcept FileNotFoundError:\n    print(\"[!] Error: 'trivy' command not found\")\n    print(\"    Install Trivy: https:\u002F\u002Faquasecurity.github.io\u002Ftrivy\u002Flatest\u002Fgetting-started\u002Finstallation\u002F\")\n    sys.exit(1)\n```\n\n## Complete Example\n\n```python\nimport os\nimport sys\nimport subprocess\n\ndef run_trivy_offline_scan(target_file, output_file, cache_dir='.\u002Ftrivy-cache'):\n    \"\"\"\n    Execute Trivy vulnerability scan in offline mode.\n    \n    Args:\n        target_file: Path to file to scan (e.g., package-lock.json)\n        output_file: Path to save JSON results\n        cache_dir: Path to Trivy offline database\n    \"\"\"\n    print(f\"[*] Starting Trivy offline scan...\")\n    print(f\"    Target: {target_file}\")\n    print(f\"    Database: {cache_dir}\")\n    \n    # Verify database exists\n    db_path = os.path.join(cache_dir, \"db\", \"trivy.db\")\n    if not os.path.exists(db_path):\n        print(f\"[!] Error: Database not found at {db_path}\")\n        sys.exit(1)\n    \n    # Build command\n    command = [\n        \"trivy\", \"fs\", target_file,\n        \"--format\", \"json\",\n        \"--output\", output_file,\n        \"--scanners\", \"vuln\",\n        \"--skip-db-update\",\n        \"--offline-scan\",\n        \"--cache-dir\", cache_dir\n    ]\n    \n    # Execute\n    try:\n        result = subprocess.run(command, capture_output=True, text=True)\n        \n        if result.returncode != 0:\n            print(\"[!] Scan failed:\")\n            print(result.stderr)\n            sys.exit(1)\n        \n        print(\"[*] Scan completed successfully\")\n        return output_file\n        \n    except FileNotFoundError:\n        print(\"[!] Trivy not found. Install from:\")\n        print(\"    https:\u002F\u002Faquasecurity.github.io\u002Ftrivy\u002F\")\n        sys.exit(1)\n\n# Usage\nif __name__ == \"__main__\":\n    run_trivy_offline_scan(\n        target_file='package-lock.json',\n        output_file='trivy_report.json'\n    )\n```\n\n## JSON Output Structure\n\nTrivy outputs vulnerability data in this format:\n\n```json\n{\n  \"Results\": [\n    {\n      \"Target\": \"package-lock.json\",\n      \"Vulnerabilities\": [\n        {\n          \"VulnerabilityID\": \"CVE-2021-44906\",\n          \"PkgName\": \"minimist\",\n          \"InstalledVersion\": \"1.2.5\",\n          \"FixedVersion\": \"1.2.6\",\n          \"Severity\": \"CRITICAL\",\n          \"Title\": \"Prototype Pollution in minimist\",\n          \"PrimaryURL\": \"https:\u002F\u002Favd.aquasec.com\u002Fnvd\u002Fcve-2021-44906\",\n          \"CVSS\": {\n            \"nvd\": { \"V3Score\": 9.8 }\n          }\n        }\n      ]\n    }\n  ]\n}\n```\n\n## Common Issues\n\n### Issue: \"failed to initialize DB\"\n**Cause**: Database not found or corrupted  \n**Solution**: Re-download database or check `--cache-dir` path\n\n### Issue: Scan finds no vulnerabilities when they exist\n**Cause**: Database is outdated  \n**Solution**: Download newer database (before going offline)\n\n### Issue: \"command not found: trivy\"\n**Cause**: Trivy not installed or not in PATH  \n**Solution**: Install Trivy following official documentation\n\n## Dependencies\n\n### Required Tools\n- **Trivy**: Version 0.40.0 or later recommended\n  ```bash\n  # Installation (example for Debian\u002FUbuntu)\n  wget -qO - https:\u002F\u002Faquasecurity.github.io\u002Ftrivy-repo\u002Fdeb\u002Fpublic.key | apt-key add -\n  echo \"deb https:\u002F\u002Faquasecurity.github.io\u002Ftrivy-repo\u002Fdeb $(lsb_release -sc) main\" | tee -a \u002Fetc\u002Fapt\u002Fsources.list.d\u002Ftrivy.list\n  apt-get update\n  apt-get install trivy\n  ```\n\n### Python Modules\n- `subprocess` (standard library)\n- `os` (standard library)\n- `sys` (standard library)\n\n## References\n\n- [Trivy Documentation](https:\u002F\u002Faquasecurity.github.io\u002Ftrivy\u002F)\n- [Trivy Offline Mode Guide](https:\u002F\u002Faquasecurity.github.io\u002Ftrivy\u002Flatest\u002Fdocs\u002Fadvanced\u002Fair-gap\u002F)\n- [CVE Database](https:\u002F\u002Fcve.mitre.org\u002F)\n",{"name":5,"description":7},"main","cdcb6d230f3b15c3c33f8a2bdd16439f43602cbe","evaluation\u002Fresults\u002FHumanAnnotated-Gold31-20260917\u002Ftasks\u002Fsoftware-dependency-audit\u002Frepaired_skill\u002Ftrivy-offline-vulnerability-scanning",1,"https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark","https:\u002F\u002Fgithub.com\u002Flinyouxue","2026-11-14 20:28:35",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add linyouxue\u002Fskill-repair-benchmark --skill trivy-offline-vulnerability-scanning",{"tool":37,"command":38},"bunx","bunx skills add linyouxue\u002Fskill-repair-benchmark --skill trivy-offline-vulnerability-scanning",{"tool":40,"command":41},"pnpm","pnpm dlx skills add linyouxue\u002Fskill-repair-benchmark --skill trivy-offline-vulnerability-scanning","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fevaluation\u002Fresults\u002FHumanAnnotated-Gold31-20260917\u002Ftasks\u002Fsoftware-dependency-audit\u002Frepaired_skill\u002Ftrivy-offline-vulnerability-scanning\u002FSKILL.md",true,[],[46,53,60,67,72,77],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M7E1HGVRY73NBJ022CJG13X6","video-frame-extraction","Extract frames from video files and save them as images using OpenCV","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fvideo-frame-extraction\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7E1HAG5R7CJ9C8NYJS771MB","openai-vision","Analyze images and multi-frame sequences using OpenAI GPT vision models","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fopenai-vision\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7E1H7DADKB6QBWKC2KQ63SZ","image-ocr","Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fimage-ocr\u002FSKILL.md",[],[],{"skillNo":68,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7E1H0WBNT43TENGQY7AVZHD","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fvideo-frame-extraction\u002FSKILL.md",[],[],{"skillNo":73,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7E1GTC7D4N4Q2EF03875J9E","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fopenai-vision\u002FSKILL.md",[],[],{"skillNo":78,"name":62,"nameZh":6,"description":63,"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},"01M7E1GQ92CWFMGH53KSSE4WER","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fimage-ocr\u002FSKILL.md",[],[]]