Skip to content

Can technically run another program with args #69

Closed as not planned
Closed as not planned
@andreamah

Description

@andreamah

Testing #64

  1. create another file alongside test.py called evil.py. In evil.py, put print('malicious code')
  2. while test.py is the active file, run the debugpy and enter the args one & python ./evil.py
  3. See that ./evil.py gets run.

If someone malicious wanted to run their own python script, they could inject a call into the args. Perhaps we should be sanitizing the input in some way in case it can be interfered with?

Recording 2023-07-25 at 11 58 21

Metadata

Metadata

Assignees

Labels

triage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions