Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

GhostPaw Grimoire

Latest version: v0.7.4

Overview

Last scanned
18 Nov 2026
Published
18 Nov 2026
MCP server Transport: stdio Publisher: GhostPawJS
2 Stars
1 Forks
13 Versions
TypeScript Repo language

Scan summary

GhostPaw Grimoire was last scanned on 18 Nov 2026 at version 0.7.4. Risk score 20 of 100 (low). High-severity rules fired.

  • Releases: 13 versions; the latest was published on 18 Nov 2026.
  • Findings: 1 rule fired in version 0.7.4 (1 high). The score describes this version only.
  • MCP server: Runs over stdio.

Versions

13 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.7.4 LATEST 18 Nov 2026 1 rule fired
0.7.3 11 Nov 2026 No rules fired
0.7.2 10 Nov 2026 No rules fired
0.7.1 5 Nov 2026 Not shown
0.7.0 4 Nov 2026 Not shown

Rules fired in 0.7.4: 1

Findings

8 High 1 Low

Findings for v0.7.4. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

Instructs fetching and running remote code

The skill's instructions or bundled files tell the agent to download content from a remote location and run it. This pattern can be used to change behavior after a review, but it also appears in legitimate installers. Check the source.

HIGH
Checking access…

🔒 Create a free account to see all 9 findings with descriptions and instance counts

The score describes 0.7.4; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@ghostpaw/grimoire

npm CI site runtime deps MCP Registry node license

Agent skills as SKILL.md folders, every improvement sealed as a git commit you can roll back.

A procedural knowledge engine for Node.js, built on Git, SQLite, and the filesystem.

Grimoire treats spells (learned procedures), evidence, versioning, and health as one coherent model instead of separate systems. It ships as a single prebundled blob with zero runtime dependencies, designed for two audiences at once: human developers working directly in code, and LLM agents operating through a structured soul / tools / skills runtime.

Install

Release binary (default)

The installers verify the archive against SHA256SUMS before installing. The Unix lines below install the latest release to ~/.local/bin and add that directory to PATH for the current shell only; they do not edit ~/.profile or any other file. The Windows installer updates the user PATH. Choose the line for your target.

Linux x64:

curl -fsSL https://raw.githubusercontent.com/GhostPawJS/grimoire/main/install.sh | sh -s -- --target linux-x64 && export PATH="$HOME/.local/bin:$PATH"

Linux arm64:

curl -fsSL https://raw.githubusercontent.com/GhostPawJS/grimoire/main/install.sh | sh -s -- --target linux-arm64 && export PATH="$HOME/.local/bin:$PATH"

macOS arm64:

curl -fsSL https://raw.githubusercontent.com/GhostPawJS/grimoire/main/install.sh | sh -s -- --target darwin-arm64 && export PATH="$HOME/.local/bin:$PATH"

macOS x64:

curl -fsSL https://raw.githubusercontent.com/GhostPawJS/grimoire/main/install.sh | sh -s -- --target darwin-x64 && export PATH="$HOME/.local/bin:$PATH"

Windows x64:

irm https://raw.githubusercontent.com/GhostPawJS/grimoire/main/install.ps1 | iex

To keep ~/.local/bin on PATH in new shells, this variant also appends one line to ~/.profile (skip it if that directory is already on your PATH):

curl -fsSL https://raw.githubusercontent.com/GhostPawJS/grimoire/main/install.sh | sh -s -- --target linux-x64 && echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.profile && export PATH="$HOME/.local/bin:$PATH"

To pin a version instead of taking the latest release, pass --version (replace the target as needed):

curl -fsSL https://raw.githubusercontent.com/GhostPawJS/grimoire/main/install.sh | sh -s -- --target linux-x64 --version 0.6.0 && export PATH="$HOME/.local/bin:$PATH"

ghostpaw-grimoire --version prints the version and variant, --version --short the bare semver, and --version --json a {name, version, variant, target} record.

The binary includes its runtime. ghostpaw-grimoire skill --list lists the bundled workflow guides; ghostpaw-grimoire skill <guide> prints one.

MCP configuration
claude mcp add ghostpaw-grimoire -- "$HOME/.local/bin/ghostpaw-grimoire" mcp
/plugin marketplace add GhostPawJS/grimoire
/plugin install ghostpaw-grimoire@ghostpaw-grimoire

Codex CLI (~/.codex/config.toml):

[mcp_servers.ghostpaw-grimoire]
command = "/absolute/home/.local/bin/ghostpaw-grimoire"
args = ["mcp"]

Cursor, Claude Desktop, or a project .mcp.json:

{"mcpServers":{"ghostpaw-grimoire":{"command":"/absolute/home/.local/bin/ghostpaw-grimoire","args":["mcp"]}}}

Download server.mcpb from releases for clients supporting MCP Bundles. Build the supplied Dockerfile with docker build -t ghostpaw-grimoire . and mount /data for persistence.

Supports MCP 2026-07-28 and initialize-based protocol versions (2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05). The database defaults to ~/.ghostpaw/grimoire.db; --db overrides GHOSTPAW_GRIMOIRE_DB. Spell root selection follows the state precedence. No credentials are required for local tools.

npx / npm (for npm-based environments)

Requires Node 24 or newer:

npm install -g @ghostpaw/grimoire
npx -y @ghostpaw/grimoire --help

For an npm-based MCP configuration:

{"mcpServers":{"ghostpaw-grimoire":{"command":"npx","args":["-y","@ghostpaw/grimoire","mcp"]}}}
Library (for harnesses embedding it in code)
npm install @ghostpaw/grimoire
import { DatabaseSync } from 'node:sqlite';
import { initGrimoireTables, write, read } from '@ghostpaw/grimoire';

const db = new DatabaseSync(':memory:');
initGrimoireTables(db);
write.dropNote(db, { source: 'practice', content: 'Verify the build before release.' });
const notes = read.pendingNotes(db);
db.close();

A session with a linux-x64 release binary against a fresh database and spell directory (output piped through jq to keep it short):

ghostpaw-grimoire 0.6.0: version, writing a SKILL.md, spell inscribe --content @SKILL.md, a note starting with a literal @, review notes, search, inspect history and the spell file on disk

The same session as an animated GIF.

Other release installers:

mise use -g github:GhostPawJS/grimoire
ubi --project GhostPawJS/grimoire --exe ghostpaw-grimoire --in ~/.local/bin
eget GhostPawJS/grimoire

For aqua, define a github_release package in aqua.yaml:

registries:
  - name: grimoire
    type: local
    path: grimoire-registry.yaml
packages:
  - name: GhostPawJS/grimoire@v0.4.3
    registry: grimoire

grimoire-registry.yaml:

packages:
  - type: github_release
    repo_owner: GhostPawJS
    repo_name: grimoire
    asset: ghostpaw-grimoire-{{trimV .Version}}-{{.OS}}-{{.Arch}}.tar.gz
    format: tar.gz
    replacements: { amd64: x64 }
    overrides:
      - goos: windows
        asset: ghostpaw-grimoire-{{trimV .Version}}-windows-{{.Arch}}.zip
        format: zip
    files:
      - name: ghostpaw-grimoire

Install scripts verify SHA256SUMS. To verify a downloaded archive's build attestation:

gh attestation verify <archive> -R GhostPawJS/grimoire

Set GHOSTPAW_VERIFY=attestation for attestation verification in install.sh. Binaries are unsigned; macOS binaries carry an ad-hoc signature. For a browser download on macOS, remove quarantine with xattr -d com.apple.quarantine /path/to/ghostpaw-grimoire. Linux binaries require glibc 2.28+; use npx on Alpine. See the binary build workflow.

Archive and binary sizes vary by release; see the assets on the release page.

The install check runs on ubuntu-24.04, macos-15 and windows-2025.

Running inside sandboxed agent harnesses

Inside a Codex CLI --sandbox workspace-write session, the database and its parent directory must be inside a writable root, including SQLite's -wal and -shm side files. A default DB under ~/.ghostpaw outside those roots can fail with SQLITE_CANTOPEN or EPERM (often exit 70; directory creation failures may exit 2), even when normal shell permissions allow access. Put the DB inside the workspace with --db ./state/grimoire.db, or set GHOSTPAW_GRIMOIRE_DB="$PWD/state/grimoire.db" for CLI/MCP use.

To use an external DB directory, add it when starting the OpenAI Codex CLI (replace <dir-with-db> with its absolute path):

codex exec --sandbox workspace-write --add-dir <dir-with-db> "Run the GhostPaw CLI"

Alternatively, set sandbox_workspace_write.writable_roots in ~/.codex/config.toml before starting the session:

[sandbox_workspace_write]
writable_roots = ["/absolute/dir-with-db"]

The spell root and Git directory must also be inside writable roots. Select --root ./state/spells (or GHOSTPAW_GRIMOIRE_ROOT) as well as --db; --db alone does not relocate the spell root. Git defaults to <root>/.grimoire-git; keep it there or select a writable directory with --git-dir ./state/spell-history / GHOSTPAW_GRIMOIRE_GIT_DIR. Add each external directory with another --add-dir or writable_roots entry. Avoid a protected workspace .git directory; use the dedicated spell history directory.

State

The database defaults to ~/.ghostpaw/grimoire.db; select it with --db or GHOSTPAW_GRIMOIRE_DB. Spell root precedence is --root, GHOSTPAW_GRIMOIRE_ROOT, then <parent of GHOSTPAW_GRIMOIRE_DB>/grimoire when that variable names a file, then ~/.ghostpaw/grimoire. Relative DB paths resolve against the current directory. Empty environment values count as unset; :memory: retains the home root default. --db overrides the database only; the environment DB still supplies the default root. Explicit root and Git settings always win. Explicit --git-dir or GHOSTPAW_GRIMOIRE_GIT_DIR configuration suppresses the ignored-parent-history warning.

Each root stores Git history in <ROOT>/.grimoire-git, excluded from discovery. --git-dir overrides GHOSTPAW_GRIMOIRE_GIT_DIR, which overrides this default. A legacy <parent>/.grimoire-git is copied into the root only when its configured work tree or HEAD tree identifies this root. The original stays in place, with a MIGRATED_TO marker. Shared or uncertain legacy repositories stay at their old location and produce one shared_git_dir warning per result; new writes use the root-local repository. Git writes use a per-repository advisory lock and path-scoped commits. File databases use WAL and a five-second busy timeout. Library callers supply their database and should configure those pragmas before use.

CLI

ghostpaw-grimoire search <query>
ghostpaw-grimoire review <check|chapters|health|resonance|notes|drafts|validation|provenance|index>
ghostpaw-grimoire inspect <path>
ghostpaw-grimoire spell inscribe <name> --content TEXT
ghostpaw-grimoire spell update|hone <path> [flags]
ghostpaw-grimoire spell shelve|unshelve|delete|repair <path>
ghostpaw-grimoire spell move <path> <target>
ghostpaw-grimoire spell rollback <path> <ref>
ghostpaw-grimoire spell repair-all
ghostpaw-grimoire note drop <content> --source <source>
ghostpaw-grimoire draft submit <title> --rationale TEXT --note-ids ID --chapter NAME
ghostpaw-grimoire draft approve|dismiss <draftId>
ghostpaw-grimoire catalogue run
ghostpaw-grimoire scout adopt <source>
ghostpaw-grimoire scout search <query>
ghostpaw-grimoire scout check-updates
ghostpaw-grimoire scout apply-update <path>
ghostpaw-grimoire mcp|skill|tools|describe|call|completions|version|help

Global flags can appear anywhere: --db <path>, --root <path>, --git-dir <path>, --json, -q, --quiet, --compact, --help/-h, --version/-V/-v, --no-color. NO_COLOR is accepted; output uses no terminal colors. Noun-verb commands print the full tool result as JSON with --json or when stdout is piped. Write results contain compact metadata by default; --verbose includes full spell content. -q, --quiet, or GHOSTPAW_QUIET=1 suppresses the default database notice on stderr. Command results and errors are still printed. --compact removes JSON indentation. Usage lines and missing-argument errors list required flags, for example note drop <content> --source <source>.

Use help spell, bare spell, or spell update --help for schema-derived help. skill --list lists bundled guides; skill <guide> prints the guide. Search tokenizes multiple terms, removes common English stopwords, stems common suffixes, and scores name/description/body matches with weights 3/2/1 and inverse document frequency. Trigram Jaccard similarity of at least 0.3 adds fuzzy metadata matches. Results expose score and sort by score, rank, then path. Legacy name and description substring matches remain supported. Uncheckpointed spells remain visible. Inscribe conflicts unless --force is supplied; identical forced content returns no_op when it also matches committed content. Hone accepts positional paths and returns no_op without a diff; supplied note IDs are still marked distilled. --note-ids and --note_ids both work for hone and draft submit. Inspect includes commit hashes, short hashes, subjects, and ISO dates for rollback. --now accepts epoch milliseconds, ISO 8601 date-time, or YYYY-MM-DD. Values more than one minute ahead return a projection with a projected warning and preserve stored health and notes. review index --format prompt returns only the formatted prompt block in data. Catalogue health fields measure honing pressure, rather than a quality rating: a fresh seal can have zero pressure. Dormancy has a 14-day grace period after the first seal. Catalogue expires pending notes older than 90 days and keeps at most 50 pending notes, expiring the oldest first with a notes_expired count warning. Deleting a spell purges its events. Array flags repeat and a final - reads JSON stdin (spell inscribe <name> - is supported). Spell --content, --replace, --with, and --body read files: @path reads the file, @- reads stdin, and @@text passes a literal @text. Every other value, including note text and positionals, is taken literally even if it starts with @. Flags use kebab-case and override stdin fields. -- ends flags. All value flags accept --flag=value; use this form for dash-leading text, for example spell update general/example --replace="--soul <A>:owner" --with="--soul <B>:owner". Use -- to end flag parsing before dash-leading positional arguments. --replace and --with accept UTF-8 @file values, @- for stdin, and @@ for a literal leading @.

ghostpaw-grimoire check (also review check) combines current resonance with the latest saved catalogue in data.resonance and data.snapshot (null if none exists). It reads an existing database without initialization, migrations, Git migration, note routing, or snapshot writes. Missing databases fail without creating files. The facade and MCP expose the same operation as review_grimoire({ view: 'check' }); --now and --limit apply to resonance. The saved snapshot retains its original timestamp.

Database selection uses --db, GHOSTPAW_GRIMOIRE_DB, then ~/.ghostpaw/grimoire.db. Spell files and Git history follow the full precedence in State. Context initialization may run Git. Scout remote operations need network access; local sources can stay offline.

Exit Noun-verb result
0 Success, including no_op
1 Tool error
2 Usage or input validation error
3 Clarification needed or not found
4 Conflict or version mismatch
70 Internal error

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • MCP Registry io.github.GhostPawJS/grimoire

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Frame 2085668439 (1)
Group 1261154229