Security check for AI-built projects, Claude Code skills and MCP servers
pip install stingward==0.1.2 Copy PIP instructions
Lots of people now ship apps, Claude Code skills and MCP servers written with AI. Few of them know what a CVE is, why NEXT_PUBLIC_OPENAI_API_KEY is a problem, or that a skill can hide instructions only the model can read. Stingward finds those holes and tells you, in plain words, how to close each one.
A skill that looks like a PDF helper. Stingward decodes the invisible instruction and finds the key theft before you install it.
stingward # audit the project in the current folder stingward skill ./some-skill # audit a skill, plugin or MCP server before installing it stingward skill owner/repo # ...straight from GitHub (also accepts .../tree/branch/subfolder URLs) stingward agents # audit the Claude Code, Claude Desktop, Cursor, Codex and Gemini setup on this machine No account, no telemetry, no dependencies: pure Python 3.9+ on Linux, macOS and Windows.
All 31 rules, with severity, examples and fixes: docs/rules.md.
A typical AI-built Next.js + Supabase app. Try both demos from a clone of this repo: python scripts/demo/fixtures.py demo, then stingward skill demo/pdf-helper and stingward demo/my-saas.
Only package names and versions leave your machine (to api.osv.dev, www.cisa.gov, api.first.org and services.nvd.nist.gov). Your code never does. Responses are cached for a few hours in ~/.cache/stingward.
Stingward reads hostile content by design, so it is careful with it: git can never discover a repository inside audited files, the launchers never import code from the audited folder, and secrets, terminal escapes and markdown are neutralized in every report format. See SECURITY.md.
# .github/workflows/stingward.yml name: stingward on: pull_request: push: { branches: [main] } schedule: [{ cron: "0 9 * * *" }] # new CVEs show up for code that did not change permissions: { contents: read, pull-requests: write, security-events: write } jobs: stingward: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: HiveControlAgents/StingWard@v0 with: { lang: en, fail-on: high } It comments the report on the PR (and updates the same comment on every run), uploads SARIF to the repository's Security tab, writes the job summary and exposes the grade as steps. .outputs.grade.
Environment: STINGWARD_LANG sets the default language, NVD_API_KEY raises the NVD rate limit and STINGWARD_CACHE moves the cache folder.
Grade: A means only low findings or none · B medium, no high · C one or two high · D three or more high · F any critical. Every report ends with a badge for your README:
[](https://github.com/HiveControlAgents/StingWard) False positives: add a line to .stingwardignore in the project root (RULE path/glob, RULE or path/glob), or put stingward:ignore in a comment on the line. If a rule is wrong, tell us with a minimal sample.
Standards: findings carry CWE, OWASP Top 10 for LLM Applications 2026 (LLM01:2026...), OWASP Agentic Skills Top 10 (AST01..., v1 draft) and OWASP Top 10 for Agentic Applications 2026 (ASI01...) IDs, in the text report, JSON and SARIF tags.
python -m unittest discover -s tests -t . # offline, a few seconds STINGWARD_ONLINE=1 python -m unittest discover -s tests -t . # also hits the real databases FAQ Does a clean report mean my project is safe? No. It means the common mistakes are not there. Stingward is a fast first line, not a penetration test.
Does my code leave my machine? No. Only package names and versions are sent, to look up vulnerabilities.
How is it different from npm audit, Dependabot or a secret scanner? Those each cover one piece. Stingward puts dependencies, secrets and the mistakes specific to AI-built apps, agents, skills and MCP servers in one report, written for the person who built the project, and can audit a skill before you install it.
Why does npx stingward need Python? The engine is a single pure-Python package with no dependencies; the npm package is a thin launcher so JavaScript users can run it without pip.
Can it check a private repository or a skill on my disk? Yes. Point it at a folder, or at owner/repo with your usual git credentials.
Stingward reports to whoever runs it, about code they chose to check. It does not crawl other people's repositories or open issues on them.
Bug reports, false positives and new rules are welcome. Read CONTRIBUTING.md to get set up, and report security problems in Stingward itself privately as described in SECURITY.md.
Vulnerability data: OSV.dev (aggregating GitHub Advisories, NVD, PyPA, RustSec, Go and OpenSSF malicious packages), CISA KEV, FIRST EPSS and NVD.
All 2 files in this release have provenance metadata.
security vulnerability cve osv sca secrets mcp claude-code skills prompt-injection supabase vibe-coding
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.
All 2 files in this release have been uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.




