Skip to content

Potential Path Handling Concern in CLI User Commands #23

@httpsVishu

Description

@httpsVishu

hey, while going through the agent-vault/cmd/user.go, i noticed that the email input is directly used in constructing API paths

url := sess.Address + "/v1/admin/users/" + email

since email comes straight from CLI arguments, inputs containing / or encoded characters could affect how the final request path is formed

from here, i was thinking this might impact how requests are routed on the backend, especially if path parsing or validation is not strict, it could potentially lead to unintended endpoint access or route confusion

just wanted to check, is this an intentional design choice or am i missing something? would love to help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions