dsh-env-audit: Auditing `.env` Configuration Itself Before Commit

dsh-env-audit (@deepwhale-cn/dsh-env-audit) is a static auditing plugin for DSH environment configuration files, maintained by feely0208. Instead of scanning secret literals in the code, it checks whether `.gitignore` ignores `.env` files, whether POSIX permissions are more permissive than `600`, whether high-risk key values are stored in plaintext, and whether an `.env.example` file is present. It also optionally warns about hardcoded internal network addresses in the source code. The report does not output secret values and supports `--demo`, `--list-rules`, HTML reports, as well as `--quiet` and `--json` for CI usage. Installation: `dsh plugin --profile web add @deepwhale-cn/dsh-env-audit`.

Read More