GithubHelp home page GithubHelp logo

Comments (2)

larymak avatar larymak commented on September 16, 2024 1

Commit e4ae7c5 reveals a production secret. Although it's later obscured in commit c25a1c6, it's still present in the commit history and can be found by someone who was looking to misuse it.

I don't know if this one is still in use, but in order to truly obscure it, it needs to be removed from the commit history.

If you want to keep it and are sure it's no longer in use, it may be a good idea to warn other new developers that just adding a commit to hide an exposed secret is not sufficient to protect it - and best practice is to revoke it since if someone accessed and saved it while it was public then even doing everything to make it private again doesn't guarantee it's safe.

That goes especially for new developers I think, so they don't take it as an example of what to do.

Side note: I came here from your article https://www.freecodecamp.org/news/how-to-write-a-good-readme-file/, thank you for writing it :)

Hi @conormckenzie
Thanks for pointing that out, though the project was just a sample and is no longer in use I will definitely be on the look out for such occurrences in the future.

from todo-list-app.

conormckenzie avatar conormckenzie commented on September 16, 2024

Commit e4ae7c5
reveals a production secret.
Although it's later obscured in commit c25a1c6, it's still present in the commit history and can be found by someone who was looking to misuse it.

I don't know if this one is still in use, but in order to truly obscure it, it needs to be removed from the commit history.

If you want to keep it and are sure it's no longer in use, it may be a good idea to warn other new developers that just adding a commit to hide an exposed secret is not sufficient to protect it - and best practice is to revoke it since if someone accessed and saved it while it was public then even doing everything to make it private again doesn't guarantee it's safe.

That goes especially for new developers I think, so they don't take it as an example of what to do.

Side note: I came here from your article https://www.freecodecamp.org/news/how-to-write-a-good-readme-file/, thank you for writing it :)

from todo-list-app.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.