Dynamic Review: Unicode tag-character text hidden in repository files reaches the model untouched
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 12/100
Direzione di ricerca
Read PR #246 and its review at the linked URL, then the escape code in runner/src/code_reviewer_runner/dynamic_review/tagescape.py. Check how the size accounting in #232 (T06, T08) depends on returned text being unchanged. Done means a recorded decision (strip, flag as evidence, or leave) with the reasoning, and any change limited to tagescape.py. This needs maintainer input before any code is written.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Part of epic #193. Low priority; not a blocker for enabling opencode in #202.
Problem
Unicode tag characters (U+E0000 to U+E007F) render as nothing but map one to one onto ASCII (U+E0041 is "A"). Text written in them ("ASCII smuggling") can carry instructions that a reader does not see and some models decode. #243 (PR #246) ignores tag characters when it matches the <system-reminder> tag and chat-template tokens in a tool result, so a tag spelled with them is escaped. It does not touch tag-character text elsewhere in a repository file: a README, a comment or a string literal that holds hidden instructions is passed to the model untouched, in every tool result and in the checkout.
Task
- Decide whether to strip the tag block (and the other
Default_Ignorable_Code_Pointcharacters) from tool-result text, flag it as evidence, or leave it. Everything read from a pull request is untrusted data; a strip changes the bytes the model sees, so the size accounting (#232-T06, T08) and the "text is returned as it was" rule of the escape need a decision. - If handled, keep it small, linear-time and idempotent, and in the same place as the escape (
runner/src/code_reviewer_runner/dynamic_review/tagescape.py).
Source
Review of PR #246, "Bypasses and the 'not covered' choices": https://github.com/ExpidetGames/code-reviewer/pull/246#pullrequestreview-5511487009
- Lingua principale
- TypeScript
- Stelle
- 0
- Fork
- 1
- Merge medio
- 1h 15m
- PR unite (30g)
- 168
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ExpidetGames/code-reviewer
-
area: app type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
ExpidetGames/code-reviewer#308 ·
I maintainer di solito rispondono entro 1 giorno
-
type: docs
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ExpidetGames/code-reviewer#94 ·
I maintainer di solito rispondono entro 1 giorno
-
Dynamic Review: recover when the engine turn ends without a structured answerForse già presa @Schacki-Jr l’ha presa 1 giorno fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 18/100
ExpidetGames/code-reviewer#309 ·
I maintainer di solito rispondono entro 1 giorno
-
area: runner type: chore
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
ExpidetGames/code-reviewer#307 ·
I maintainer di solito rispondono entro 1 giorno
-
Dynamic Review: an incremental review with an ancestor as previous commit becomes a full reviewApertaarea: runner type: bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
ExpidetGames/code-reviewer#306 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di ExpidetGames/code-reviewer
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
juice-shop/juice-shop#3686 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
dsh-market/dsh-market#877 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
ScottKirvan/GOMAC#61 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
stellar/stellar-dev-skill#151 ·
I maintainer di solito rispondono entro 1 giorno