deepsourcestatus / test-repository

Audit required: Sensitive cookie without secure attribute PTC-W6003
Security
Minor
8 months ago8 months old
Cookie can be vulnerable to man-in-the-middle attack
46@app.get("/")
47def home():
48    response = flask.make_response()
49    response.set_cookie("userid", uuid4().hex)