polish-academic-mcp: Skill for Claude Code

.github/skills/mcp-security-audit/SKILL.md

mcp-security-audit is a skill for Claude Code, Codex from asterixix/polish-academic-mcp. It costs 153 tokens per session (2,264 once invoked), scanned A, a copy of mcp-security-audit, MIT.

A security checker for MCP (Model Context Protocol) server settings in .mcp.json files. It looks for exposed secrets, unsafe commands, unpinned versions, and unapproved servers.

In plain words
What is it for?
Reviewing MCP configuration changes, onboarding servers, checking a monorepo or plugin marketplace, and running security checks before commits.
Why use it?
It helps find configuration problems that could reveal credentials, run injected shell commands, or connect the agent to untrusted services before deployment.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is asterixix/polish-academic-mcp's own configuration. It tells Claude Code and Codex how to work on polish-academic-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything polish-academic-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to asterixix/polish-academic-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/asterixix/polish-academic-mcp/main/.github/skills/mcp-security-audit/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/asterixix/polish-academic-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-security-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/asterixix/polish-academic-mcp/mcp-security-audit/github.svg)](https://agentmods.dev/skills/asterixix/polish-academic-mcp/mcp-security-audit)
Your own site
<a href="https://agentmods.dev/skills/asterixix/polish-academic-mcp/mcp-security-audit"><img src="https://agentmods.dev/badge/skills/asterixix/polish-academic-mcp/mcp-security-audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp-security-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/asterixix/polish-academic-mcp/mcp-security-audit"><img src="https://agentmods.dev/badge/skills/asterixix/polish-academic-mcp/mcp-security-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 153 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,264 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00153 $0.02264
Opus 5 $0.00077 $0.01132
Sonnet 5 $0.00031 $0.00453
Haiku 4.5 $0.00015 $0.00226

Measured 11d ago against content hash 2bbe95278d4c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

mcp-security-audit scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

(r'curl\s+.*\|\s*(ba)?sh', "curl pipe to shell"),
Origin

This is a copy

100% identical to mcp-security-audit — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.github/skills/mcp-security-audit/SKILL.md · 279 lines

How it starts

The opening of the file, as written. The whole thing — 279 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MCP Security Audit

Audit MCP server configurations for security issues — secrets exposure, shell injection, unpinned dependencies, and unapproved servers.

Overview

MCP servers give agents direct tool access to external systems. A misconfigured .mcp.json can expose credentials, allow shell injection, or connect to untrusted servers. This skill catches those issues before they reach production.

.mcp.json → Parse Servers → Check Each Server:
  1. Secrets in args/env?
  2. Shell injection patterns?
  3. Unpinned versions (@latest)?
  4. Dangerous commands (eval, bash -c)?
  5. Server on approved list?
→ Generate Report

When to Use

  • Reviewing any .mcp.json file in a project
  • Onboarding a new MCP server to a project
  • Auditing all MCP servers in a monorepo or plugin marketplace
  • Pre-commit checks for MCP configuration changes
  • Security review of agent tool configurations

Audit Check 1: Hardcoded Secrets

Scan MCP server args and env values for hardcoded credentials.

import json
import re
from pathlib import Path

SECRET_PATTERNS = [
    (r'(?i)(api[_-]?key|token|secret|password|credential)\s*[:=]\s*["\'][^"\']{8,}', "Hardcoded secret"),
    (r'(?i)Bearer\s+[A-Za-z0-9\-._~+/]+=*', "Hardcoded bearer token"),
    (r'(?i)(ghp_|gho_|ghu_|ghs_|ghr_)[A-Za-z0-9]{30,}', "GitHub token"),
    (r'sk-[A-Za-z0-9]{20,}', "OpenAI API key"),
    (r'AKIA[0-9A-Z]{16}', "AWS access key"),
    (r'-----BEGIN\s+(RSA\s+)?PRIVATE\s+KEY-----', "Private key"),
]

def check_secrets(mcp_config: dict) -> list[dict]:
    """Check for hardcoded secrets in MCP server configurations."""
    findings = []
    raw = json.dumps(mcp_config)
    for pattern, description in SECRET_PATTERNS:
        matches = re.findall(pattern, raw)
        if matches:
            findings.append({
                "severity": "CRITICAL",
                "check": "hardcoded-secret",
                "message": f"{description} found in MCP configuration",
                "evidence": f"Pattern matched: {pattern}",
                "fix": "Use environment variable references: ${ENV_VAR_NAME}"
            })
    return findings

Read the full file on GitHub · 279 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 279 lines · 153 tokens per session scan A 2bbe95278d4c

Subscribe to this mod's changes

mcp-security-audit is a skill published in the GitHub repository asterixix/polish-academic-mcp (4 stars, last pushed 1mo ago), licensed MIT. It adds 153 tokens to every session and 2,264 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to mcp-security-audit, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

scopus-researcher

Expert academic researcher using the Scopus MCP. Finds papers, retrieves full abstracts, builds author profiles, analyzes citation impact, and constructs advanced Boolean queries across the Elsevier Scopus database. Activate when asked to search for academic papers, analyze research trends, find citations, profile…

JOSETRA44/scopus-mcp · 67 tokens

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

unity-version-split

Split a C# file into Unity 6.5+ and pre-Unity 6.5 variants. Use when a file needs different implementations for different Unity versions due to API changes (e.g., EntityId vs int, GetEntityId vs GetInstanceID).

IvanMurzak/Unity-MCP · 59 tokens

opik-diagnose

Surface the Opik traces worth a developer's attention, ranked by signal — Diagnostics issues first, then errors, failed tool calls, latency, regressions, and low online-eval scores. With the Opik MCP connected it lists the project's agentinsightsissue entities, offers to turn Diagnostics on when the project has it…

comet-ml/opik-mcp · 187 tokens

scientific-writing

Core skill for the deep research and writing tool. Write scientific manuscripts in full paragraphs (never bullet points). Use two-stage process with (1) section outlines with key points using research-lookup then (2) convert to flowing prose. IMRAD structure, citations (APA/AMA/Vancouver), figures/tables, reporting…

LeonChaoX/qinyan-academic-skills · 87 tokens

hedgefundmonitor

Query the OFR (Office of Financial Research) Hedge Fund Monitor API for hedge fund data including SEC Form PF aggregated statistics, CFTC Traders in Financial Futures, FICC Sponsored Repo volumes, and FRB SCOOS dealer financing terms. Access time series data on hedge fund size, leverage, counterparties, liquidity…

LeonChaoX/qinyan-academic-skills · 123 tokens