You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found in the post-0.16.1 code review. is_false_positive_secret's is_bare_identifier check is a tautology, so any line whose first unquoted ':' is followed by an unquoted alphabetic token is dropped. const password: string = "..." (TS), password: str = "..." (Python) and let password: &str = "..." (Rust) are not flagged on v0.16.1 / develop (reproduced with cora scan, LLM unreachable).
Correction after investigation: the always-true is_bare_identifier check is a real bug but not the cause of these misses. The security scanner, the built-in rule and the LLM cross-check (apply_llm_secret_fp_filter) all required the literal right after password = / password:, so a type annotation (password: string = "...") matched none of them, and the cross-check also dropped the LLM's finding (and findings on single-quoted literals). Fixed in the linked PR.
Activity
ajianaz commentedon Oct 9, 2026
Correction after investigation: the always-true
is_bare_identifiercheck is a real bug but not the cause of these misses. The security scanner, the built-in rule and the LLM cross-check (apply_llm_secret_fp_filter) all required the literal right afterpassword =/password:, so a type annotation (password: string = "...") matched none of them, and the cross-check also dropped the LLM's finding (and findings on single-quoted literals). Fixed in the linked PR.fix(rules): flag hardcoded secrets in typed declarations; accept sing…