Skip to content

Releases: hangga/delvelin

0.2.0-beta

05 Jan 12:15
68b9ceb
Compare
Choose a tag to compare

What's new in 0.2.0-beta

New feature :

addCustomDetector() With this you can create your own custom detector.

Example

class ExampleCustomDetector : BaseDetector() {

    init {
        this.vulnerabilities = Vulnerabilities.UNSAFE_REFLECTION
    }

    override fun detect(line: String, lineNumber: Int) {
        // Implementation of line-based detection
        if (line.contains("examplePattern")) {
            val specificLocation = specificLocation(lineNumber)
            setValidVulnerability(
                specificLocation,
                "Example finding",
                "Detected example pattern in the code"
            )
        }
    }

    override fun detect(content: String) {
        // Implementation of full content-based detection
        if (content.contains("examplePattern")) {
            val specificLocation = specificLocation(-1) // -1 to denote whole content
            setValidVulnerability(
                specificLocation,
                "Example finding",
                "Detected example pattern in the full content"
            )
        }
    }
}

Using Custom Detector in Tests

@Test
fun `test using your own custom detector`() {
    Delvelin().setOutputFormat(OutputFileFormat.HTML)
        .addCustomDetector(ExampleCustomDetector())
        .scan()
}

0.1.2-beta

29 Dec 13:02
b6e7159
Compare
Choose a tag to compare

What's new in 0.1.2-beta

  • Detect insecure http connections.
  • Improve some messages & warnings

0.1.1-beta

07 Dec 00:01
Compare
Choose a tag to compare
  • files stats summary
  • improve report

0.1.0-beta

03 Dec 03:16
Compare
Choose a tag to compare
  • Using open source vulnerability.

0.0.19-beta: Merge pull request #9 from hangga/devel-osv

28 Nov 06:40
2bc5fcd
Compare
Choose a tag to compare
  • able to detect cve on dependencies.

0.0.18-beta1

23 Nov 14:50
0c655b9
Compare
Choose a tag to compare

Improve html report