Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Explains the false positive reduction engine and risk scoring for vulnerability scan findings, with code examples and detection models.
23% 86%+64 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 5 of 22 without it.
3 of 3 safety checks passed
Not used yet
How the false positive reduction and risk scoring system works.
from risk_engine.false_positive_engine import (
FalsePositiveEngine,
Vulnerability,
ScanContext,
)
engine = FalsePositiveEngine()
# Assess a finding
finding = {
"vuln_type": "reflected_xss",
"param": "search",
"url": "https://example.com/search?q=<script>alert(1)</script>",
"technique": "polyglot",
"confidence": 0.9,
}
result = engine.assess_finding(
finding,
ScanContext(
target_domain="example.com",
scan_phase="vulnerability_scan",
tool_source="nuclei",
),
)
print(f"FP probability: {result.fp_probability}") # 0.0–1.0
print(f"Decision: {result.decision}") # TRUE_POSITIVE | FALSE_POSITIVE | INDETERMINATE
The engine uses a multi-model voting system:
Next to this one in the catalogue, plus more from the same author.