dsh-least-privilege: Scanning repositories for "obviously overly broad" permission configurations
Introducing the DeepSeek Harness community plugin @deepwhale-cn/dsh-least-privilege (feely0208/dsh-least-privilege). This plugin statically scans repository configurations for overly permissive access, targeting container root/privileged access, wildcard IAM Actions, CORS settings that allow all origins, and token requests for admin or full scopes, classifying them by high and medium risk levels. It explains installation via `dsh plugin --profile web add` and `npx`, as well as the usage of `--demo`, `--list-rules`, and `--html` flags. It also clarifies limitations, such as not resolving cloud-side effective policies and the need for manual judgment with multi-stage Dockerfiles. It is suitable for use in combination with other "guardian series" plugins like dsh-data-scan to perform permission health checks in CI or before modifying configurations.
Read More