dsh-fleet-audit: Credential hygiene audit plugin for DSH multi-agent machines
`dsh-fleet-audit` is a DSH community plugin (admin-security) that is read-only, zero-dependency, and deterministically audits local credential hygiene: checking if credential file permissions are tightened to 600/700, masking embedded credentials in git remotes with `***`, and counting provider token prefix literals by type (toggleable). It does not write files or access the network, and limits both the number of git configs and the recursion depth. This article provides installation commands, tool parameters, redacted output examples, security boundaries, and known limitations, and reminds users to verify source code, license, and repository owner mismatches before installation.
Read Moredsh-fleet-audit: A read-only credential hygiene audit for DSH agent machines
## Introduction In the era of multi-agent development environments, credentials are scattered across `~/.gitconfig`, agent configurations, `.git/config`, and various `.env` files. If Git's `url.*.insteadof` or `pushurl` settings embed a token (e.g., `https://oauth2:<token>@gitlab.example.com/...`), every invocation of `git remote -v` will expose the secret in logs, chat sessions, or CI pipelines. The traditional approach involves manually checking file permissions and grepping remote configurations one by one, which is time-consuming and error-prone. dsh-fleet-audit automates this process...
Read More