duo-labs / duo-labs/narrow

Include different narrower policies so users can configure how they want output data modified (if at all)

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
22
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Include different narrower policies so users can configure how they want output data modified (if at all). Some options:
In general:


Option to treat "unknowns" (e.g. no patch available for analysis) as "predicted as relevant" (conservative)


Option to treat "unknowns" as "predicated as NOT relevant" (noise reduction)

For the error code:


Exit code equals how many vulns were predicted to affect the project


Exit code equals how many vulns were not predicted to affect the project


Always return 0

For the krefst output data:


Increase CVSS for each vuln if predicted to affect the project


Reduce CVSS for each vuln if predicted to not affected the project

For the CycloneDX output data (severities):


Add new vuln rating (a Narrow rating) with CVSS score increased if vuln is predicted to affect the project


Add new vuln rating (a Narrow rating) with CVSS score decreased if vuln is predicted to not affect the project

For the CycloneDX output data (analysis):


Assign exploitable for each vuln predicted to affect the project


Assign not_affected (and justification set to code_not_reachable) for each vuln predicted to not affect the project


Assign in-triage if unknown

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests. Start by locating the configuration and output-generation entry points for exit codes, krefst data, and CycloneDX severity and analysis fields; done means users can select the unknown, exit-code, and output policies and each selected policy is reflected consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.