Repository navigation
Conversation
…ended whitelist Turkish dictionary expanded from 25 to 39 roots with 103 new tests (631 → 734 total). New roots: sürtük, kaltak, fahişe, kevaşe, oğlancı, dingil, avanak, manyak, hödük, kepaze, rezil, kalleş, namussuz, ahlaksız. New variants on existing roots: - amk: aminakoyayim, aminakoydum, aminakoydugumun, aq - orospu: orospucocuklari - göt: gotos - yarrak: yarrani, yarragimi, yarragini - sik: sktr Whitelist additions: amazon, ambargo, amblem, amfibi, dolap, dolar, dolma, dolmus, malum, namus, namuslu, ahlak, ahlaki. Effective forms: ~3,000 → ~5,500+ https://claude.ai/code/session_01BBttofFmRRc2vY7Lj3tbx6
…and whitelists English (23→36 roots): Added 13 new slur/insult roots (spic, kike, chink, gook, tranny, dyke, coon, wetback, bellend, skank, scumbag, turd, bugger). New compound variants for existing roots (fuckboy, fucktard, wtf, mofo, shitbag, cockblock, bitchslap, asscrack, etc). Extended whitelist with cockpit, cockroach, cocoon, raccoon, scunthorpe, shiitake, etc. Spanish (19→29 roots): Added 10 new roots covering Spain + Latin America (culero, cojones, polla, follar, capullo, guarro, boludo, pelotudo, hostia, soplapollas). New variants for existing roots (putazo, coñazo, chingue, mamonazo). Whitelist: pollo, pollito, folleto, follaje. German (18→28 roots): Added 10 new roots (schwuchtel, spast, miststück, bastard, penner, blödmann, vollpfosten, hackfresse, pissnelke, spacken). New variants for existing roots (verfickt, wixer, scheissegal, arschbacke, drecksack, schlamperei). Whitelist: schwanger, schwangerschaft, geschichte. Test count: 734 → 860 (126 new tests). All 860 pass. https://claude.ai/code/session_01BBttofFmRRc2vY7Lj3tbx6
badursun
added a commit
that referenced
this pull request
Mar 1, 2026
…ended whitelist (#1) Turkish dictionary expanded from 25 to 39 roots with new tests (631 → 860 total). New roots: sürtük, kaltak, fahişe, kevaşe, oğlancı, dingil, avanak, manyak, hödük, kepaze, rezil, kalleş, namussuz, ahlaksız. New variants on existing roots (amk, orospu, göt, yarrak, sik). Whitelist additions: amazon, ambargo, amblem, amfibi, dolap, dolar, dolma, dolmus, malum, namus, namuslu, ahlak, ahlaki. All 860 tests pass, typecheck and build clean. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
badursun
added a commit
that referenced
this pull request
Mar 2, 2026
Add universal Unicode hardening to the normalizer pipeline: - Strip invisible chars (ZWSP, ZWNJ, soft hyphen, BOM, etc.) - NFKD decomposition (fullwidth→ASCII, precomposed→base+combining) - Combining mark stripping (defeats accented-char bypass) - Cyrillic→Latin confusable map (а→a, с→c, е→e, і→i, о→o, р→p, у→u, х→x) Fixes audit findings #1 (accented bypass), #2 (Cyrillic homoglyph), #3 (fullwidth bypass), #4 (NFC/NFD inconsistency). Also adds red-team audit report and 276 adversarial regression tests covering EN/TR/ES/DE across Unicode, leet, separator, boundary, ReDoS, and cross-language isolation vectors. Bundle: +296 bytes gzip (13.5→13.8 KB). No perf regression. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Turkish dictionary expanded from 25 to 39 roots with 103 new tests (631 → 734 total).
New roots: sürtük, kaltak, fahişe, kevaşe, oğlancı, dingil, avanak, manyak,
hödük, kepaze, rezil, kalleş, namussuz, ahlaksız.
New variants on existing roots:
Whitelist additions: amazon, ambargo, amblem, amfibi, dolap, dolar, dolma,
dolmus, malum, namus, namuslu, ahlak, ahlaki.
Effective forms: ~3,000 → ~5,500+
https://claude.ai/code/session_01BBttofFmRRc2vY7Lj3tbx6