Metadata-Version: 2.4
Name: rulestamp-connection-string-secret-audit
Version: 0.1.7
Summary: 26 rules and 32 safe-replacement snippets for hardcoded connection strings, keys and kubeconfigs across 8 VS Code stacks. Runs on your machine and sends nothing anywhere. (bundled Node.js runtime)
Author-email: Rulestamp <support@getreadystack.com>
License: Proprietary - see LICENSE.txt
Project-URL: Homepage, https://getreadystack.com/tools/connection-string-secret-audit?ref=pypi
Project-URL: Documentation, https://getreadystack.com/tools/connection-string-secret-audit?ref=pypi
Project-URL: Support, https://getreadystack.com/support
Keywords: azure-iot-hub,connection-string,secret-scanning,sql-server,kubernetes
Classifier: Programming Language :: Python :: 3
Classifier: Environment :: Console
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: nodejs-wheel-binaries>=20
Dynamic: license-file

# Connection String & Secret Audit — 8 Stacks

> Runs the same checker as our npm package on a Node.js runtime that pip installs for you (`nodejs-wheel-binaries`) - no system Node.js needed. Your files are checked locally.

26 rules and 32 safe-replacement snippets for hardcoded connection strings, keys and kubeconfigs across 8 VS Code stacks. Runs on your machine and sends nothing anywhere.

## Install

```
connection-string-secret-audit file
```

Node 18+. The same 26 rules as the VS Code extension, from a terminal or CI.

## Free

- Audits the file you have open, or only the lines you highlighted, against all 26 rules and prints every finding with its line number; inserts any of the 32 safe replacement snippets at the cursor; lists every rule and snippet that ships inside. No key, no account, nothing leaves the machine.
- `--rules` lists every rule

## With a licence ($29 once)

- Runs that same audit across every file in the workspace instead of one, and writes the findings out as a CSV, JSON or HTML file you keep in the repo and hand to a reviewer or an auditor.

```
connection-string-secret-audit --dir ./templates --report html --out report.html
```

GitHub Secret Protection is published at $19 per active committer per month, billed every month and re-counted as committers come and go (GitHub Docs, checked 2026-09-08)

## Use from an AI agent (MCP)

Claude Code · Cursor · Windsurf · any MCP client - add to your MCP config:

```json
{ "mcpServers": { "connection-string-secret-audit": { "command": "connection-string-secret-audit", "args": ["--mcp"] } } }
```

Tools: `check_text` and `check_file` (free) · `check_dir` (licence). The agent gets every finding with the line number.

## Use in CI

```yaml
- name: Connection String & Secret Audit — 8 Stacks
  run: pip install rulestamp-connection-string-secret-audit && connection-string-secret-audit --dir . --ci
```


The folder sweep, reports and CI mode need one licence — one payment, no subscription. Set `READYSTACK_LICENSE=<key>` or run `--license <key>` once.

[Get a licence](https://getreadystack.com/api/buy/cl/polar_cl_1tgGYRxH9pxpXj2qrSYA5SmeCbtVqYcXEKLoD4CR3y7)


<!-- connection string secret audit -->


## Install (PyPI)

```
pip install rulestamp-connection-string-secret-audit
connection-string-secret-audit --help
```
