github Hiro-Chiba/fileview v2.7.4

latest releases: v3.0.0, v2.8.4, v2.8.3...
4 months ago

Security hardening across the MCP server, interactive file operations, the
external-tool integrations, and the documentation. No change to the default
keyboard-driven browsing experience.

Security

  • MCP write_file and delete_file now refuse sensitive paths (.git/hooks,
    .git/config, .env, credential files), closing a path where an AI client
    could plant a git hook that executes on the next git command.
  • MCP search_code, get_references, get_diagnostics, run_test, and
    run_lint no longer let a caller-supplied pattern, symbol, path, or filter
    be interpreted as an option flag (argument injection such as rg --pre or
    eslint --rulesdir). A -- separator, validated canonical paths, and a
    leading-dash rejection are applied.
  • Interactive create, rename, and bulk-rename reject names containing a path
    separator or .., so input can no longer escape the target directory.
  • Cut/paste (move) now allocates a unique destination name instead of silently
    overwriting an existing same-named file.
  • ffprobe/ffmpeg preview calls guard against a leading-dash filename being
    parsed as an option.
  • The context pack skips sensitive files (e.g. .env) even when explicitly
    selected, so secrets are not embedded.

Changed

  • validate_path compares against the canonicalized root, so a root reached
    through a symlink no longer rejects legitimate in-root paths.
  • Config, session, snapshot, and AI-activity files are read with a size cap as
    defence-in-depth against an oversized file exhausting memory during parsing.
  • Archive-entry and MCP entry-name truncation slice on UTF-8 boundaries,
    avoiding a panic on multibyte names.
  • Documentation now states accurately that Lua plugins are trusted, unsandboxed
    code with full system access, and documents the MCP server's trust model.

What's Changed

  • Security hardening: MCP argument injection, sensitive-path guards, and safe file ops by @Hiro-Chiba in #220
  • Release 2.7.4: security hardening by @Hiro-Chiba in #221

Full Changelog: v2.7.3...v2.7.4

Don't miss a new fileview release

NewReleases is sending notifications on new releases.