A developer insists a scanner finding is a false positive. What is your process?
BeginnerScenarioPipeline Security Scanning
Answer
Situation read → Both extremes are bad: ignoring all developer claims, and accepting them without evidence.
What I'd do →
- Ask the developer to explain why in the PR (data flow, sanitisation, unreachable code).
- A security engineer or champion reviews and confirms.
- Record the suppression in code with a reason and expiry, for example
// nosemgrep: rule-id -- input validated in X, review 2026-03. - Track suppressions in a report so they can be audited.
- If a rule is wrong repeatedly, tune or disable the rule centrally.
Why → Suppressions without a reason become hidden vulnerabilities.
Interview tip → Say "suppression needs a reviewer and an expiry date".
More on Pipeline Security Scanning
You are asked to add security to an existing CI pipeline. Where do SAST, SCA, secrets scanning and DAST each go?BeginnerGitleaks flags an AWS access key in a pull request. The developer says it is a test key. What do you do?BeginnerDevelopers fear security scans will slow the pipeline from 6 to 20 minutes. How do you roll them out?BeginnerA SAST tool reports 2,000 findings on a legacy repo the first time you run it. How do you introduce it without freezing delivery?IntermediateSCA flags a critical CVE in a transitive dependency and no patched version exists. What are your options?IntermediateDevelopers bypass your pre-commit secret scan with `git commit --no-verify`. How do you close the gap?Intermediate