Last 12 weeks · 0 commits
4 of 6 standards met
This PR 1. Adds harden-runner GitHub Action to the workflow. 2. Sets the token permission for the workflow to . This is a security best practice and gets you are higher Scorecard score. Your package currently has score of 4.5 out of 10. You can use https://app.stepsecurity.io to automate some of the fixes, such as adding token permissions and pinning actions to commit SHA... harden-runner GitHub Action detects hijacked dependencies and compromised build tools. It correlates outbound traffic with each step of the workflow so you can see what processes are calling what endpoints. This is the analysis when run on a fork: https://app.stepsecurity.io/github/varunsh-coder/path-exists/actions/runs/1928611682 You can restrict traffic to the allowed endpoints for future runs which will block calls that compromised dependencies typically make, and an annotation will be shown in such cases. You do not need to grant any permission or install any App to use this, and the action (and agent the action uses) are open source. Information on how harden-runner could have detected past package hijacks can be found here: https://github.com/step-security/supply-chain-goat. Do share feedback to improve the harden-runner GitHub Action developer experience. Thanks!
Repository: sindresorhus/path-exists. Description: Check if a path exists Stars: 156, Forks: 20. Primary language: JavaScript. Languages: JavaScript (75.6%), TypeScript (24.4%). License: MIT. Latest release: v5.0.0 (5y ago). Open PRs: 0, open issues: 0. Last activity: 4y ago. Community health: 85%. Top contributors: sindresorhus, Richienb, coreyfarrell, BendingBender, SamVerschueren, SimenB.