VCode likes this.
  • Hello @AJha8889 (Community Member)​ ,

     

    In order to provide an accurate answer, can you please clarify which type of scanning you are looking to run, and also provide some type of a real-world example of the dynamically loaded libraries that you are looking to scan? Thank you.

     

    Jason

    Veracode Support Engineer

    Expand Post
    • @AJha8889 (Community Member)​ ,

       

      It has been a few days and just wanted to ensure that you saw my response and question in it. Please let me know when you have a chance to better assist you. Thanks.

       

      Jason

      Veracode Support Engineer

      Expand Post
  • AJha8889 (Community Member)

    @Jason M., Veracode Support (Veracode)​ 

    We can load third-party JAR's dynamically in java application like this

    URLClassLoader child = new URLClassLoader(

    new URL[] {myJar.toURI().toURL()},

    this.getClass().getClassLoader()

    );

     

    Such JAR's need not to be in classpath.

     

    How does veracode scan those third-party libraries?

    Expand Post
    • @AJha8889 (Community Member)​ ,

       

      Can you please confirm which kind of scan that you are trying to do? Static, Dynamic, Software Composition Analysis?

       

      Jason

      Veracode Support Engineer

      Expand Post
    • Hello @AJha8889 (Community Member)​ ,

       

      As you know, there are two Veracode scan methods available – Upload & Scan, and Agent Based. What you may not know is that they are the same scanner but that is just invoked with different methods. Upload & Scan runs the “Quick” version of the agent since it doesn’t have access to the source. 

       

      As part of Upload & Scan unmatched libraries will not be included in the SCA results, and there is no indication that there is an unmatched library (https://help.veracode.com/r/hHHR3gv0wYc2WbCclECf_A/2fDFsrT1yu~383NjA~ZiTw). If the library file name matches one in the database then it will not be included in the static scan. If it does not match then it will be included in the static scan as if it’s a first party module.

       

      Jason

      Veracode Support Engineer

      Expand Post

Topics (1)

No articles found
Loading

Ask the Community

Get answers, share a use case, discuss your favorite features, or get input from the community.