Skip to content

Remember arguments showing too much information #1000

Closed
@pauby

Description

What You Are Seeing?

When passing --user and --password options to Chocolatey CLI, the parameters can be seen when viewing the arguments in Chocolatey GUI.

What is Expected?

When passing sensitive inputs through Chocolatey CLI, users should not be able to see those arguments by viewing the package arguments in the GUI.

How Did You Get This To Happen? (Steps to Reproduce)

  1. Install Chocolatey (Version 1.4.0 was used for replication)
  2. Install Chocolatey GUI choco install chocolateygui --confirm
  3. Enable remembered arguments for upgrades choco feature enable --name='useRememberedArgumentsForUpgrades'
  4. Install something else with [Source] (optional) / Username / Password choco install nexushell --User bob --Password "bill"
  5. Click into the package within Chocolatey GUI and click View Package Arguments, see the options in plain text

System Details

  • Operating System: Windows 10
  • Windows PowerShell Version: 5
  • Chocolatey CLI Version: 1.4.0
  • Chocolatey Licensed Extension version: N/A
  • Chocolatey License type (Professional / Business / ?): N/A
  • Terminal/Emulator: powershell.exe

Related Issues

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    5 - ReleasedThe issue has been resolved, and released to the public for consumptionBugIssues where something has happened which was not expected or intendedSecurityIssues that are related to security vulnerabilites, or other security related problems

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions