# Skarn (npm · @skarn-security/skarn)

Scans AI coding sessions and assistant configs for leaked secrets and risky hooks; local, redacted

- Trust score: 78/100 (medium)
- Change this week: +3
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-09-21

## Components

- npm · `@skarn-security/skarn`: 78/100 (this document), [markdown](https://verifymcp.io/servers/com-getskarn-skarn/skarn-security-skarn.md), [page](https://verifymcp.io/servers/com-getskarn-skarn/skarn-security-skarn)

## Channel facts

- Registry: `npm`
- Package: `@skarn-security/skarn`
- Version: `0.31.0`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-09-21.

- **Supply Chain Security**: 100/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - No install/post-install scripts declared.
  - 0 of 6 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 32/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - License check failed: the license (SEE LICENSE IN EULA.md) isn't a recognized OSI-approved license.
  - Actively maintained (last published 5 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 65/100
  - AI-judged instruction clarity (excellent).
  - Context-footprint check failed: tool/resource definitions use about 885 tokens (~221/item across 4 items; 4 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 87/100
  - Stability observed for 26 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 4 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 5 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### How do I install the Skarn MCP server?

Skarn runs locally as an npm package, launched with npx -y @skarn-security/skarn. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add com-getskarn-skarn -- npx -y @skarn-security/skarn
```

### Cursor

```json
{
  "mcpServers": {
    "com-getskarn-skarn": {
      "command": "npx",
      "args": [
        "-y",
        "@skarn-security/skarn"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "com-getskarn-skarn": {
      "command": "npx",
      "args": [
        "-y",
        "@skarn-security/skarn"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add com-getskarn-skarn -- npx -y @skarn-security/skarn
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "com-getskarn-skarn": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@skarn-security/skarn"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add com-getskarn-skarn --command npx --arg -y --arg @skarn-security/skarn
```

### Hermes

```yaml
mcp_servers:
  com-getskarn-skarn:
    command: "npx"
    args: ["-y", "@skarn-security/skarn"]
```

### Netclaw

```json
{
  "McpServers": {
    "com-getskarn-skarn": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "@skarn-security/skarn"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add com-getskarn-skarn -t stdio -c npx -a -y @skarn-security/skarn
```

### Other

```json
{
  "mcpServers": {
    "com-getskarn-skarn": {
      "command": "npx",
      "args": [
        "-y",
        "@skarn-security/skarn"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-09-20 (score 78, +1)

No change was recorded against any check on this day. Stability & Change Management went from 80 to 83. That category is still filling its 30-day observation window: 24 days of observed history at the previous scan, 25 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-09-18 (score 77, +1)

No change was recorded against any check on this day. Stability & Change Management went from 73 to 77. That category is still filling its 30-day observation window: 22 days of observed history at the previous scan, 23 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-09-17 (score 76, +15)

- [security improvement] Malware scan: unverified → pass

### 2026-09-16 (score 61, −14)

- [security regression] Malware scan: pass → unverified
- [functional] Package version: 0.30.0 → 0.31.0

### 2026-09-13 (score 75, +1)

No change was recorded against any check on this day. Stability & Change Management went from 57 to 60. That category is still filling its 30-day observation window: 17 days of observed history at the previous scan, 18 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-09-11 (score 74, +16)

- [security improvement] Malware scan: unverified → pass

### 2026-09-10 (score 58, −16)

- [security regression] Malware scan: pass → unverified
- [security regression] Tool safety: pass → unverified
- [security regression] Stability: 0.47 → unverified
- [functional regression] Schema quality: 163 → 221
- [functional regression] Schema quality: 163 → 199
- [functional regression] Capabilities: pass → unverified
- [functional regression] Tool coverage: 100 → unverified
- [functional] First check of Schema quality: unverified
- [functional] Package version: 0.28.0 → 0.30.0
- [functional] Package version: 0.28.0 → 0.29.0

### 2026-09-08 (score 74, +1)

No change was recorded against any check on this day. Stability & Change Management went from 40 to 43. That category is still filling its 30-day observation window: 12 days of observed history at the previous scan, 13 at this one. The score rises as the window fills, whether or not the server changes.

## MCP tools (4)

### `scan_sessions` (~231 tokens)

Scan sessions for leaked secrets

Scan this machine's AI coding assistant session transcripts for leaked credentials and risky agent behaviour, and return the redacted JSON report as a text block. Each detected secret is reported in a truncated mask that keeps at most its first character and last two characters; the surrounding transcript snippet and the transcript-authored project label are not returned. severity sets the lowest reported level, hours bounds the window (0 scans all history and is the slowest form), project narrows to one project, user narrows to the user ids or email addresses a Compliance API export recorded. compliance_withheld counts the Compliance API export sessions that were found and withheld unread because reading them needs an Enterprise license; they contribute nothing to the counts.

Input parameters:

- `hours` (integer): Only sessions active in the last N hours. 0 scans all history. Default 0.
- `project` (string): Only sessions whose project name or path matches this filter.
- `severity` (string): Lowest severity to report. Default low.
- `user` (string): Only sessions whose user id or email address matches this filter; only a Compliance API export carries either.

### `vet_configs` (~71 tokens)

Vet assistant configuration

Statically vet this machine's AI assistant configuration - hook commands, MCP server definitions, permission grants, installed plugins and skills - and return the masked JSON findings report as a text block. Read-only: config files are opened for reading and never written. Project-level configuration is read from this server process's working directory.

### `list_sessions` (~233 tokens)

List recent sessions

List recent AI coding assistant sessions as structural metadata only: session id, assistant, timestamps, message and tool counts, and token totals. No session message text is returned, and no label authored inside a transcript such as a project name, git branch or model id. hours bounds the window, limit caps the row count, project, cli and user narrow the list; a row from a Compliance API export carries the recorded user id and never the email address. compliance_withheld counts the Compliance API export sessions that were found and withheld unread because reading them needs an Enterprise license; they contribute no row.

Input parameters:

- `cli` (string): Only sessions recorded by this assistant, for example claude, codex or cursor.
- `hours` (integer): Only sessions active in the last N hours. 0 lists all history. Default 168.
- `limit` (integer): Maximum rows to return. Default 50.
- `project` (string): Only sessions whose project name or path matches this filter.
- `user` (string): Only sessions whose user id or email address matches this filter; only a Compliance API export carries either.

### `session_stats` (~176 tokens)

Session statistics

Aggregate recent AI coding assistant sessions into counts: sessions per assistant, total messages, distinct projects, token totals and estimated cost. No session message text is returned. hours bounds the window, project, cli and user narrow what is aggregated. compliance_withheld counts the Compliance API export sessions that were found and withheld unread because reading them needs an Enterprise license; they contribute nothing to the counts.

Input parameters:

- `cli` (string): Only sessions recorded by this assistant, for example claude, codex or cursor.
- `hours` (integer): Only sessions active in the last N hours. 0 aggregates all history. Default 168.
- `project` (string): Only sessions whose project name or path matches this filter.
- `user` (string): Only sessions whose user id or email address matches this filter; only a Compliance API export carries either.

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/com-getskarn-skarn/skarn-security-skarn#diagnostics

## Score history

- 2026-09-21: 78
- 2026-09-20: 78
- 2026-09-19: 77
- 2026-09-18: 77
- 2026-09-17: 76
- 2026-09-16: 61
- 2026-09-15: 75
- 2026-09-14: 75
- 2026-09-13: 75
- 2026-09-12: 74
- 2026-09-11: 74
- 2026-09-10: 58
- 2026-09-09: 74
- 2026-09-08: 74
- 2026-09-07: 73
- 2026-09-06: 73
- 2026-09-05: 72
- 2026-09-04: 72
- 2026-09-03: 71
- 2026-09-02: 71
- 2026-09-01: 70
- 2026-08-31: 70
- 2026-08-30: 69
- 2026-08-29: 69
- 2026-08-28: 54
- 2026-08-27: 53
- 2026-08-26: 68

## Common questions

### What is the Skarn MCP server?

Skarn is an MCP server listed in the public MCP registry as com.getskarn/skarn. Scans AI coding sessions and assistant configs for leaked secrets and risky hooks; local, redacted. This page covers its npm package (@skarn-security/skarn).

### Is the Skarn MCP server safe to use?

Skarn scores 78 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 21 September 2026. It declares no install or post-install scripts. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the Skarn MCP server expose?

Skarn exposes 4 tools: scan_sessions, vet_configs, list_sessions, session_stats. Their descriptions and schemas cost roughly 711 tokens of context every time the server is loaded.

### Is the Skarn MCP server still maintained?

Skarn is still listed as active in the MCP registry. We last reached this channel on 21 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

## Links

- npm package: https://www.npmjs.com/package/@skarn-security/skarn
- Socket report: https://socket.dev/npm/package/@skarn-security/skarn
- Repository: https://github.com/skarn-security/skarn-dist
- Website: https://getskarn.com/
- Changelog RSS feed: https://verifymcp.io/servers/com-getskarn-skarn/skarn-security-skarn.xml
- Changelog JSON feed: https://verifymcp.io/servers/com-getskarn-skarn/skarn-security-skarn.json
- HTML version of this page: https://verifymcp.io/servers/com-getskarn-skarn/skarn-security-skarn
