Giter Club home page Giter Club logo

Comments (10)

febuiles avatar febuiles commented on June 11, 2024 2

@aaronosb I did! Thanks for sharing the repo details. I've shared this with other folks and will update this issue once I have a fix or feedback.

from dependency-review-action.

paulz-swyftx avatar paulz-swyftx commented on June 11, 2024 2

+1 as I got affected by this issue too.
We try to use mikro-orm/migrations, depending on umzug, depending on rushstack, depending on [email protected].

from dependency-review-action.

febuiles avatar febuiles commented on June 11, 2024 1

@aaronosb @paulz-swyftx The API is now returning the proper results, and I've confirmed that the action is behaving as expected. I've created these two example PRs:

  1. future-funk/bug-free-sniffle#8 -- has [email protected], does not raise errors since the vulnerability was introduced at [email protected].
  2. future-funk/bug-free-sniffle#9 -- has [email protected] which has an open vulnerability since .0.0.0 with no fixes. This check fails.

Closing this issue, thanks for your patience! Please re-open if needed.

from dependency-review-action.

febuiles avatar febuiles commented on June 11, 2024

Hi @aaronosb, thanks for the report. From the screenshot it looks like you should not be getting this warning indeed, do you see the same error if you view the rich diff of the PR for the package-lock.json change? (docs on how to do this)

from dependency-review-action.

aaronosb avatar aaronosb commented on June 11, 2024

I do not get the same warning/error using the rich diff
image

from dependency-review-action.

febuiles avatar febuiles commented on June 11, 2024

@aaronosb If this is for a public repo, can you post a link? If not, can you email me the username/organization name and repo name to my username at github.com?

from dependency-review-action.

aaronosb avatar aaronosb commented on June 11, 2024

It was a private repo I can shoot you the info over in an email

from dependency-review-action.

aaronosb avatar aaronosb commented on June 11, 2024

@febuiles did you get the email with repo details?

from dependency-review-action.

febuiles avatar febuiles commented on June 11, 2024

@aaronosb apologies for the lack of feedback on this. After reproducing the issue I noticed that it's caused by the API itself and not the action:

$ gh api -H "Accept: application/vnd.github+json" /repos/future-funk/bug-free-sniffle/dependency-graph/compare/main...add-colors

[
  {
    "change_type": "added",
    "manifest": "package-lock.json",
    "ecosystem": "npm",
    "name": "colors",
    "version": "1.0.3",
    "package_url": "pkg:npm/[email protected]",
    "license": "MIT",
    "source_repository_url": "https://github.com/Marak/colors.js",
    "vulnerabilities": [
      {
        "severity": "high",
        "advisory_ghsa_id": "GHSA-gh88-3pxp-6fm8",
        "advisory_summary": "Infinite Loop in colors.js",
        "advisory_url": "https://github.com/advisories/GHSA-gh88-3pxp-6fm8"
      }
    ]
  },
  {
    "change_type": "added",
    "manifest": "package.json",
    "ecosystem": "npm",
    "name": "colors",
    "version": "1.0.3",
    "package_url": "pkg:npm/[email protected]",
    "license": "MIT",
    "source_repository_url": "https://github.com/Marak/colors.js",
    "vulnerabilities": [
      {
        "severity": "high",
        "advisory_ghsa_id": "GHSA-gh88-3pxp-6fm8",
        "advisory_summary": "Infinite Loop in colors.js",
        "advisory_url": "https://github.com/advisories/GHSA-gh88-3pxp-6fm8"
      }
    ]
  }
]

Once the API fix is released I will close this issue.

from dependency-review-action.

paulz-swyftx avatar paulz-swyftx commented on June 11, 2024

Thank you for the speedy response @febuiles

from dependency-review-action.

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.