🛡️ ShieldCommit v1.0.0
Lightweight pre-commit secret scanner CLI with comprehensive infrastructure version warnings across AWS, Azure, and Google Cloud.
Features
✅ Secret Detection (v0.1)
- 40+ regex patterns for cloud/API keys, tokens, private keys
- Real-time scanning of staged files
- Support for multiple secret types (AWS, GCP, Azure, GitHub, etc.)
✨ Infrastructure Version Warnings (v0.2-v0.3)
Kubernetes/Container Orchestration
- AWS EKS - Kubernetes version detection (deprecated/extended support)
- Azure AKS - Kubernetes version detection with EOL tracking
- Google Cloud GKE - Kubernetes versions + release channel recommendations (RAPID/REGULAR/STABLE)
Database Engines
- AWS RDS - PostgreSQL, MySQL, MariaDB version detection
- Azure Database - SQL Server, MySQL, PostgreSQL version detection
- Google Cloud SQL - MySQL, PostgreSQL, SQL Server version detection
Additional Features
- Non-blocking warnings (safe for beta)
- Zero cloud API calls required
- End-of-life (EOL) date tracking
- Extended support period detection
- Actionable upgrade guidance
- Consistent warning format across all platforms
- Works with Terraform, CloudFormation, and IaC files
SHIELDCOMMIT 1.0.0 TRANSFORMATION COMPLETE Pattern-Based → Intelligent Detection System ════════════════════════════════════════════════════════════════════════════════
✅ INTELLIGENT DETECTION SYSTEM FEATURES:
-
ENTROPY ANALYSIS
- Shannon entropy calculation for high-entropy secret detection
- Dynamically adjusts confidence based on entropy levels (0-5.7 bits)
- Minimum 12+ character length with character variety requirement
- Detects unknown secret formats without predefined patterns
-
SEMANTIC ANALYSIS
- Recognizes 60+ secret-related keywords in variable names
- Keywords: password, secret, token, api_key, credential, etc.
- Analyzes variable naming conventions (snake_case, camelCase, etc.)
- Works with ANY naming convention, not predefined ones
-
FORMAT DETECTION
- 15+ known secret format patterns (AWS, Stripe, GitHub, etc.)
- AWS Access Keys (AKIA, ASIA prefixes)
- API keys: Google, OpenAI, Stripe, SendGrid, Mailgun
- Tokens: GitHub, GitLab, Slack, Telegram, Discord
- OAuth, JWT, Bearer tokens, Private keys (RSA, DSA, EC, OpenSSH)
- Database URIs: MongoDB, PostgreSQL, MySQL
-
CONTEXT ANALYSIS
- 20+ context keywords for secret detection
- Analyzes surrounding code for secret indicators
- Understands assignment patterns and declarations
- Recognizes authentication, authorization patterns
Installation
pip install shieldcommit==1.0.0
Metadata
Release files for shieldcommit 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| shieldcommit-1.0.0.tar.gz | 24.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| shieldcommit-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 48.2 kB
Release files / shieldcommit-1.0.0.tar.gz
| Download URL | shieldcommit-1.0.0.tar.gz |
|---|---|
| Size | 24.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b9e6ad5a2ae529269f43dc6b31d772e7b230dd8f9c6ed8fad86e0563cbaf8ae1
|
|
BLAKE2b-256 checksum How to use checksums |
fbe6cab3d2ea557be8611dbb6fd4ad2cf9c9ed06feba8f90de946e4086572ee1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / shieldcommit-1.0.0-py3-none-any.whl
| Download URL | shieldcommit-1.0.0-py3-none-any.whl |
|---|---|
| Size | 23.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2cc0ed38521fcc65af610a3d1c51b4aa9532be3d7218dc8af362637227c80034
|
|
BLAKE2b-256 checksum How to use checksums |
88cd0b111f4b3d122495fee0a89e021bee17f378927546948212ece2d4db7119
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for shieldcommit 1.0.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.