Giter VIP home page Giter VIP logo

Comments (5)

fuhrmeistery avatar fuhrmeistery commented on May 27, 2024

This depends on: PR #225

from securecodebox.

fuhrmeistery avatar fuhrmeistery commented on May 27, 2024

As described in PR #225 we want to introduce a hash value to the finding model.
This hash has to be set/updated in the parser of the scanner as well as in each hook modifying findings.
To avoid duplication we should introduce a new npm package containing a function to calculate the hash consistently.

For this purpose I took a look at the parser-sdk and the hook-sdk and found at least one duplication (code for uploadFile()). This rose the question if we want to create a scb-sdk combining parser-sdk and hook-sdk as well as their helpers.

Consequences:

  • some minor refactoring of hooks and parsers to use the scb-sdk.
  • This could cause breaking changes to third-party hooks/scanners that are not included in the official project
  • This package would also have to be published to npm.

from securecodebox.

J12934 avatar J12934 commented on May 27, 2024

@fuhrmeistery great idea 👍
We might be able to avoid publishing to npm referencing the scb-sdk in the package.json via a file-path.
This would probably simplify this a bit.

from securecodebox.

fuhrmeistery avatar fuhrmeistery commented on May 27, 2024

In PR #330 @J12934 suggests that the DefectDojo persistence provider is run as a ReadAndWrite Hook before other hooks are executed.
Similar to this we could add a simple hook that runs before every other hook to realize a lightweight false positive handling.

This Hook could be optional and would be replaced by a much more sophisticated alternative like DefectDojo.
This way we could introduce an immutable hash without having to worry about the execution order of ReadWriteHooks.

See ADR 0007
See PR #330

from securecodebox.

Weltraumschaf avatar Weltraumschaf commented on May 27, 2024

Since we use Defectdojo, which ships with false-positive handling, we do not work further on this topic at the moment.

from securecodebox.

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.