Skip to content

feat: agent/MCP/hook auditing kit agent-audit → 1.18.0 (#47) - #57

Merged
sandstream merged 1 commit into
mainfrom
feat/agent-audit-47
Jun 23, 2026
Merged

sandstream merged 1 commit into
mainfrom
feat/agent-audit-47

Conversation

@sandstream

Copy link
Copy Markdown
Owner

kit agent-audit — kit-native baseline over the coding-agent supply-chain surface:

  • configs (.claude.json, .mcp.json, .cursor/mcp.json, .vscode/mcp.json, .claude/settings*.json): plaintext secrets (reuses findSecrets — the .claude.json sk_live leak class we hit earlier) + cleartext http:// MCP servers.
  • git hooks (.git/hooks, .githooks, .husky): malware-shaped lines — pipe-to-shell, base64-decode-to-shell, /dev/tcp reverse shell, eval of a command substitution.

Pure analyzers, fixture-tested (6 tests). Read-only, fail-open per file. (The AgentShield-as-plugin alternative from the issue stays a separate option; this native baseline stands alone.)

Closes #47

🤖 Generated with Claude Code

New `kit agent-audit` (+ src/agent-audit.ts): kit-native baseline over the
coding-agent supply-chain surface.
- configs (.claude.json/.mcp.json/.cursor/.vscode/.claude settings): plaintext
  secrets (reuses findSecrets) + cleartext http:// MCP servers
- git hooks (.git/hooks/.githooks/.husky): pipe-to-shell, base64-to-shell,
  /dev/tcp reverse shell, eval-of-substitution

Pure analyzers fixture-tested (6 tests). Read-only, fail-open per file.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

✅ Docker image built successfully

  • CLI image: docker.io/sandstream/kit:test

@sandstream
sandstream merged commit d550532 into main Jun 23, 2026
16 checks passed
@sandstream
sandstream deleted the feat/agent-audit-47 branch June 23, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Backlog: agent-config / MCP / hook auditing (from AgentShield) — plugin-ingest vs kit-native checks

1 participant