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

io.github.krishthesmart/context-slicer

Latest version: v1.0.1

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
MCP server Transport: stdio Publisher: krishthesmart
0 Stars
0 Forks
1 Versions
JavaScript Repo language

Scan summary

io.github.krishthesmart/context-slicer was last scanned on 25 Nov 2026 at version 1.0.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 25 Nov 2026.
  • Findings: No rules fired in version 1.0.1.
  • MCP server: Runs over stdio.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
1.0.1 LATEST 25 Nov 2026 No rules fired

No rules fired in 1.0.1

Findings

Findings for v1.0.1. 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 1.0.1; other versions have their own rules, not their own score.

README

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

ContextSlicer

Cut AI token usage without deleting a single message.

Normally, AI chats re-send and re-read the entire conversation history on every turn—wasting thousands of tokens on unrelated turns and dead-end brainstorming. ContextSlicer is a non-destructive context filter that keeps your full chat history archived while sending the AI only the specific context it needs to complete the active task.

Zero npm dependencies. Built with pure Node.js CommonJS, stdio JSON-RPC 2.0, and a single-file Cloudflare Worker.

Why ContextSlicer?

  • Sends only what the task needs: Instead of replaying the entire chat on every request, ContextSlicer filters the history down to only the relevant context and key decisions required for the current task.
  • Non-destructive by design: All raw turns remain safely archived in this.archive (or local JSON storage)—nothing is ever deleted from your chat.
  • Auto-switches on build triggers: During brainstorming (chat mode), it includes compact working memory, keyword-recalled turns, and the recent window. When you trigger execution ("build it", "build the app", "write the code", "start coding"), it drops the brainstorm window and sends only the distilled task essentials ([WORKING_MEMORY] + current_message).

Architecture

  1. SDK (src/core.js): ContextSlicer keeps all raw turns in this.archive and maintains a compact specCard (goal, decisions, constraints, rejected, plus custom categories like note) via <spec cat="...">...</spec> tags.
    • Chat mode: [WORKING_MEMORY] + keyword-recalled turns + last N turns + userMsg
    • Execute mode: Triggered automatically on build phrases — drops brainstorm clutter and sends only the essential spec + userMsg.
  2. Proxy (src/proxy.js & bin/cli.js): OpenAI-compatible streaming proxy with GET /health, GET /stats, GET /v1/models, OPTIONS CORS, POST /v1/chat/completions (stream: true SSE passthrough), X-Context-Saved header, 100-session LRU RAM cap, and optional SLICER_KEY auth.
  3. MCP (src/mcp.js): Zero-dependency stdio JSON-RPC 2.0 server exposing slice_and_retrieve, save_slice, get_slice, list_slices, and delete_slice backed by a local JSON file.
  4. Cloudflare Worker (worker.js) & Product Site (index.html): Free-tier single-file Cloudflare Worker proxy + dark-mode 1-page site.

Quick Start

Proxy
npm start
# or
npx context-slicer serve --port 8787 --upstream https://api.openai.com
MCP Server
npm run mcp
# or
node src/mcp.js
SDK
const { ContextSlicer } = require('./src/core');

const slicer = new ContextSlicer({ windowSize: 6 });
slicer.addTurn('user', 'Build a CLI <spec cat="goal">Zero-dep CLI</spec>');
const messages = slicer.buildMessages('build it'); // switches to execute mode
Cloudflare Worker

Deploy worker.js directly with Wrangler or paste into the Cloudflare Workers dashboard (no KV or credit card required).

License

MIT

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.krishthesmart/context-slicer

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

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Frame 2085668439 (1)
Group 1261154229