T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:13- Finding
Unconstrained Retrieval of Amazon Credentials from a Password Manager
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:13
Vulnerability Type: Excessive credential access
Risk Level: HighVulnerable Code Snippet:
markdown - Logged into Amazon — if logged out, retrieve password from your password managerTechnical Analysis
The skill explicitly instructs the agent to retrieve an Amazon password from the user's password manager when the browser session is logged out. Direct access to stored credentials is not required to perform browser automation when authentication can instead be completed interactively by the user.
This instruction violates least-privilege principles by exposing a reusable authentication secret to the agent and its tool context. The skill does not constrain which password-manager entry may be accessed, prohibit copying the password into messages or logs, or define secure handling and disposal requirements. Although the reviewed file does not instruct credential exfiltration, granting this access increases the consequences of prompt manipulation, tool compromise, or an incorrect agent action.
Attack Path
- The skill connects to Amazon and determines that the existing session is logged out.
- Following the prerequisite instruction, the agent accesses the user's password manager.
- The agent retrieves the Amazon password into its execution or tool context.
- A malicious webpage, compromised tool, prompt-injection payload, or accidental logging behavior could cause the exposed credential to be copied, disclosed, or used outside the intended login operation.
- An attacker obtaining the credential could authenticate to the Amazon account, subject to any additional MFA controls.
Impact Assessment
Exposure of the password could grant access to the user's Amazon account, including personal information, saved addresses, order history, return workflows, and purchasing capabilities associated with saved payment methods. The exact scope depen ...[truncated 191 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the instruction permitting the agent to retrieve passwords from a password manager.
- Require the user to enter credentials and complete MFA directly in the browser.
- Explicitly prohibit the agent from reading, copying, storing, logging, or transmitting passwords, recovery codes, session tokens, and one-time codes.
- Pause the workflow when authentication is required and resume only after the user confirms that login is complete.
- Use a dedicated browser profile with the minimum necessary account access and protect its remote-debugging interface from untrusted local or network clients.
