Environment variable and dotenv security auditor — detect leaked secrets, insecure permissions, and sensitive data.
Project description
dargslan-env-audit
Environment variable and dotenv security auditor — detect leaked secrets, insecure file permissions, and missing .gitignore rules.
Installation
pip install dargslan-env-audit
Usage
dargslan-envaudit report # Full security audit
dargslan-envaudit env # Scan environment variables
dargslan-envaudit dotenv # Scan .env files
dargslan-envaudit gitignore # Check .gitignore status
dargslan-envaudit audit # Issues only
dargslan-envaudit json # JSON output
Features
- Detect sensitive environment variables (passwords, API keys, tokens)
- Scan .env files for leaked credentials
- Check file permissions (world-readable/writable detection)
- Verify .gitignore includes .env patterns
- Support for custom project paths
- Zero dependencies — pure Python
Part of dargslan-toolkit
Install all 48 Linux sysadmin tools: pip install dargslan-toolkit
Links
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dargslan_env_audit-1.0.0.tar.gz.
File metadata
- Download URL: dargslan_env_audit-1.0.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
edb2901819b2ec297131706226dc838338ea300a7de8ecb3179b4f7b652d816a
|
|
| MD5 |
d5fd96512ab03c18cb6e0b57383cbd5e
|
|
| BLAKE2b-256 |
882a3cb7613f023656b730da5caea84c3f3e4d2cbcc8ab3369f8eb0226f13909
|
File details
Details for the file dargslan_env_audit-1.0.0-py3-none-any.whl.
File metadata
- Download URL: dargslan_env_audit-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e44411d4a9a1776a80ec5518fa3fe61b1e372deb4e0b53e8327c8777804c450c
|
|
| MD5 |
f7a4d1e64ccadd0c9a7dd8269d631e64
|
|
| BLAKE2b-256 |
fe04f90e8d53dbd582ea7d2cc9afb4174ca929d1d7171a269777b4e76dbac183
|