
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
agent-session-diff
Advanced tools
Post-session CLI that diffs your repo against a saved snapshot and produces a structured summary of everything the agent changed.
npm install -g agent-diff
Before a session:
agent-diff snapshot
# Saved session start: abc1234
After a session:
agent-diff report
Session: abc1234..def5678 (5 commits, 23 minutes)
Files (12 changed):
+ src/match.ts (new)
+ src/__tests__/match.test.ts (new)
~ package.json (+3, -1)
~ src/index.ts (+2, -0)
- old-file.ts (deleted)
Dependencies:
+ @valencets/resultkit ^0.2.0
~ typescript 5.8.0 → 5.9.0
Stats: +245 -67 across 12 files in 5 commits
agent-diff snapshotSaves the current git HEAD commit hash to .agent-session in the current directory. Run this before starting a Claude Code session.
agent-diff reportGenerates a diff report from the snapshot to the current HEAD.
Options:
--format cli — colored terminal output (default)--format json — structured JSON for programmatic use--format markdown — PR-friendly markdown--since <commit> — diff from a specific commit instead of the snapshot# JSON output for scripting
agent-diff report --format json | jq '.files[] | select(.status == "A")'
# Markdown for PR description
agent-diff report --format markdown > session-summary.md
# Diff from a specific commit
agent-diff report --since abc1234
Colored terminal output with + for added, ~ for modified, - for deleted.
{
"startCommit": "abc1234",
"endCommit": "def5678",
"commitCount": 5,
"duration": "0h 23m",
"files": [
{ "status": "A", "path": "src/match.ts", "insertions": 45, "deletions": 0 },
{ "status": "M", "path": "package.json", "insertions": 3, "deletions": 1 }
],
"stats": { "insertions": 245, "deletions": 67, "filesChanged": 12 },
"dependencies": [
{ "name": "@valencets/resultkit", "action": "added", "to": "^0.2.0" }
],
"commits": [
{ "hash": "def5678", "subject": "Add match/matchOn", "author": "Forrest", "date": "2026-03-21T18:05:49-05:00" }
]
}
Structured markdown with headers, bullet lists, suitable for pasting into PRs.
MIT
FAQs
Post-session CLI that diffs the repo and produces a structured summary
We found that agent-session-diff 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.