Sniffing for Codebase Secret Leaks with Known Production Secrets in Industry

13 Aug 2020  ·  Ding Zhen Yu, Khakshoor Benjamin, Paglierani Justin, Rajpal Mantej ·

Leaked secrets, such as passwords and API keys, in codebases were responsible for numerous security breaches. Existing heuristic techniques, such as pattern matching, entropy analysis, and machine learning, exist to detect and alert developers of such leaks. Heuristics, however, naturally exhibit false positives, which require triaging and can lead to developer frustration. We propose to use known production secrets as a source of ground truth for sniffing secret leaks in codebases. We develop techniques for using known secrets to sniff whole codebases and continuously sniff differential code revisions. We uncover different performance and security needs when sniffing for known secrets in these two situations in an industrial environment.

PDF Abstract
No code implementations yet. Submit your code now

Categories


Cryptography and Security Software Engineering

Datasets


  Add Datasets introduced or used in this paper