--- title: "Source Code Parsing" description: "Language-aware secret detection using lightweight parser-based context verification across 16 supported source and config languages." --- # Kingfisher Source Code Parsing Kingfisher uses a parser-based context verifier as a second pass on supported source files. After its initial regex scan (powered by Vectorscan/Hyperscan), it extracts assignment-style snippets from code and configuration files to confirm that generic keyword+token matches appear in plausible contexts. The implementation favors lightweight extractors over full AST parsing: - **Handwritten lexers** for common programming and config languages — comment-aware stripping followed by regex-based `key = value` extraction - **`tl`** for HTML — attribute values, element text, and embedded `