safe-rl / safe-rl-shielding

MIT License
38 stars 12 forks source link

Security Issue: Gmail password in code #4

Closed hildebrandt-carl closed 4 years ago

hildebrandt-carl commented 4 years ago

You have left your email details in the code. I have not checked if these details are accurate (as I have not logged into the account). Regardless I don't think this should be in the code.

self-driving-car/updated_pr.py

def send_email(body):
    import smtplib

    gmail_user = 'sahabi'
    gmail_pwd = '******'.     #<--- I removed it here but it is in the code
    FROM = 'sahabi@gmail.com'
   ...