Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dargslan_env_audit-1.0.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dargslan_env_audit-1.0.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

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

Hashes for dargslan_env_audit-1.0.0.tar.gz
Algorithm Hash digest
SHA256 edb2901819b2ec297131706226dc838338ea300a7de8ecb3179b4f7b652d816a
MD5 d5fd96512ab03c18cb6e0b57383cbd5e
BLAKE2b-256 882a3cb7613f023656b730da5caea84c3f3e4d2cbcc8ab3369f8eb0226f13909

See more details on using hashes here.

File details

Details for the file dargslan_env_audit-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dargslan_env_audit-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e44411d4a9a1776a80ec5518fa3fe61b1e372deb4e0b53e8327c8777804c450c
MD5 f7a4d1e64ccadd0c9a7dd8269d631e64
BLAKE2b-256 fe04f90e8d53dbd582ea7d2cc9afb4174ca929d1d7171a269777b4e76dbac183

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page