
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
claude-rewind
Advanced tools
Lightweight session backup management tool for Claude Code using hardlinks for zero-disk-overhead backups
A Git-powered session backup tool for Claude Code with complete change tracking and advanced restore capabilities. Uses an isolated Git repository for backups - never touches or interferes with your project's Git environment.
.claude-sessions/backup-repo
- your project's Git remains untouchednpm install -g claude-rewind
claude-rewind-install
Prerequisites: Git must be installed and configured on your system.
npx claude-rewind-quick # Smart auto-setup
npx claude-rewind backup # Create backup
npx claude-rewind list # List sessions
npx claude-rewind restore last # Restore latest
npm install claude-rewind
npx claude-rewind-install
Claude Rewind automatically creates Git commits of your project files when Claude Code sessions end. Each backup is stored as a commit in a dedicated, isolated Git repository (.claude-sessions/backup-repo
) that operates completely independently from your project's Git repository.
Key Architecture:
After installation, Claude Rewind seamlessly integrates with Claude Code:
Use these commands directly in Claude Code:
/rewind:status
- Show backup system status/rewind:list [count]
- List recent backup sessions/rewind:backup
- Create manual backup/rewind:restore <session_id>
- Restore to specific session/rewind:info <session_id>
- Show session details/rewind:delete <session_id>
- Delete backup sessionBasic Commands:
claude-rewind backup # Create backup
claude-rewind list [count] # List sessions
claude-rewind restore <session_id> # Restore session
claude-rewind info <session_id> # Session details
claude-rewind delete <session_id> # Delete session
claude-rewind status # System status
Git-Enhanced Commands:
claude-rewind diff <session1> <session2> # Compare two sessions
claude-rewind history <file_path> # Show file change history
claude-rewind smart-restore <session_id> # Restore only changed files
# Branch safety options for restore commands
claude-rewind restore <session_id> --ignore-branch # Skip branch mismatch warnings
claude-rewind restore <session_id> --force # Override all conflicts and warnings
claude-rewind smart-restore <session_id> --ignore-branch # Skip branch checks for smart restore
npx claude-rewind backup # Create backup
npx claude-rewind list # List sessions
npx claude-rewind restore last # Restore latest
npx claude-rewind status # Check status
npx claude-rewind-install # Setup wizard
npx claude-rewind-quick # Smart auto-setup
Claude Rewind includes Model Context Protocol support for natural language operations:
Basic Operations:
"show backup status"
"list recent 5 backups"
"create new backup"
"restore to latest backup"
Git-Enhanced Operations:
"compare recent sessions"
"show file history: src/main.js"
"smart restore to latest backup"
The MCP server is automatically configured during installation.
const { BackupEngine, RestoreEngine } = require('claude-rewind');
// Create backup (Git commit)
const backupEngine = new BackupEngine();
const result = await backupEngine.createBackup();
// List sessions
const restoreEngine = new RestoreEngine();
const sessions = await restoreEngine.listSessions(10);
// Compare sessions
const comparison = await restoreEngine.compareBackups('session1', 'session2');
// Get file history
const history = await restoreEngine.getFileHistory('src/main.js');
// Smart restore (only changed files)
const smartResult = await restoreEngine.smartRestore('last');
// Regular restore
const restoreResult = await restoreEngine.restoreSession('last');
Claude Rewind automatically ignores common directories and files:
node_modules/**
, .git/**
, dist/**
, build/**
**/*.log
), environment files (.env
, .env.*
)*.tmp
, *.temp
).DS_Store
, Thumbs.db
)Installation Issues:
git --version
sudo npm install -g claude-rewind
if permission errors occurGit-Related Issues:
git config --list
.claude-sessions/backup-repo
git log
in backup repo to see commit historyBackup Issues:
.claude-sessions/logs/
for detailsCommon Solutions:
Apache 2.0
Quick Commands:
npm install -g claude-rewind
npx claude-rewind-quick
claude-rewind-install
claude-rewind backup
claude-rewind list
claude-rewind restore last
FAQs
Lightweight session backup management tool for Claude Code using hardlinks for zero-disk-overhead backups
The npm package claude-rewind receives a total of 6 weekly downloads. As such, claude-rewind popularity was classified as not popular.
We found that claude-rewind 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.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.