Giter Club home page Giter Club logo

Comments (8)

mhdawson avatar mhdawson commented on July 18, 2024
  • Kevin mentioned branch protection in the last meeting.

from abi-stable-node.

KevinEady avatar KevinEady commented on July 18, 2024

node-addon-api (scorecard)

node-addon-examples (scorecard)

  • Add branch protection on main
  • Add LICENSE file
  • Make code reviews mandatory (as well as for administrators)
  • Make GitHub Actions CI workflow tokens read-only
  • Add CodeQL scanning similar to node-addon-api...?
  • Add fuzzing...?

from abi-stable-node.

mhdawson avatar mhdawson commented on July 18, 2024

Add branch protection for both node-addon-api and node-addon-examples.

from abi-stable-node.

mhdawson avatar mhdawson commented on July 18, 2024

PR to add boilerplate files to node-addon-examples - nodejs/node-addon-examples#213

from abi-stable-node.

mhdawson avatar mhdawson commented on July 18, 2024

@KevinEady can you expand a bit on Make GitHub Actions CI workflow tokens read-only

from abi-stable-node.

mhdawson avatar mhdawson commented on July 18, 2024

PR to add best practices to node-addon-api - nodejs/node-addon-examples#214

from abi-stable-node.

KevinEady avatar KevinEady commented on July 18, 2024

Hi @mhdawson,

... can you expand a bit on Make GitHub Actions CI workflow tokens read-only

From Assigning permissions to jobs - GitHub Docs:

You can use permissions to modify the default permissions granted to the GITHUB_TOKEN, adding or removing access as required, so that you only allow the minimum required access.

This is for the principle of least privilege, as discussed in the Token-Permissions Check documentation.

This was mostly addressed by the SecurityBot PR nodejs/node-addon-examples#214 , eg: nodejs/node-addon-examples@a05f82c#diff-e98936aa52a6dd7416e4296e9628456227d834f7245967383fd9ff80fd985dadR9-R11 but it skipped a workflow that I added to the PR in this commit.

So once this PR is merged, we can say that the Token-Permissions issue has been addressed and we will receive full points.

from abi-stable-node.

mhdawson avatar mhdawson commented on July 18, 2024

@KevinEady I think I merged the PR you mentioned, so we should be able to close this now?

from abi-stable-node.

Related Issues (20)

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.