SkillTotal is a static security scanning tool designed to help developers check components for safety before coding agents install them. It supports scanning npm and PyPI packages, MCP servers, agent skills and plugins, VS Code extensions, git repositories (or a folder within one), local folders, archives (including .mcpb, .vsix, and wheels), and individual files.
Key capabilities:
- Detects malicious indicators, hidden Unicode characters, embedded secrets, auto-approved MCP tools, and data flows (for example, reading credentials and then exfiltrating them over the network).
- Provides behavioral signatures mapped to the Cloud Security Alliance (CSA) agent threat model, MAESTRO layers, and MITRE ATLAS tactics; findings carry OWASP Agentic Skills Top 10 numbers.
- Scans run locally, with no account, API token, upload, or telemetry, and never run the code being read.
- Detection is based on regular expressions and AST matching, without an LLM, so the same input produces the same results and score under the same Python version. Every finding cites a file and line number, and recall and precision are published.
- Zero runtime dependencies (only the Python standard library), making it easy to audit, embed, or run offline.
Usage:
- CLI: after installation, run the skilltotal command to scan.
- Claude Code plugin: automatically scans every package before install commands (such as npx, npm install, pip install, claude mcp add, etc.) run. In CI environments, installations that cannot be checked are rejected unless specified via SKILLTOTAL_ALLOW_UNCHECKED.
- GitHub Action: runs in CI, uploads findings as SARIF, viewable in the repository's Security → Code scanning tab. Malicious indicators cause the job to fail, while mere capabilities (such as shell invocation or network access) do not.
- MCP server: skilltotal mcp runs the engine as a stdio MCP server, providing three read-only tools: scan_component, diff_components, and list_rules.
Use cases:
- Developers installing third-partyPerform security checks before packaging or extending.
- Integrate security gates into CI/CD pipelines to prevent malicious components from entering the codebase.
- Perform regular scans of installed components (via commands such as inventory and guard).
Limitations:
- Does not scan dependencies; skips node_modules/, vendor/, and virtual environments.
- Does not analyze code fetched or generated at runtime, nor binaries and compiled artifacts.
- Only analyzes shell execution, network access, file access, and dynamic code for Python and JavaScript/TypeScript; other languages receive only text-level checks (secrets, sensitive paths, hidden Unicode, obfuscation, and prompt injection phrases).
- Files larger than 2 MiB are not read; minified JavaScript/TypeScript bundles are only listed but not analyzed (except for scripts run during npm install and entry points specified in package.json). Entry points of VS Code extensions are read up to 8 MiB.
- Detection is at the call/import level; the presence of a capability does not mean it is abused. SkillTotal is not a substitute for sandboxing, penetration testing, or manual code review.
- By default, the gate does not count unread code, and unread code does not silently pass: the log will indicate it, the verdict will show "partial analysis", and --fail-on-unanalyzed can be used to make it fail.
Other information:
- Requires Python 3.10+, with zero runtime dependencies. Scanning remote URLs and scan --staged require git.
- Open source (Apache-2.0); full static reports are permanently free. Paid features are planned to be offered as a server-side service of SkillTotal Cloud, whose code is not in this repository.
- Gate levels, exclusions, ignore rules, baseline files, and per-rule policies can be configured via the .skilltotal.toml configuration file.
- Reviewed findings can be accepted via inline comments skilltotal:ignore[ST-ID], baselines, or acceptance files.
- Network access is used only for specific operations (such as git URLs, npm/pypi sources, vscode/openvsx sources, --provenance, inventory, etc.); scanning local folders, archives, or files does not make network requests. Lockfile lookup for agent hooks sends public package names and versions to OSV, which can be disabled via SKILLTOTAL_OSV=0.
- Provides detection efficacy data: recall and precision measured on a self-built annotated corpus (418 malicious samples and 333 benign samples), regenerated on each release with lower bounds enforced by CI.