Skip to main content

ConfigWard

Build smarter. Configure safer.

Tests License: MIT Python 3.11+

ConfigWard is an experimental, local-first configuration linter for AI coding agents. Inspect agent instructions, skill headers and selected MCP configurations before sharing or committing them. No API keys, runtime dependencies or network calls.

Install

Requires Python 3.11 or newer. Install from GitHub (Git is required):

python -m pip install git+https://github.com/rossell93d-star/configward.git
configward --version
configward .

Or clone the repository and install locally with python -m pip install .. PyPI publication is not yet available. No installation is needed to run python configward.py . from a checkout.

Quick start

configward /path/to/project --json
configward . --strict

Example output from a synthetic project with an empty instruction file:

ERROR EMPTY AGENTS.md:0: Configuration is empty.
1 file(s) checked; 1 finding(s).

Supported checks (v0.1.0)

Files Checks
AGENTS.md, CLAUDE.md, GEMINI.md Empty files, selected possible credentials
SKILL.md Basic front matter and required fields
.mcp.json, mcp.json, mcp_config.json, claude_desktop_config.json JSON syntax and common MCP server mapping shapes
.codex/config.toml TOML syntax and selected MCP settings

Findings include relative paths, rule IDs and severity. JSON is suitable for CI integrations. Exit code 0 means no errors; 1 means errors (or warnings in strict mode). Invalid directory arguments return 2. A clean run is not proof of security or compatibility.

Design principles

  • Local-first and read-only; never launches configured MCP servers.
  • Conservative checks; never prints matched credential values.
  • Bounded reads, ignored common dependency directories and no symlink traversal.
  • Simple implementation with reproducible tests.

Limitations

This alpha is not a full security scanner, YAML parser or complete client-specific schema validator. Credential heuristics can miss secrets or flag synthetic examples. Files outside supported names are not scanned. Review all findings manually. Use only on trusted local directories.

Development and roadmap

Run python -m unittest -v to test the tool. See CONTRIBUTING.md and SECURITY.md before opening issues or pull requests.

  • Versioned per-client schemas and richer skill validation.
  • Cross-client compatibility reports and safe migration suggestions.
  • SARIF output and additional synthetic fixtures.

License

MIT. A RossellForge project.

Metadata

Release files for rossellforge-configward 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rossellforge-configward 0.2.0
File Size Uploaded Provenance Actions
rossellforge_configward-0.2.0.tar.gz 6.0 kB With provenance Details for rossellforge_configward-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rossellforge-configward 0.2.0
File Interpreter ABI Platform Actions
rossellforge_configward-0.2.0-py3-none-any.whl Python 3 none any Details for rossellforge_configward-0.2.0-py3-none-any.whl

Total release size: 12.7 kB

Release files / rossellforge_configward-0.2.0.tar.gz

Download URL rossellforge_configward-0.2.0.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e8527ac1d4a9f2d29d435beece7efcb3e3949ea496bae7020f6c44968c03611d
BLAKE2b-256 checksum
How to use checksums
9585a6f686e0ce4c8df0ff226101911a56ac54def867c960b702957caf807e4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

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 Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 5, 2026.

Transparency log

Release files / rossellforge_configward-0.2.0-py3-none-any.whl

Download URL rossellforge_configward-0.2.0-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0e712cda37bf24eb31a36b77d2425eb97cf41b56cead7e01313724b284dacfa
BLAKE2b-256 checksum
How to use checksums
58f4f3bfeaa57cc01cf208174a93bc66ba5349a02210b896dbdbd24774fd9b28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

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 Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 5, 2026.

Transparency log

Security for rossellforge-configward 0.2.0

Provenance

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for rossellforge_configward-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 5, 2026.

Transparency log

A note on package security

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page