{
  "schema": "agent-harbor.library-review.v1",
  "id": "mcp-filesystem-verified",
  "status": "passed",
  "source_revision": "a40bc270fb5ece62673f8a1196f57116d885c5eb",
  "upstream_package": "@modelcontextprotocol/server-filesystem@2026.8.31",
  "package_provenance": {
    "name": "@modelcontextprotocol/server-filesystem",
    "version": "2026.8.31",
    "gitHead": "a40bc270fb5ece62673f8a1196f57116d885c5eb",
    "dist": {
      "shasum": "7f88dfab06d4521a4bf937dccbaeb79d46a3e717",
      "tarball": "https://registry.npmjs.org/@modelcontextprotocol/server-filesystem/-/server-filesystem-2026.8.31.tgz",
      "fileCount": 7,
      "integrity": "sha512-kKaFkyAh6oipvc9+EAbJ552JafnMnOq5nzmzWkp1jJdBhTAAGpmIpWihUG1+rfNhmEFM98gUZDdCHCDD4v6a7Q==",
      "signatures": [
        {
          "sig": "MEUCIQCn51IJSthBzHZWUhtqTVupMCQue2h8v232IkMlmt55fQIgCh/iGHOcU9gj8bk6ZKi/nt1Erg+rfHgDW+dNTCEh6nw=",
          "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
        },
        {
          "sig": "MEUCIQDeEZP0SNt9iDX1n/ubBs3+b85TeW1fJLAuIgTsZ9l+pgIgUXKHh42QHgGFUrg2yiT+Zv2m9TIlqeRMCu0hdZYt73o=",
          "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
        }
      ],
      "attestations": {
        "url": "https://registry.npmjs.org/-/npm/v1/attestations/@modelcontextprotocol%2fserver-filesystem@2026.8.31",
        "provenance": {
          "predicateType": "https://slsa.dev/provenance/v1"
        }
      },
      "unpackedSize": 72336
    },
    "deprecated": "Date-based versions are no longer published. This package has resumed semantic versioning at 1.0.0: install the latest version."
  },
  "functional": {
    "status": "passed",
    "tested_at": "2026-10-20T13:15:02.166Z",
    "package": "@modelcontextprotocol/server-filesystem@2026.8.31",
    "environment": "Linux隔离容器 · v22.23.2 · 无网络/无凭据/只挂载测试材料",
    "server": {
      "name": "secure-filesystem-server",
      "version": "0.2.0"
    },
    "tools": [
      "read_file",
      "read_text_file",
      "read_media_file",
      "read_multiple_files",
      "write_file",
      "edit_file",
      "create_directory",
      "list_directory",
      "list_directory_with_sizes",
      "directory_tree",
      "move_file",
      "search_files",
      "get_file_info",
      "list_allowed_directories"
    ],
    "checks": [
      {
        "id": "handshake",
        "passed": true,
        "detail": "MCP initialize、tools/list真实完成，工具包含读写与目录操作"
      },
      {
        "id": "read_write",
        "passed": true,
        "detail": "在授权临时目录通过工具写入UTF-8 CSV并读取，比对文件字节一致"
      },
      {
        "id": "list",
        "passed": true,
        "detail": "目录工具返回实际创建的文件"
      },
      {
        "id": "boundary",
        "passed": true,
        "detail": "拒绝父路径遍历和同名前缀目录的越界读取"
      },
      {
        "id": "symlink",
        "passed": true,
        "detail": "符号链接指向目录外时读写均被拒绝，外部文件未修改"
      }
    ],
    "scope": "一个固定版本的stdio握手、允许目录读写及三类越界拒绝；不覆盖所有工具、竞态或其他客户端",
    "container_image": "sha256:95233124bf9b0898ce92d7c0b1b9b7479b5c6b1aff4ca7fb4cd9b5b44fbc7f46"
  },
  "static_review": {
    "scope": "人工检查此 npm 包 dist/index.js、lib.js、path-utils.js 的工具路由和目录限制；未执行安装脚本",
    "findings": [
      "该服务可读写获准目录；write_file/edit_file/move_file 不是只读操作",
      "实际测试未使用凭据、生产文件或外网",
      "npm install 使用 --ignore-scripts；依赖版本记录于 package-lock.json"
    ]
  },
  "dependency_audit": {
    "command": "npm audit --omit=dev --json",
    "vulnerabilities": {
      "info": 0,
      "low": 0,
      "moderate": 0,
      "high": 0,
      "critical": 0,
      "total": 0
    },
    "limitation": "这是核验时 npm 公告库的结果，不能证明依赖没有未知漏洞；未来变化需复核"
  },
  "limits": [
    "覆盖 initialize、tools/list、读写、列目录及父路径/前缀/符号链接越界拒绝，未遍历全部工具和竞态",
    "只验证 Linux Node 22.23.2 stdio；Windows 和其他客户端未执行",
    "未验证真实业务资料；升级包或依赖后必须重测"
  ]
}
