aws / aws/amazon-q-developer-cli

Using `q issue` injects the full PATH in the GitHub issue (Environment section)

Open
#895 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2k
Forks
439
PR merge metrics
No merged PRs in 30d

Description

### Checks

- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue
- [x] I have run `q doctor` in the affected terminal session
- [x] I have run `q restart` and replicated the issue again

### Operating system

macOS 15.3.1 (24D70)

### Expected behaviour

This current behavior seems somewhat invasive in terms of privacy/security because the PATH contains several installed software/tools. This information could be misused by attackers.

### Actual behaviour

The "Environment" section on the Github Create issue page shows harmless details at the top, but hidden below is the full PATH.

### Steps to reproduce

_No response_

### Environment

```yaml

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.