
Security News
/Company News
Securing the Financial Frontier: How Capital One Uses Socket for Open Source Security
Capital One is partnering with Socket to proactively secure its open source supply chain.
@vibo-dev/context-compactor
Advanced tools
Condense long agent sessions into compact handoff memos: decisions, tasks, risks, facts. Credential values auto-redacted. EN/RU, zero dependencies, Python 3.8+.
Condense a long agent session into a handoff memo — decisions, open tasks, risks, facts — without losing what matters.
Every agent developer knows the pain: your session grows to 200k tokens, context gets compacted, and the important stuff vanishes — the decision you made, the task you promised, the URL you need tomorrow.
Context Compactor reads a raw transcript (txt/md, any language mix of Russian/English) and produces a compact handoff memo grouped into:
Handoff memos travel to other agents and files. Context Compactor therefore
redacts credential values before scoring: password, token,
api key, secret, private key, sk-…/ghp_… tokens, JWTs,
URL-embedded credentials and PEM key blocks become <REDACTED: …>.
The decision/context around them is kept — the secret value is not.
⚠️ Redaction is best-effort pattern matching, not a guarantee. Review generated memos before sharing them, especially when transcripts may contain credentials, tokens, private URLs or other sensitive details. For conservative output use
--strict(whole suspect lines are dropped).--self-testasserts the covered cases (incl. URL creds, JWT, Cyrillic, PEM blocks larger than 600 chars).
# direct (recommended — runs the reviewed source)
python3 compactor.py --input session.md
# npm — pinned release, version-synced with this repo (any OS with Python 3.8+).
# The package ships the exact reviewed source: compactor.py, the bin/ wrapper and
# SKILL.md (see package.json "files"). npx asks for confirmation before downloading.
npx @vibo-dev/context-compactor@1.1.7 --input session.md
# ClawHub / OpenClaw registry: install "context-compactor-cli"
# GitHub: clone this repo
git clone https://github.com/vnbochkarev-netizen/context-compactor
cd context-compactor
# Condense a session transcript
python3 compactor.py --input session.md
# Save to a handoff file for the next session
python3 compactor.py --input session.md --output handoff.md
# Verify the tool itself
python3 compactor.py --self-test
No dependencies. Python 3.8+. Works on Linux/macOS.
Heuristic line scoring (no LLM, no API costs, runs offline):
# Handoff memo (auto-compacted)
## ✅ Decisions
- decided to build skill-injection-scanner in Python, MIT-licensed
- agreed: we publish tomorrow
## 📌 Open tasks
- need to run the tests before publishing
## ⚠️ Risks
- risk: without tests there will be many false positives
## 🔗 Facts & links
- project repo: https://github.com/vnbochkarev-netizen/skill-injection-scanner
MIT © 2026 Viacheslav Bochkarev
FAQs
Condense long agent sessions into compact handoff memos: decisions, tasks, risks, facts. Credential values auto-redacted. EN/RU, zero dependencies, Python 3.8+.
The npm package @vibo-dev/context-compactor receives a total of 15 weekly downloads. As such, @vibo-dev/context-compactor popularity was classified as not popular.
We found that @vibo-dev/context-compactor demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
/Company News
Capital One is partnering with Socket to proactively secure its open source supply chain.

Security News
Socket CTO Ahmad Nassri discusses how to keep AI agents from bypassing package blocks, limit credential access, and monitor their actions.

Security News
GPT-6 Astra tried to plant malicious code in simulated open source projects using fake GitHub accounts and deceptive PRs during an assigned CTF challenge.