Releases: hangga/delvelin
Releases · hangga/delvelin
0.2.0-beta
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
What's new in 0.1.2-beta
- Detect insecure http connections.
- Improve some messages & warnings
0.1.1-beta
- files stats summary
- improve report
0.1.0-beta
- Using open source vulnerability.
0.0.19-beta: Merge pull request #9 from hangga/devel-osv
- able to detect cve on dependencies.
0.0.18-beta1
Improve html report