Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ossf/scorecard fails to detect unpinned dependencies via chocolatey installer #161

Closed
Alan-Jowett opened this issue Apr 1, 2022 · 4 comments

Comments

@Alan-Jowett
Copy link

Example:

    - name: Set up OpenCppCoverage and add to PATH
      id: setup_opencppcoverage
      run: |
        choco install OpenCppCoverage -y
        echo "C:\Program Files\OpenCppCoverage" >> $env:GITHUB_PATH

This should detect an unpinned dependency.

I think this should require something like:

choco install -y --requirechecksum=true --checksum=2295A733DA39412C61E4F478677519DD0BB1893D88313CE56B468C9E50517888 --checksum-type=sha256 OpenCppCoverage
@laurentsimon
Copy link
Contributor

laurentsimon commented Apr 1, 2022

Thanks for the report. You are right! Scorecard does not know about choco. Can you create this issue on the main scorecard repo? I'll show you where to add support.
We do something a similar check for pip and go, should be easy to add

@Alan-Jowett
Copy link
Author

@laurentsimon thanks. Didn't realize this wasn't the main repo for scorecard. Can you provide a link?

@laurentsimon
Copy link
Contributor

@Alan-Jowett
Copy link
Author

Moved:
ossf/scorecard#1807

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants