Git Product home page Git Product logo

Comments (8)

guatedude2 avatar guatedude2 commented on June 25, 2024 1

Hmm odd ok I'll take a look

from node-readfiles.

ThibaudLopez avatar ThibaudLopez commented on June 25, 2024 1

Hi @guatedude2, thanks for refactoring the library. We compared function buildFilter between the old file readfiles.js and the new refactored file build-filter.ts, but the RegExp and the sanitizing untrusted input - which is what CodeQL was reporting about - are the same. So although the syntax is new, the semantics are the same. Was the CodeQL finding a false positive afterall?

from node-readfiles.

guatedude2 avatar guatedude2 commented on June 25, 2024 1

I see. I think this might be CodeQL miss-interpreting my actions. I've updated the regex to escape backslashes. It seems there would be issues with not escaping them. Let me know if that addresses the issue with CodeQL.

from node-readfiles.

IamGreut avatar IamGreut commented on June 25, 2024

Hi @guatedude2
Did you get a chance to look at this and the similar issue #9 ?
Curious about your thoughts or if this is in need of a fix.

from node-readfiles.

guatedude2 avatar guatedude2 commented on June 25, 2024

Hey so sorry I did not let me try looking into it tonight

from node-readfiles.

guatedude2 avatar guatedude2 commented on June 25, 2024

@IamGreut Refactored library to TypeScript can you try now

from node-readfiles.

guatedude2 avatar guatedude2 commented on June 25, 2024

Let me know if this worked. If it doesn't i'll reopen this issue

from node-readfiles.

IamGreut avatar IamGreut commented on June 25, 2024

@guatedude2 just to clarify - we are more interested in whether or not the 2 alerts brought up by CodeQL (this one and issue #9) are valid based on the intentions of the code.
If they do not seem to be relevant, then there is probably no alteration or fix needed to the code as it is.

To @ThibaudLopez's point, since we did not detect any change in the actual readfiles.js we do not have much reason to believe that if the problem was true that anything has actually been fixed.
As you are the original author and authority on this, we are looking for your thoughts on it so that it may help us identify what, if anything, needs to be fixed from our use of this library in our own code.

Thank you so much for your attention and work you've done already.

from node-readfiles.

Related Issues (6)

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.