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
{{ message }}
Repository navigation
[BUG/SUPPLY-CHAIN] APERTURE_CONFIG has no "TYPOSQUAT_WHITELIST" key -- the typosquat whitelist is always empty #375
bugUnintended behavior or logic failure in the enginepriority: lowUI tweaks, documentation, and minor optimizationssupply-chainDependency firewall, manifest parsing, and CycloneDXthreat: false-positiveAccuracy tuning: Engine incorrectly flagged safe code
APERTURE_CONFIG (gitgalaxy/standards/gitgalaxy_config.py) has no "TYPOSQUAT_WHITELIST" key at all -- unlike the other findings in this audit, this one fails in the safe/loud direction: the typosquat detector is always maximally strict rather than silently permissive, so this is a false-positive-rate issue (legitimate similarly-named packages get flagged), not a missed-detection one.
🎯 Objective
Give operators a real way to whitelist known-legitimate package name variants, as the code already assumes exists.
🛠️ Proposed Implementation
Add a "TYPOSQUAT_WHITELIST" entry to APERTURE_CONFIG (empty by default, to preserve today's behavior) so it's a real, documented, extensible config surface rather than a phantom key.
✅ Acceptance Criteria
APERTURE_CONFIG["TYPOSQUAT_WHITELIST"] exists and a package name added to it is provably excluded from typosquat flagging.
bugUnintended behavior or logic failure in the enginepriority: lowUI tweaks, documentation, and minor optimizationssupply-chainDependency firewall, manifest parsing, and CycloneDXthreat: false-positiveAccuracy tuning: Engine incorrectly flagged safe code
Activity
Fix TYPOSQUAT_WHITELIST, typosquat_hits, and disqualifiers (#375, #376,
Fix TYPOSQUAT_WHITELIST, typosquat_hits, and disqualifiers (#375, #376,
Fix TYPOSQUAT_WHITELIST, typosquat_hits, and disqualifiers (#375, #376,