Repository navigation
Typosquat radar: no-registry languages, JVM classes, Node/Go stdlib (Part of #4982) - #5080
Conversation
…e/Go stdlib (Part of #4982) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…4982) Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #5080 @ 2506d3a: 2 failed check(s) == full-suite (failure) -- real == full-suite part 3/3 (failure) -- real |
…osquat false positives; Part of #4982) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (2fddd2b) is not the one a maintainer labelled |
|
No description provided. |
1 similar comment
|
No description provided. |
Part of #4982 (finishes the remaining boxes; #4547 acceptance).
Class: the typosquat radar tests names that are not registry packages. Same decision for each member: does the token resolve to a registry package?
NO_REGISTRY_LANGSgate (also cobol, bms, csd, hlasm, assembly, agc_assembly, easytrieve, rexx, db2_sql, td)same_jvm_package; also Kotlin, Scala, Gradle)node:prefix,fs/promises)github.com/...stays eligible)java.*Design note: the JVM rule compares the package part of the two tokens rather than a map of the project's own
packagedeclarations, since those are not kept inraw_importsand the gradle case is an external API class.Golden: both legs re-blessed with
crucible_check.py --update --yes. Diff vs main is exactly 11 typosquat hits gone (8 PL/IS001*incl. R0010301 counted twice, jcl CICSTS56DSNC10/SDSNLOD2, groovyInputFiles), plus their snapshots. No other moves.Tests:
tests/core_engine/test_typosquat_nonpackage_4982.py494 pass (whole Node and Go sets, every no-registry language, every JVM extension, still-fires negatives); plainpytestfrom an unrelated cwd passes.Gates:
pr_gates --fast6/6,--ratchets7/7.Cross-repo: none.
Co-Authored-By: Claude Opus 5.5 [email protected]
🤖 Generated with Claude Code