Skip to content

Consider restricting more the env var that are being set for script execution #67

@andywaltlova

Description

@andywaltlova

#66 introduced the fix to set all RHC_WORKER_* environment variables in the script execution. Currently the variables can get to the script only through it's yaml envelope (they are passed to the script by rhc-worker-script). The variables are in internal repository and changes are subjected to review.

It's not ideal, if someone runs the script without worker it is easy to inject some malicious variable to the runtime.

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