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

craftbag

Latest version: v0.3.4

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
MCP server Transport: stdio Publisher: craftbag
2 Stars
0 Forks
8 Versions
Rust Repo language

Scan summary

craftbag was last scanned on 23 Nov 2026 at version 0.3.4. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 8 versions; the latest 3 were published within 3 days (21–23 Nov 2026).
  • Findings: No rules fired in version 0.3.4.
  • MCP server: Runs over stdio.

Versions

8 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.3.4 LATEST 23 Nov 2026 No rules fired
0.3.3 22 Nov 2026 Not shown
0.3.2 21 Nov 2026 Not shown
0.3.1 21 Oct 2026 Not shown
0.3.0 18 Oct 2026 Not shown

No rules fired in 0.3.4

Findings

Findings for v0.3.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.

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

README

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

craftbag

Discover, list, load, and explain Agent Skills (SKILL.md) for CLI and MCP hosts.

CI Security crates.io docs.rs License

Release

What it does

craftbag walks project and home skill trees (.agents, plus optional vendor trees for Claude, Cursor, Grok, and Bline). It then:

  • catalogs skills (list)
  • prints one skill body (load), or heading keys / one heading (load --outline, load --section KEY)
  • explains why a skill would activate (why)
  • checks a package (validate)

The same operations exist over MCP stdio (skills_list, skills_load, skills_why, skills_validate). Hosts can filter, rank, and load skills without taking a dependency on any one agent product.

Install

macOS and Linux (Homebrew):

brew install craftbag/tap/craftbag

Windows (Scoop):

scoop bucket add craftbag https://github.com/craftbag/scoop-bucket
scoop install craftbag/craftbag

Both commands install craftbag and craftbag-mcp. The MCP host then runs craftbag-mcp (on macOS GUI apps, use the full path if PATH is empty: /opt/homebrew/bin/craftbag-mcp).

From a Rust toolchain (crates.io):

cargo install --locked craftbag-cli
cargo install --locked craftbag-mcp

Library dependency:

craftbag = "0.3"

From git (unreleased tip):

cargo install --locked --git https://github.com/craftbag/craftbag craftbag-cli
cargo install --locked --git https://github.com/craftbag/craftbag craftbag-mcp

MSRV is 1.85.

Getting started

Default list walks cwd-to-git .agents/skills and $HOME/.agents/skills. Claude, Cursor, Grok, and Bline trees stay out of that walk until you pass --vendor. When .cursor/skills (or the matching directory for another vendor) is present and that vendor is off, the empty list names the flag: hint: .cursor/skills is present; pass --vendor cursor. This clone has no project .agents. When the .agents directories are absent, craftbag list exits 0 and says no skills were found. craftbag new NAME writes .agents/skills/NAME/SKILL.md with a matching name and a placeholder description. Point --path at the demo tree (same catalog as the demo GIF):

git clone https://github.com/craftbag/craftbag
cd craftbag
craftbag list --no-implicit-roots --path demo/workspace/.agents/skills --catalog
craftbag load review-pr --no-implicit-roots --path demo/workspace/.agents/skills
craftbag load review-pr --no-implicit-roots --path demo/workspace/.agents/skills --outline
craftbag load review-pr --no-implicit-roots --path demo/workspace/.agents/skills --section review-a-pull-request
craftbag why review-pr --no-implicit-roots --path demo/workspace/.agents/skills --context review
craftbag validate demo/workspace/.agents/skills/review-pr

--section review-a-pull-request passes the outline key. --outline prints that key before the heading Review a pull request. validate takes the package directory that contains SKILL.md, here demo/workspace/.agents/skills/review-pr. The collection folder demo/workspace/.agents/skills has no SKILL.md of its own, so validate on it exits 1 with directory is not a skill package (no SKILL.md). list --path on that folder still lists the packages inside it.

--path, --user-dir, --ignore, and validate expand ~/ and ~\ themselves, because MCP and a quoted command have no shell. ~//name and ~\\name stay under your home directory, the same as ~/name. A remainder that would replace your home directory is refused. That is an absolute path, a Windows drive written with a backslash such as C:\Windows, or a .. that climbs past home (~/../../Windows). A parent that stays inside home still loads. A path that is not there is an unreadable skip and says the path does not exist. A symlink whose target is gone says dangling symlink. Explicit / and /.. are roots you named. A padded .. that collapses to /, such as /tmp/ .., is refused.

If craftbag is not on PATH yet, cargo build -p craftbag-cli --locked and use ./target/debug/craftbag in those commands.

In a project that already has skills under .agents/skills:

craftbag list --catalog
craftbag load NAME
craftbag why NAME --context review
craftbag validate ./path/to/my-skill

Claude, Cursor, Grok, or Bline trees are opt-in:

craftbag list --vendor claude --catalog

Demo

MCP

craftbag-mcp speaks JSON-RPC on stdio. Tools: skills_list, skills_load, skills_why, skills_validate. prompts/list and prompts/get expose skills whose user_invocable is true (the default) as MCP prompts. prompts/get returns the same text envelope as load. After brew install or scoop install, craftbag-mcp --help names the tools. A request with "id": null is answered with that id. A message that omits id is a notification and gets no response.

Claude Desktop (claude_desktop_config.json) and other hosts that take a stdio command:

{
  "mcpServers": {
    "craftbag": {
      "command": "craftbag-mcp",
      "args": ["--vendor", "claude"]
    }
  }
}

Launch --path, --vendor, --user-dir, and --no-implicit-roots are the walk when a tool call omits that field. The host cwd is still the implicit walk root unless you pass --no-implicit-roots. skills_load accepts outline and section (same as load --outline / --section KEY).

Library

use craftbag::{discover, DiscoveryOptions};

fn main() -> std::io::Result<()> {
    let cwd = std::env::current_dir()?;
    let report = discover(&cwd, &DiscoveryOptions::default());
    for skill in &report.skills {
        println!("{} {}", skill.name, skill.description);
    }
    Ok(())
}

implicit_roots is on by default (cwd-to-git .agents and $HOME/.agents). Set it to false and put collection roots in paths for leftover-only hosts. format_load_view can print an outline or one heading instead of the whole body.

Contributing

See CONTRIBUTING.md. Security reports go to SECURITY.md. Roadmap and governance are in ROADMAP.md and GOVERNANCE.md.

License

Apache-2.0 or MIT. You may choose either. See LICENSE and LICENSE-APACHE.

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.craftbag/craftbag-mcp

References

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

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229