Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
identifier `необовʼязкові` mixes scripts: Cyrillic + Other (raw pass, confidence 0.80)
### Додаткові необовʼязкові залежності { #additional-optional-dependencies }
Є ще деякі додаткові залежності, які ви можете захотіти встановити.
-
identifier `необовʼязкові` mixes scripts: Cyrillic + Other (raw pass, confidence 0.80)
Додаткові необовʼязкові залежності Pydantic:
* [`pydantic-settings`](https://pydantic.dev/docs/validation/latest/concepts/pydantic_settings/) - для керування налаштуваннями.
-
identifier `необовʼязкові` mixes scripts: Cyrillic + Other (raw pass, confidence 0.80)
Додаткові необовʼязкові залежності FastAPI:
* [`orjson`](https://github.com/ijl/orjson) - потрібно, якщо ви хочете використовувати `ORJSONResponse`.
-
identifier `імʼям` mixes scripts: Cyrillic + Other (raw pass, confidence 0.80)
Скажімо, у вас є клас `Person` з імʼям:
{* ../../docs_src/python_types/tutorial010_py310.py hl[1:3] *}
-
identifier `прикладi` contains homoglyph candidates: р (0440)→p, а (0430)→a (raw pass, confidence 0.70)
У попередньому прикладi *операції шляху* очікували б JSON-тіло з атрибутами `Item`, наприклад:
```JSON
-
identifier `прикладi` mixes scripts: Cyrillic + Latin (raw pass, confidence 0.80)
У попередньому прикладi *операції шляху* очікували б JSON-тіло з атрибутами `Item`, наприклад:
```JSON
-
identifier `сирa` contains homoglyph candidates: с (0441)→c, р (0440)→p (raw pass, confidence 0.70)
Якщо вас цікавить, як виглядає «сирa» схема OpenAPI, FastAPI автоматично генерує JSON (схему) з описами всього вашого API.
-
identifier `сирa` mixes scripts: Cyrillic + Latin (raw pass, confidence 0.80)
Якщо вас цікавить, як виглядає «сирa» схема OpenAPI, FastAPI автоматично генерує JSON (схему) з описами всього вашого API.
-
identifier `обʼєкт` mixes scripts: Cyrillic + Other (raw pass, confidence 0.80)
Ви також можете передати шлях до файлу в команду `fastapi dev`, і вона вгадає обʼєкт FastAPI app, який слід використовувати:
```console
-
identifier `памʼятати` mixes scripts: Cyrillic + Other (raw pass, confidence 0.80)
Але вам доведеться щоразу памʼятати передавати правильний шлях\entrypoint під час виклику команди `fastapi`.
-
identifier `необовʼязково` mixes scripts: Cyrillic + Other (raw pass, confidence 0.80)
### Розгорніть ваш застосунок (необовʼязково) { #deploy-your-app-optional }
За бажанням ви можете розгорнути ваш FastAPI-застосунок у [FastAPI Cloud](https://fastapicloud.com) однією командою. 🚀
-
identifier `Підібʼємо` mixes scripts: Cyrillic + Other (raw pass, confidence 0.80)
## Підібʼємо підсумки, крок за кроком { #recap-step-by-step }
### Крок 1: імпортуємо `FastAPI` { #step-1-import-fastapi }
-
identifier `навʼязує` mixes scripts: Cyrillic + Other (raw pass, confidence 0.80)
**FastAPI** не навʼязує жодного конкретного значення.
Наведена тут інформація подана як настанова, а не вимога.
-
identifier `обʼєктів` mixes scripts: Cyrillic + Other (raw pass, confidence 0.80)
Існує багато інших обʼєктів і моделей, які будуть автоматично конвертовані в JSON (зокрема ORM тощо). Спробуйте використати свої улюблені - велика ймовірність, що вони вже підтрим
-
identifier `Підібʼємо` mixes scripts: Cyrillic + Other (raw pass, confidence 0.80)
## Підібʼємо підсумки { #recap }
* Імпортуйте `FastAPI`.
-
identifier `розвʼязати` mixes scripts: Cyrillic + Other (raw pass, confidence 0.80)
Існувала також специфікація «OpenID». Вона намагалася розвʼязати те саме, що й **OpenID Connect**, але не базувалась на OAuth2.
Тож це була повністю додаткова система.
-
base64-like blob (74 bytes, compression ratio 1.15) (raw pass, confidence 0.60)
```
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
```
-
string literal compression ratio 0.962 (132 bytes) (raw pass, confidence 0.60)
* <dfn title="被設定為連接並以某種方式一起工作的機器群組。">叢集</dfn>
* <dfn title="一種機器學習方法,使用具備多個隱藏層的人工神經網路,在輸入與輸出層之間建立完整的內部結構">深度學習</dfn>
## 標題 { #headings }
-
[embedded bash] command name is a variable (`$Env`) not set in this file — the caller or environment decides what runs (ast pass, confidence 0.70)
```console
$ $Env:ADMIN_EMAIL = "deadpool@example.com"
$ $Env:APP_NAME = "ChimichangApp"
$ uv run fastapi run main.py
-
[embedded bash] command name is a variable (`$Env`) not set in this file — the caller or environment decides what runs (ast pass, confidence 0.70)
$ $Env:ADMIN_EMAIL = "deadpool@example.com"
$ $Env:APP_NAME = "ChimichangApp"
$ uv run fastapi run main.py
-
base64-like blob (74 bytes, compression ratio 1.15) (raw pass, confidence 0.60)
```
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
```
-
string literal compression ratio 0.975 (161 bytes) (raw pass, confidence 0.60)
QL 資料庫函式庫(有時稱為 <abbr title="Object Relational Mapper - 物件關聯對應器:一個用來描述某些類別代表 SQL 資料表且其實例代表資料表中資料列的函式庫的術語">"ORMs"</abbr>),FastAPI 不會強迫你使用特定工具。😎
-
[embedded bash] command name is a variable (`$Env`) not set in this file — the caller or environment decides what runs (ast pass, confidence 0.70)
```console
$ $Env:ADMIN_EMAIL = "deadpool@example.com"
$ $Env:APP_NAME = "ChimichangApp"
$ uv run fastapi run main.py
-
[embedded bash] command name is a variable (`$Env`) not set in this file — the caller or environment decides what runs (ast pass, confidence 0.70)
$ $Env:ADMIN_EMAIL = "deadpool@example.com"
$ $Env:APP_NAME = "ChimichangApp"
$ uv run fastapi run main.py
-
base64-like blob (74 bytes, compression ratio 1.15) (raw pass, confidence 0.60)
```
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
```
-
file imports decoder module(s) gzip and calls `.decompress()` — embedded payload decompressed at runtime (ast pass, confidence 0.75)
if "gzip" in self.headers.getlist("Content-Encoding"):
body = gzip.decompress(body)
self._body = body
return self._body
-
file imports decoder module(s) gzip and calls `.decompress()` — embedded payload decompressed at runtime (ast pass, confidence 0.75)
if "gzip" in self.headers.getlist("Content-Encoding"):
body = gzip.decompress(body)
self._body = body
return self._body
-
U+00AD SOFT HYPHEN in source (raw pass, confidence 0.75)
* Default
* Groß-/Klein⟨U+00AD⟩schrei⟨U+00AD⟩bung ist relevant
* Groß-/Klein⟨U+00AD⟩schrei⟨U+00AD⟩bung ist nicht relevant
likely benign
LLM, confidence 0.93
U+00AD soft hyphen inside a German word in a markdown test doc.
Reasoning
Soft hyphens inside German compound words in a markdown doc are typical of hyphenation in German text; no obfuscation payload. Benign.
-
U+00AD SOFT HYPHEN in source (raw pass, confidence 0.75)
* Default
* Groß-/Klein⟨U+00AD⟩schrei⟨U+00AD⟩bung ist relevant
* Groß-/Klein⟨U+00AD⟩schrei⟨U+00AD⟩bung ist nicht relevant
likely benign
LLM, confidence 0.93
Second soft hyphen in the same German markdown line.
Reasoning
Same soft hyphen pattern in German prose, benign hyphenation artifact.
-
U+00AD SOFT HYPHEN in source (raw pass, confidence 0.75)
* Groß-/Klein⟨U+00AD⟩schrei⟨U+00AD⟩bung ist relevant
* Groß-/Klein⟨U+00AD⟩schrei⟨U+00AD⟩bung ist nicht relevant
* die Anwendung bereitstellen
likely benign
LLM, confidence 0.93
Soft hyphen in German prose in a markdown test file.
Reasoning
Soft hyphen within German compound word 'Groß-/Klein⟨U+00AD⟩schreibung'; benign text artifact.
-
U+00AD SOFT HYPHEN in source (raw pass, confidence 0.75)
* Groß-/Klein⟨U+00AD⟩schrei⟨U+00AD⟩bung ist relevant
* Groß-/Klein⟨U+00AD⟩schrei⟨U+00AD⟩bung ist nicht relevant
* die Anwendung bereitstellen
likely benign
LLM, confidence 0.93
Second soft hyphen in German prose in the same file.
Reasoning
Same benign soft hyphen in German prose.
-
[embedded bash] command name is a variable (`$Env`) not set in this file — the caller or environment decides what runs (ast pass, confidence 0.70)
```console
$ $Env:ADMIN_EMAIL = "deadpool@example.com"
$ $Env:APP_NAME = "ChimichangApp"
$ uv run fastapi run main.py
likely benign
LLM, confidence 0.90
PowerShell example in docs setting env vars before running fastapi.
Reasoning
This is a PowerShell documentation example setting environment variables in a console block; $Env: is the standard PowerShell env syntax, shown for user instruction, not executed by the scanner or project.
-
[embedded bash] command name is a variable (`$Env`) not set in this file — the caller or environment decides what runs (ast pass, confidence 0.70)
$ $Env:ADMIN_EMAIL = "deadpool@example.com"
$ $Env:APP_NAME = "ChimichangApp"
$ uv run fastapi run main.py
likely benign
LLM, confidence 0.90
Continuation of PowerShell env var docs example.
Reasoning
Same documentation PowerShell env var example; benign tutorial content.
-
U+00AD SOFT HYPHEN in source (raw pass, confidence 0.75)
Außerdem ist Groß-/Klein⟨U+00AD⟩schrei⟨U+00AD⟩bung in HTTP-Headern nicht relevant, daher können Sie sie im Standard-Python-Stil (auch bekannt als „snake_case“) deklarieren.
likely benign
LLM, confidence 0.93
Soft hyphen in German tutorial text about header case-sensitivity.
Reasoning
Soft hyphen inside German word in tutorial prose; benign.
-
U+00AD SOFT HYPHEN in source (raw pass, confidence 0.75)
Außerdem ist Groß-/Klein⟨U+00AD⟩schrei⟨U+00AD⟩bung in HTTP-Headern nicht relevant, daher können Sie sie im Standard-Python-Stil (auch bekannt als „snake_case“) deklarieren.
likely benign
LLM, confidence 0.93
Second soft hyphen in German tutorial text.
Reasoning
Second soft hyphen in same German prose; benign.
-
line length 725 characters (raw pass, confidence 0.50)
-
line length 930 characters (raw pass, confidence 0.50)
-
base64-like blob (74 bytes, compression ratio 1.15) (raw pass, confidence 0.60)
```
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
```
likely benign
LLM, confidence 0.92
Standard sample JWT token shown in OAuth2 tutorial docs.
Reasoning
This is the canonical JWT example token from jwt.io documentation (header with alg HS256 and typ JWT, sample sub/name/iat claims). It is a well-known public sample, not a payload.
-
U+00AD SOFT HYPHEN in source (raw pass, confidence 0.75)
* Starlette's Y: Starlettes Y
* X is case-sensitive: Groß-/Klein⟨U+00AD⟩schrei⟨U+00AD⟩bung ist relevant in X
* X is case-insensitive: Groß-/Klein⟨U+00AD⟩schrei⟨U+00AD⟩bung ist nicht relevant in X
* standard Python: Standard-Python
likely benign
LLM, confidence 0.93
Soft hyphen in German text within LLM prompt markdown.
Reasoning
Soft hyphen in German prose inside an LLM prompt doc; benign.
-
U+00AD SOFT HYPHEN in source (raw pass, confidence 0.75)
* Starlette's Y: Starlettes Y
* X is case-sensitive: Groß-/Klein⟨U+00AD⟩schrei⟨U+00AD⟩bung ist relevant in X
* X is case-insensitive: Groß-/Klein⟨U+00AD⟩schrei⟨U+00AD⟩bung ist nicht relevant in X
* standard Python: Standard-Python
likely benign
LLM, confidence 0.93
Second soft hyphen in German LLM prompt text.
Reasoning
Second soft hyphen in same German prose; benign.
-
U+00AD SOFT HYPHEN in source (raw pass, confidence 0.75)
* X is case-sensitive: Groß-/Klein⟨U+00AD⟩schrei⟨U+00AD⟩bung ist relevant in X
* X is case-insensitive: Groß-/Klein⟨U+00AD⟩schrei⟨U+00AD⟩bung ist nicht relevant in X
* standard Python: Standard-Python
* deprecated: deprecatet
likely benign
LLM, confidence 0.93
Soft hyphen in German prose line in LLM prompt doc.
Reasoning
Soft hyphen in German compound word; benign text artifact.
-
U+00AD SOFT HYPHEN in source (raw pass, confidence 0.75)
* X is case-sensitive: Groß-/Klein⟨U+00AD⟩schrei⟨U+00AD⟩bung ist relevant in X
* X is case-insensitive: Groß-/Klein⟨U+00AD⟩schrei⟨U+00AD⟩bung ist nicht relevant in X
* standard Python: Standard-Python
* deprecated: deprecatet
likely benign
LLM, confidence 0.93
Second soft hyphen in German LLM prompt text.
Reasoning
Second soft hyphen in same line; benign.
-
[embedded bash] command name is a variable (`$Env`) not set in this file — the caller or environment decides what runs (ast pass, confidence 0.70)
```console
$ $Env:ADMIN_EMAIL = "deadpool@example.com"
$ $Env:APP_NAME = "ChimichangApp"
$ uv run fastapi run main.py
likely benign
LLM, confidence 0.90
English docs PowerShell env var example before running fastapi.
Reasoning
PowerShell env var documentation example in English docs; $Env: is the normal syntax shown for users, not a malicious dropper.
-
[embedded bash] command name is a variable (`$Env`) not set in this file — the caller or environment decides what runs (ast pass, confidence 0.70)
$ $Env:ADMIN_EMAIL = "deadpool@example.com"
$ $Env:APP_NAME = "ChimichangApp"
$ uv run fastapi run main.py
likely benign
LLM, confidence 0.90
Continuation of English docs PowerShell env var example.
Reasoning
Same benign documentation example in English settings doc.
-
file mixes tab and space indentation (6 tab-indented and 172 space-indented lines) (raw pass, confidence 0.40)
class Termynal {
-
line length 508 characters (raw pass, confidence 0.50)
* ✨ Allow setting the `response_class` to `RedirectResponse` or `FileResponse` and returning the URL from the function. New and updated docs are in the tutorial section **Custom Response - HTML, Stream, File, others**, in [RedirectResponse](https://fastapi.tiangolo.com/advanced/custom-response/#redirectresponse) and
-
identifier `с` contains homoglyph candidates: с (0441)→c (raw pass, confidence 0.70)
* 📝 Add link to article in Russian "FastAPI: знакомимся с фреймворком". PR [#2564](https://github.com/tiangolo/fastapi/pull/2564) by [@trkohler](https://github.com/trkohler).
likely benign
LLM, confidence 0.97
A Russian-language article title in release notes contains a Cyrillic letter flagged as a Latin homoglyph.
Reasoning
The Cyrillic 'с' sits inside Russian prose in a changelog entry about an article title; it is ordinary Russian text, not an identifier used for deception.
-
line length 706 characters (raw pass, confidence 0.50)
-
line length 882 characters (raw pass, confidence 0.50)
-
base64-like blob (74 bytes, compression ratio 1.15) (raw pass, confidence 0.60)
```
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
```
likely benign
LLM, confidence 0.97
A sample JSON Web Token in the OAuth2 JWT tutorial, flagged as a base64 blob.
Reasoning
This is the canonical JWT example token from jwt.io (header, payload with sub/name/iat, signature). It is documentation sample data, not a payload.
-
[embedded bash] command name is a variable (`$Env`) not set in this file — the caller or environment decides what runs (ast pass, confidence 0.70)
```console
$ $Env:ADMIN_EMAIL = "deadpool@example.com"
$ $Env:APP_NAME = "ChimichangApp"
$ uv run fastapi run main.py
likely benign
LLM, confidence 0.93
Documentation example setting environment variables for a FastAPI app, parsed as embedded bash.
Reasoning
This is a PowerShell-style environment variable assignment shown in a console doc example. The '$Env' variable is a PowerShell idiom, and the flag is an artifact of the bash parser misreading it; the snippet only sets example settings and runs a documented app.
-
[embedded bash] command name is a variable (`$Env`) not set in this file — the caller or environment decides what runs (ast pass, confidence 0.70)
$ $Env:ADMIN_EMAIL = "deadpool@example.com"
$ $Env:APP_NAME = "ChimichangApp"
$ uv run fastapi run main.py
likely benign
LLM, confidence 0.93
Documentation console snippet setting example env vars before running a FastAPI app.
Reasoning
Same as the preceding finding: a documentation console example setting example env vars (PowerShell syntax) before running fastapi. No malicious behavior.
-
line length 750 characters (raw pass, confidence 0.50)
-
line length 921 characters (raw pass, confidence 0.50)
-
base64-like blob (74 bytes, compression ratio 1.15) (raw pass, confidence 0.60)
```
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
```
likely benign
LLM, confidence 0.97
A sample JSON Web Token in the Spanish OAuth2 JWT tutorial, flagged as a base64 blob.
Reasoning
Same canonical sample JWT from the jwt.io example, repeated in the Spanish translation of the tutorial.
-
[embedded bash] command name is a variable (`$Env`) not set in this file — the caller or environment decides what runs (ast pass, confidence 0.70)
```console
$ $Env:ADMIN_EMAIL = "deadpool@example.com"
$ $Env:APP_NAME = "ChimichangApp"
$ uv run fastapi run main.py
likely benign
LLM, confidence 0.93
Documentation console snippet setting example env vars before running a FastAPI app.
Reasoning
French translation of the same documentation console example setting PowerShell-style env vars for a FastAPI app; benign.
-
[embedded bash] command name is a variable (`$Env`) not set in this file — the caller or environment decides what runs (ast pass, confidence 0.70)
$ $Env:ADMIN_EMAIL = "deadpool@example.com"
$ $Env:APP_NAME = "ChimichangApp"
$ uv run fastapi run main.py
likely benign
LLM, confidence 0.93
Documentation console snippet setting example env vars before running a FastAPI app.
Reasoning
Same benign documentation console example repeated in the French translation.
-
compression ratio 0.850 is >2σ above file mean 0.736 (raw pass, confidence 0.50)
Si vous exécutez votre conteneur derrière un proxy de terminaison TLS (load balancer) comme Nginx ou Traefik, ajoutez l'option `--proxy-headers`, cela indiquera à Uvicorn (via la CLI FastAPI) de faire confiance aux en-têtes envoyés par ce proxy lui indiquant que l'application s'exécute derrière HTTPS, etc.
-
line length 725 characters (raw pass, confidence 0.50)
-
line length 918 characters (raw pass, confidence 0.50)
-
base64-like blob (74 bytes, compression ratio 1.15) (raw pass, confidence 0.60)
```
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
```
likely benign
LLM, confidence 0.97
A sample JSON Web Token in the French OAuth2 JWT tutorial, flagged as a base64 blob.
Reasoning
Canonical sample JWT from the tutorial, repeated in the French translation.
-
[embedded bash] command name is a variable (`$Env`) not set in this file — the caller or environment decides what runs (ast pass, confidence 0.70)
```console
$ $Env:ADMIN_EMAIL = "deadpool@example.com"
$ $Env:APP_NAME = "ChimichangApp"
$ uv run fastapi run main.py
likely benign
LLM, confidence 0.93
Documentation console snippet setting example env vars before running a FastAPI app.
Reasoning
Hindi translation of the same documentation console example setting PowerShell-style env vars for a FastAPI app; benign.
-
[embedded bash] command name is a variable (`$Env`) not set in this file — the caller or environment decides what runs (ast pass, confidence 0.70)
$ $Env:ADMIN_EMAIL = "deadpool@example.com"
$ $Env:APP_NAME = "ChimichangApp"
$ uv run fastapi run main.py
likely benign
LLM, confidence 0.93
Documentation console snippet setting example env vars before running a FastAPI app.
Reasoning
Same benign documentation console example repeated in the Hindi translation.
-
line length 674 characters (raw pass, confidence 0.50)
-
line length 871 characters (raw pass, confidence 0.50)
-
base64-like blob (74 bytes, compression ratio 1.15) (raw pass, confidence 0.60)
```
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
```
likely benign
LLM, confidence 0.97
A sample JSON Web Token in the Hindi OAuth2 JWT tutorial, flagged as a base64 blob.
Reasoning
Canonical sample JWT from the tutorial, repeated in the Hindi translation.
-
identifier `時々いくつかランダムに見える変更を行うことがあります` mixes scripts: Han + Other + Hiragana + Katakana (raw pass, confidence 0.80)
�良であることを意味します(時々いくつかランダムに見える変更を行うことがあります。理由は [LLM は決定論的アルゴリズムではない](https://doublespeak.chat/#/handbook#deterministic-output) ためです)。
likely benign
LLM, confidence 0.85
A Japanese prose sentence in an LLM test doc flagged for mixed scripts.
Reasoning
Mixed Japanese scripts in an ordinary Japanese sentence in a documentation test file are normal for Japanese prose; the flag is a false positive from the mixed-script heuristic, though the line has a stray replacement character which is a minor oddity.
-
string literal compression ratio 0.962 (130 bytes) (raw pass, confidence 0.60)
* <abbr title="Mozilla Developer Network - Mozilla 開発者ネットワーク: 開発者向けドキュメント、Firefox の開発元が執筆">MDN</abbr>
* <abbr title="Input/Output - 入出力: ディスクの読み書き、ネットワーク通信。">I/O</abbr>.
likely benign
LLM, confidence 0.90
Japanese glossary entries for MDN and I/O in an LLM test doc, flagged for compression ratio.
Reasoning
A short Japanese glossary list with abbreviation tooltips; a 130-byte string with high compression ratio is just Japanese text, with no obfuscation.
-
identifier `リクエストごとやユーザーごとに別々のモデルを使うわけではありません` mixes scripts: Katakana + Hiragana + Han + Other (raw pass, confidence 0.80)
同じモデルをリクエスト間で共有するので、リクエストごとやユーザーごとに別々のモデルを使うわけではありません。
likely benign
LLM, confidence 0.97
Japanese documentation sentence flagged for mixed scripts.
Reasoning
Japanese prose in a markdown doc naturally mixes Katakana, Hiragana, and Han. The raw unicode-mixed-script signal is a known false positive for CJK text.
-
identifier `共有するロジックや変数のない別々の関数でそれを行うのは難しく` mixes scripts: Han + Hiragana + Katakana + Other (raw pass, confidence 0.80)
共有するロジックや変数のない別々の関数でそれを行うのは難しく、グローバル変数などに値を保存する必要が出てきます。
そのため、現在は上で説明したとおり `lifespan` を使うことが推奨されています。
likely benign
LLM, confidence 0.97
Japanese documentation paragraph flagged for mixed scripts.
Reasoning
Ordinary Japanese prose mixing Han, Hiragana and Katakana; no code or identifier obfuscation involved.
-
identifier `個々のリクエストと` mixes scripts: Han + Other + Hiragana + Katakana (raw pass, confidence 0.80)
- **トレース**: 個々のリクエストと、それを処理するために実行された操作の記録です。時間を計測する各操作を**スパン**と呼びます。
- **ログ**: アプリケーションの起動や操作の失敗など、イベントのタイムスタンプ付きの記録です。
likely benign
LLM, confidence 0.97
Japanese bullet describing traces and logs flagged for mixed scripts.
Reasoning
Normal Japanese explanatory text in a markdown list; the mixed-script flag is a false positive from CJK writing.
-
[embedded bash] command name is a variable (`$Env`) not set in this file — the caller or environment decides what runs (ast pass, confidence 0.70)
```console
$ $Env:ADMIN_EMAIL = "deadpool@example.com"
$ $Env:APP_NAME = "ChimichangApp"
$ uv run fastapi run main.py
likely benign
LLM, confidence 0.93
Documentation console example setting environment variables then running fastapi.
Reasoning
This is a PowerShell-style example in a documentation code block showing how to set environment variables before running a command. The variable is a documentation placeholder in a console example, not a dropper or hidden execution.
-
[embedded bash] command name is a variable (`$Env`) not set in this file — the caller or environment decides what runs (ast pass, confidence 0.70)
$ $Env:ADMIN_EMAIL = "deadpool@example.com"
$ $Env:APP_NAME = "ChimichangApp"
$ uv run fastapi run main.py
likely benign
LLM, confidence 0.93
Documentation console example setting environment variables then running fastapi.
Reasoning
Same documentation console example as the neighbouring finding; the variable-command flag is a generic AST heuristic misfiring on illustrative shell text in markdown.
-
identifier `時々カウンターの表示を見て` mixes scripts: Han + Other + Katakana + Hiragana (raw pass, confidence 0.80)
時々カウンターの表示を見て、自分の番号になっているか確認します。
やがてあなたの番になります。カウンターに行き、ハンバーガーを受け取り、テーブルに戻ります。
likely benign
LLM, confidence 0.97
Japanese documentation paragraph flagged for mixed scripts.
Reasoning
Japanese prose analogy about a restaurant counter; mixed-script detection on normal CJK text.
-
identifier `家の別々のエリアを掃除できれば` mixes scripts: Han + Hiragana + Other + Katakana (raw pass, confidence 0.80)
しかしこの場合、8 人の元レジ係/料理人/現清掃員を連れてきて、それぞれ (あなたも加えて) 家の別々のエリアを掃除できれば、**並列** に作業でき、より早く終えられます。
likely benign
LLM, confidence 0.97
Japanese documentation sentence flagged for mixed scripts.
Reasoning
Japanese documentation sentence with Han, Hiragana and Katakana; standard language usage.
-
identifier `我々は間違いを犯す` mixes scripts: Han + Other + Hiragana (raw pass, confidence 0.80)
### 我々は間違いを犯す { #we-make-mistakes }
私たち人間は常に**間違い**を犯します。ソフトウェアには、ほとんど常に**バグ**があらゆる箇所に隠されています。🐛
likely benign
LLM, confidence 0.97
Japanese heading about human mistakes flagged for mixed scripts.
Reasoning
Japanese heading and prose; mixed Han and Hiragana is normal and the raw flag is a false positive.
-
identifier `他の人々のこれまでの働きがなければ存在しなかったでしょう` mixes scripts: Han + Hiragana + Other (raw pass, confidence 0.80)
**FastAPI**は、他の人々のこれまでの働きがなければ存在しなかったでしょう。
以前に作られた多くのツールが、作成における刺激として役立ってきました。
likely benign
LLM, confidence 0.97
Japanese documentation sentence flagged for mixed scripts.
Reasoning
Ordinary Japanese prose in documentation; no obfuscation present.
-
identifier `を別々のモデルとして分けて使うことは可能です` mixes scripts: Hiragana + Han + Other + Katakana (raw pass, confidence 0.80)
...しかし、同じアプリ内で Pydantic v1 と v2 を別々のモデルとして分けて使うことは可能です。
```mermaid
likely benign
LLM, confidence 0.97
Japanese migration guide sentence flagged for mixed scripts.
Reasoning
Japanese prose in a markdown guide; mixed scripts are inherent to Japanese writing.
-
identifier `徐々に` mixes scripts: Han + Other + Hiragana (raw pass, confidence 0.80)
`bump-pydantic` が適用できない場合は、同一アプリで v1 と v2 のモデルを併用できるサポートを利用して、徐々に v2 へ移行できます。
likely benign
LLM, confidence 0.97
Japanese migration guide sentence flagged for mixed scripts.
Reasoning
Japanese prose mentioning gradual migration; the raw mixed-script signal is a CJK false positive.
-
string literal compression ratio 1.036 (140 bytes) (raw pass, confidence 0.70)
"_FastAPIライブラリを採用し、クエリで **予測値** を取得できる **REST** サーバを構築しました。 [for Ludwig]_"
likely benign
LLM, confidence 0.85
Short Japanese docs string flagged for high complexity due to short length.
Reasoning
The flagged text is a short Japanese-language marketing string in a markdown doc. A compression ratio above 1 on 140 bytes of ordinary text is expected for short strings; the high-complexity signal is a statistical artifact with no code behaviour.
-
identifier `様々な階層` mixes scripts: Han + Other + Hiragana (raw pass, confidence 0.80)
`BackgroundTasks` の使用は依存性注入システムでも機能し、様々な階層 (*path operation function*、依存性 (dependable)、サブ依存性など) で `BackgroundTasks` 型のパラメーターを宣言できます。
likely benign
LLM, confidence 0.97
Japanese tutorial sentence about declaring BackgroundTasks parameters at various dependency levels.
Reasoning
The flagged identifier is ordinary Japanese prose ('様々な階層', meaning 'various levels') in a markdown doc. Mixing Han and Hiragana is normal for Japanese, and raw-pass mixed-script hits on natural-language text are typical false positives.
-
U+200B ZERO WIDTH SPACE in source (raw pass, confidence 0.75)
**FastAPI** は、それぞれの場合の処理⟨U+200B⟩⟨U+200B⟩方法と同じオブジェクトの再利用方法を知っているため、すべてのバックグラウンドタスクがマージされ、バックグラウンドで後で実行されます:
likely benign
LLM, confidence 0.70
A stray U+200B inside a Japanese word in the background tasks tutorial prose.
Reasoning
A zero-width space sits inside a Japanese word ('処理⟨U+200B⟩⟨U+200B⟩方法') in prose. This looks like a copy-paste or translation artifact rather than code. It has no effect on rendered documentation, but invisible characters in text are a minor concern, so the verdict is not certain.
-
U+200B ZERO WIDTH SPACE in source (raw pass, confidence 0.75)
**FastAPI** は、それぞれの場合の処理⟨U+200B⟩⟨U+200B⟩方法と同じオブジェクトの再利用方法を知っているため、すべてのバックグラウンドタスクがマージされ、バックグラウンドで後で実行されます:
likely benign
LLM, confidence 0.70
A second stray U+200B in the same Japanese background tasks sentence.
Reasoning
This is a second zero-width space in the same Japanese sentence, consistent with an editing or copy artifact. Markdown prose with no executable effect, though invisible characters are worth noting.
-
identifier `個々の` mixes scripts: Han + Other + Hiragana (raw pass, confidence 0.80)
`APIRouter` に `dependencies` を置くことで、*path operations* のグループ全体に認証を要求する、といった用途に使えます。個々の *path operation* に依存関係を追加していなくても構いません。
///
likely benign
LLM, confidence 0.97
Japanese prose about adding dependencies to an APIRouter for a group of path operations.
Reasoning
'個々の' is standard Japanese (meaning 'individual') and the mixed-script flag is a false positive on natural-language text in a markdown tutorial.
-
line length 509 characters (raw pass, confidence 0.50)
-
line length 720 characters (raw pass, confidence 0.50)
-
base64-like blob (74 bytes, compression ratio 1.15) (raw pass, confidence 0.60)
```
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
```
likely benign
LLM, confidence 0.95
Documentation example of a sample JSON Web Token in the Japanese OAuth2/JWT tutorial.
Reasoning
The base64 blob is the well-known example JWT from jwt.io (header, subject 1234567890, name John Doe). It is a documentation sample, not a payload or obfuscated code.
-
identifier `同じデータベースを使用してDjangoアプリケーションを徐々に移行することもできます` mixes scripts: Han + Hiragana + Katakana + Latin + Other (raw pass, confidence 0.80)
例えば、Djangoアプリケーションからデータベース内の同じデータをFastAPIアプリケーションと共有できるだけではなく、同じデータベースを使用してDjangoアプリケーションを徐々に移行することもできます。
likely benign
LLM, confidence 0.97
Japanese prose noting that Django and FastAPI can share a database during migration.
Reasoning
The flagged identifier is ordinary Japanese prose mixing Han, Hiragana, Katakana and Latin (e.g. 'Django', 'FastAPI'), which is normal for technical Japanese text.
-
[embedded bash] command name is a variable (`$Env`) not set in this file — the caller or environment decides what runs (ast pass, confidence 0.70)
```console
$ $Env:ADMIN_EMAIL = "deadpool@example.com"
$ $Env:APP_NAME = "ChimichangApp"
$ uv run fastapi run main.py
likely benign
LLM, confidence 0.90
Korean settings tutorial showing how to set environment variables in PowerShell before running fastapi.
Reasoning
This is a console code block showing PowerShell environment-variable syntax ($Env:...) for a tutorial. The AST pass flags the variable command name, but nothing executes; the snippet is illustrative docs.
-
[embedded bash] command name is a variable (`$Env`) not set in this file — the caller or environment decides what runs (ast pass, confidence 0.70)
$ $Env:ADMIN_EMAIL = "deadpool@example.com"
$ $Env:APP_NAME = "ChimichangApp"
$ uv run fastapi run main.py
likely benign
LLM, confidence 0.90
Second line of the same PowerShell example in the Korean settings tutorial.
Reasoning
Same PowerShell environment-variable example in a documentation console block. The embedded-shell dynamic-execution flag is a false positive on illustrative text.
-
string literal compression ratio 0.992 (128 bytes) (raw pass, confidence 0.70)
* 100% <dfn title="Python 타입 어노테이션으로, 이를 통해 편집기와 외부 도구가 더 나은 지원을 제공할 수 있습니다">타입 어노테이션</dfn> 코드 베이스.
* 프로덕션 애플리케이션에서 사용됩니다.
likely benign
LLM, confidence 0.90
Korean feature list describing FastAPI's type-annotated codebase and production use.
Reasoning
The flagged 'string literal' is Korean prose with an inline HTML dfn tag, and the high compression ratio is an artifact of the raw pass on natural-language text. There is no hidden code.
-
string literal compression ratio 0.957 (162 bytes) (raw pass, confidence 0.60)
"_**FastAPI** 라이브러리를 채택하여 **예측**을 얻기 위해 쿼리를 실행할 수 있는 **REST** 서버를 생성했습니다. [Ludwig을 위해]_"
likely benign
LLM, confidence 0.95
Korean testimonial quote about building a REST prediction server with FastAPI for Ludwig.
Reasoning
This is a Korean testimonial quote in markdown. Its compression ratio is high only because it is natural-language text, so the raw-pass complexity signal does not indicate obfuscation.
-
string literal compression ratio 0.956 (183 bytes) (raw pass, confidence 0.60)
"_**Netflix**는 우리의 **위기 관리** 오케스트레이션 프레임워크인 **Dispatch**의 오픈 소스 공개를 발표하게 되어 기쁩니다! [**FastAPI**로 빌드]_"
likely benign
LLM, confidence 0.95
Korean testimonial quote about Netflix open-sourcing Dispatch, built with FastAPI.
Reasoning
This is a Korean testimonial quote about Netflix's Dispatch project built with FastAPI. The high-complexity flag on prose is a false positive.
-
line length 514 characters (raw pass, confidence 0.50)
-
line length 719 characters (raw pass, confidence 0.50)
-
base64-like blob (74 bytes, compression ratio 1.15) (raw pass, confidence 0.60)
```
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
```
likely benign
LLM, confidence 0.95
Korean OAuth2/JWT tutorial showing an example JSON Web Token.
Reasoning
The base64 blob is the standard jwt.io sample JWT used in documentation. It is an example token, not a hidden payload.
-
identifier `azərbaycan` mixes scripts: Latin + Other (raw pass, confidence 0.80)
ay: aymar aru
az: azərbaycan dili
ba: башҡорт теле
be: беларуская мова
likely benign
LLM, confidence 0.95
Language-name mapping entry where the Azerbaijani name uses a schwa character.
Reasoning
'azərbaycan' is the native name of the Azerbaijani language, and the schwa 'ə' is a legitimate Latin-extended letter. The mixed-script flag is a false positive in a language-name data file.
-
identifier `Eʋegbe` mixes scripts: Latin + Other (raw pass, confidence 0.80)
dz: རྫོང་ཁ
ee: Eʋegbe
el: Ελληνικά
en: English
likely benign
LLM, confidence 0.90
Language name for Ewe containing an IPA letter.
Reasoning
Eʋegbe is the endonym of the Ewe language. The ʋ is a standard Latin-extended IPA letter used in African language orthography, so mixing it with Latin is expected in a language-name table.
-
identifier `æвзаг` contains homoglyph candidates: а (0430)→a (raw pass, confidence 0.70)
or: ଓଡ଼ିଆ
os: ирон æвзаг
pa: ਪੰਜਾਬੀ
pi: पाऴि
likely benign
LLM, confidence 0.90
Ossetian language name written in Cyrillic with the Latin letter æ.
Reasoning
ирон æвзаг is the Ossetian self-name. The Cyrillic letters are the correct script and æ is a genuine Ossetian letter. The homoglyph flag on а is a false positive for a multilingual data file.
-
identifier `æвзаг` mixes scripts: Latin + Cyrillic (raw pass, confidence 0.80)
or: ଓଡ଼ିଆ
os: ирон æвзаг
pa: ਪੰਜਾਬੀ
pi: पाऴि
likely benign
LLM, confidence 0.90
Ossetian language name mixing Cyrillic and Latin æ.
Reasoning
Same line as the homoglyph finding. Mixing Cyrillic with the Latin æ is the correct orthography for Ossetian, so the mixed-script signal is a false positive.
-
identifier `Saɯ` mixes scripts: Latin + Other (raw pass, confidence 0.80)
yo: Yorùbá
za: Saɯ cueŋƅ
zh: 简体中文
zh-hant: 繁體中文
likely benign
LLM, confidence 0.90
Zhuang language name with Latin extended letters.
Reasoning
Saɯ cueŋƅ is the Zhuang endonym. The ɯ, ŋ and ƅ characters are standard Latin-extended letters in Zhuang orthography, so the mixed-script flag is expected in this context.
-
[embedded bash] command name is a variable (`$Env`) not set in this file — the caller or environment decides what runs (ast pass, confidence 0.70)
```console
$ $Env:ADMIN_EMAIL = "deadpool@example.com"
$ $Env:APP_NAME = "ChimichangApp"
$ uv run fastapi run main.py
likely benign
LLM, confidence 0.85
Documentation example setting PowerShell env vars before running a FastAPI app.
Reasoning
This is a PowerShell environment-variable assignment shown in a console example in documentation. The variable command name is part of illustrative docs, not executed code in the repo.
-
[embedded bash] command name is a variable (`$Env`) not set in this file — the caller or environment decides what runs (ast pass, confidence 0.70)
$ $Env:ADMIN_EMAIL = "deadpool@example.com"
$ $Env:APP_NAME = "ChimichangApp"
$ uv run fastapi run main.py
likely benign
LLM, confidence 0.85
Second line of the same PowerShell env var documentation example.
Reasoning
Same PowerShell console example in the Portuguese docs, showing how to set env vars for a FastAPI app. It is documentation text and carries no malicious intent.
-
U+200B ZERO WIDTH SPACE in source (raw pass, confidence 0.75)
o tem suas próprias coisas, variáveis ⟨U+200B⟩⟨U+200B⟩e memória. E se você estiver consumindo uma grande quantidade de memória em seu código, **cada processo** consumirá uma quantidade equivalente de memória.
likely benign
LLM, confidence 0.85
Stray zero-width space in translated Portuguese documentation text.
Reasoning
A zero-width space appears inside Portuguese prose, where it is a typical artifact of copy-pasting or translation. It is invisible but does not change program behaviour in a markdown doc.
-
U+200B ZERO WIDTH SPACE in source (raw pass, confidence 0.75)
em suas próprias coisas, variáveis ⟨U+200B⟩⟨U+200B⟩e memória. E se você estiver consumindo uma grande quantidade de memória em seu código, **cada processo** consumirá uma quantidade equivalente de memória.
likely benign
LLM, confidence 0.85
Second stray zero-width space in the same Portuguese documentation paragraph.
Reasoning
Another stray zero-width space in the same Portuguese paragraph. This is a translation or editing artifact in prose with no executable impact.
-
U+200B ZERO WIDTH SPACE in source (raw pass, confidence 0.75)
Esses processos de trabalho seriam aqueles que executariam sua aplicação, eles executariam os cálculos principais para receber uma **request** e retornar uma **resposta**, e carregariam qualquer coisa que você colocasse em variáveis ⟨U+200B⟩⟨U+200B⟩na RAM.
<img src="/img/deployment/concepts/process-ram.drawio.svg">
likely benign
LLM, confidence 0.85
Zero-width space in translated deployment documentation.
Reasoning
A zero-width space sits next to a word in Portuguese documentation prose. It is a common editing artifact and not used to hide code.
-
U+200B ZERO WIDTH SPACE in source (raw pass, confidence 0.75)
Esses processos de trabalho seriam aqueles que executariam sua aplicação, eles executariam os cálculos principais para receber uma **request** e retornar uma **resposta**, e carregariam qualquer coisa que você colocasse em variáveis ⟨U+200B⟩⟨U+200B⟩na RAM.
<img src="/img/deployment/concepts/process-ram.drawio.svg">
likely benign
LLM, confidence 0.85
Second zero-width space in the same translated documentation paragraph.
Reasoning
Another zero-width space in the same translated documentation paragraph. It is a copy or translation artifact with no executable effect.
-
U+200B ZERO WIDTH SPACE in source (raw pass, confidence 0.75)
Para alterar as URLs usadas ⟨U+200B⟩⟨U+200B⟩para as interfaces de usuário da documentação gerada automaticamente, leia a documentação de [Tutorial - Metadados e URLs da Documentação](../tutorial/metadata.md#docs-urls).
likely benign
LLM, confidence 0.85
Zero-width space in Portuguese how-to documentation.
Reasoning
A zero-width space appears in Portuguese documentation text before a link. It is an invisible typographic artifact in markdown prose.
-
U+200B ZERO WIDTH SPACE in source (raw pass, confidence 0.75)
Para alterar as URLs usadas ⟨U+200B⟩⟨U+200B⟩para as interfaces de usuário da documentação gerada automaticamente, leia a documentação de [Tutorial - Metadados e URLs da Documentação](../tutorial/metadata.md#docs-urls).
likely benign
LLM, confidence 0.85
Second zero-width space in the same Portuguese how-to sentence.
Reasoning
Second zero-width space in the same documentation sentence. It is a benign translation artifact.
-
U+200B ZERO WIDTH SPACE in source (raw pass, confidence 0.75)
Mas isso só permitirá certos tipos de comunicação, excluindo tudo que envolva credenciais: cookies, cabeçalhos de autorização como aqueles usados ⟨U+200B⟩⟨U+200B⟩com Bearer Tokens, etc.
Então, para que tudo funcione corretamente, é melhor especificar explicitamente as origens permitidas.
likely benign
LLM, confidence 0.85
Zero-width space in the Portuguese CORS tutorial text.
Reasoning
A zero-width space appears in Portuguese CORS tutorial prose. It is an invisible artifact in documentation with no code-level effect.
-
U+200B ZERO WIDTH SPACE in source (raw pass, confidence 0.75)
Mas isso só permitirá certos tipos de comunicação, excluindo tudo que envolva credenciais: cookies, cabeçalhos de autorização como aqueles usados ⟨U+200B⟩⟨U+200B⟩com Bearer Tokens, etc.
Então, para que tudo funcione corretamente, é melhor especificar explicitamente as origens permitidas.
likely benign
LLM, confidence 0.85
Second zero-width space in the same Portuguese CORS paragraph.
Reasoning
Second zero-width space in the same CORS tutorial paragraph. It is a benign typographic artifact in markdown.
-
U+200B ZERO WIDTH SPACE in source (raw pass, confidence 0.75)
Os parâmetros padrão usados ⟨U+200B⟩⟨U+200B⟩pela implementação `CORSMiddleware` são restritivos por padrão, então você precisará habilitar explicitamente as origens, métodos ou cabeçalhos específicos para que os navegadores tenham permissão para usá-los em um contexto cross domain.
likely benign
LLM, confidence 0.97
A zero-width space in a Portuguese markdown tutorial paragraph about CORSMiddleware.
Reasoning
Zero-width spaces appear inside Portuguese prose around words like 'usados' and 'padrão'. This is a common artifact of copy-pasting or translation tooling in documentation, not an attack. No executable context.
-
U+200B ZERO WIDTH SPACE in source (raw pass, confidence 0.75)
Os parâmetros padrão usados ⟨U+200B⟩⟨U+200B⟩pela implementação `CORSMiddleware` são restritivos por padrão, então você precisará habilitar explicitamente as origens, métodos ou cabeçalhos específicos para que os navegadores tenham permissão para usá-los em um contexto cross domain.
likely benign
LLM, confidence 0.97
Another zero-width space in the same CORS tutorial paragraph.
Reasoning
Second zero-width space in the same benign prose paragraph; typographic/copy artifact in documentation.
-
line length 710 characters (raw pass, confidence 0.50)
-
line length 897 characters (raw pass, confidence 0.50)
-
U+200B ZERO WIDTH SPACE in source (raw pass, confidence 0.75)
E ambos os modelos serão usados ⟨U+200B⟩⟨U+200B⟩para a documentação interativa da API:
<img src="/img/tutorial/response-model/image02.png">
likely benign
LLM, confidence 0.96
Zero-width space in Portuguese response-model tutorial text.
Reasoning
Zero-width space between words in Portuguese documentation prose. No code execution or hidden logic; typical translation artifact.
-
U+200B ZERO WIDTH SPACE in source (raw pass, confidence 0.75)
E ambos os modelos serão usados ⟨U+200B⟩⟨U+200B⟩para a documentação interativa da API:
<img src="/img/tutorial/response-model/image02.png">
likely benign
LLM, confidence 0.96
Second zero-width space in the same Portuguese tutorial line.
Reasoning
Second zero-width space in the same benign prose line.
-
U+200B ZERO WIDTH SPACE in source (raw pass, confidence 0.75)
E as ferramentas também ficarão felizes porque `RedirectResponse` e ⟨U+200B⟩⟨U+200B⟩`JSONResponse` são subclasses de `Response`, então a anotação de tipo está correta.
### Anote uma subclasse de Response { #annotate-a-response-subclass }
likely benign
LLM, confidence 0.96
Zero-width space preceding `JSONResponse` in a Portuguese docs paragraph.
Reasoning
Zero-width space before a code span in Portuguese documentation prose; harmless formatting artifact.
-
U+200B ZERO WIDTH SPACE in source (raw pass, confidence 0.75)
E as ferramentas também ficarão felizes porque `RedirectResponse` e ⟨U+200B⟩⟨U+200B⟩`JSONResponse` são subclasses de `Response`, então a anotação de tipo está correta.
### Anote uma subclasse de Response { #annotate-a-response-subclass }
likely benign
LLM, confidence 0.96
Second zero-width space in the same Portuguese paragraph.
Reasoning
Another zero-width space in the same prose paragraph; no malicious use.
-
U+200B ZERO WIDTH SPACE in source (raw pass, confidence 0.75)
...isso falha porque a anotação de tipo não é um tipo Pydantic e não é apenas uma única classe ou subclasse `Response`, é uma união (qualquer uma das duas) entre um `Response` e ⟨U+200B⟩⟨U+200B⟩um `dict`.
### Desative o modelo de resposta { #disable-response-model }
likely benign
LLM, confidence 0.96
Zero-width space in a Portuguese sentence about response type annotations.
Reasoning
Zero-width space in Portuguese explanatory text near a code span; documentation artifact with no executable effect.
-
U+200B ZERO WIDTH SPACE in source (raw pass, confidence 0.75)
...isso falha porque a anotação de tipo não é um tipo Pydantic e não é apenas uma única classe ou subclasse `Response`, é uma união (qualquer uma das duas) entre um `Response` e ⟨U+200B⟩⟨U+200B⟩um `dict`.
### Desative o modelo de resposta { #disable-response-model }
likely benign
LLM, confidence 0.96
Second zero-width space in the same Portuguese sentence.
Reasoning
Second zero-width space in the same benign documentation sentence.
-
base64-like blob (74 bytes, compression ratio 1.15) (raw pass, confidence 0.60)
```
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
```
likely benign
LLM, confidence 0.95
The standard sample JWT string shown in an OAuth2/JWT tutorial code block.
Reasoning
This is the canonical JWT example token from jwt.io (header alg HS256, typ JWT; sub 1234567890, name John Doe). It is a well-known documentation sample, not a secret or payload. The base64 is just JWT structure.
-
identifier `Pythonу` contains homoglyph candidates: у (0443)→y (raw pass, confidence 0.70)
Pythonу придётся сравнить весь общий префикс `stanleyjobso` в `stanleyjobsox` и `stanleyjobson`, прежде чем понять, что строки отличаются. Поэтому на ответ «Неверное имя пользователя или пароль» уйдё
likely benign
LLM, confidence 0.90
A Russian-language sentence where 'Python' is followed by a Cyrillic у, a mixed-script word in prose.
Reasoning
The token 'Pythonу' has a Cyrillic у (U+0443) at the end, a homoglyph of Latin y. This is in Russian prose, where a Russian word-final у after Python is a typo or mixing artifact in translated text. It is not in executable code and has no effect on program behavior; the surrounding text is ordinary explanation about string comparison timing.
-
identifier `Pythonу` mixes scripts: Latin + Cyrillic (raw pass, confidence 0.80)
Pythonу придётся сравнить весь общий префикс `stanleyjobso` в `stanleyjobsox` и `stanleyjobson`, прежде чем понять, что строки отличаются. Поэтому на ответ «Неверное имя пользователя или пароль» уйдё
likely benign
LLM, confidence 0.85
Same mixed-script token 'Pythonу' in Russian documentation prose.
Reasoning
Same token as the homoglyph finding: Latin Python plus Cyrillic у in prose. This is most likely a typing or translation artifact, not an identifier in code, so it is benign with some residual doubt because the word is marked as an identifier.
-
[embedded bash] command name is a variable (`$Env`) not set in this file — the caller or environment decides what runs (ast pass, confidence 0.70)
```console
$ $Env:ADMIN_EMAIL = "deadpool@example.com"
$ $Env:APP_NAME = "ChimichangApp"
$ uv run fastapi run main.py
likely benign
LLM, confidence 0.85
A documentation console example setting environment variables before running a FastAPI app.
Reasoning
This is a console transcript in markdown showing shell environment variable assignment with PowerShell-style $Env: syntax for documentation. The command is a variable only because of the doc example. No malicious payload; it sets ADMIN_EMAIL and APP_NAME then runs uv run fastapi run. Documentation context makes this benign.
-
[embedded bash] command name is a variable (`$Env`) not set in this file — the caller or environment decides what runs (ast pass, confidence 0.70)
$ $Env:ADMIN_EMAIL = "deadpool@example.com"
$ $Env:APP_NAME = "ChimichangApp"
$ uv run fastapi run main.py
likely benign
LLM, confidence 0.90
Documentation example showing setting environment variables in PowerShell before starting a FastAPI app.
Reasoning
This is a PowerShell example in a documentation page that sets environment variables and then runs the app. The variable-named command is a documentation artifact of showing `$Env:` assignments, not a dropper or hidden execution.
-
line length 666 characters (raw pass, confidence 0.50)
-
line length 890 characters (raw pass, confidence 0.50)
-
base64-like blob (74 bytes, compression ratio 1.15) (raw pass, confidence 0.60)
```
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
```
dismissed
LLM, confidence 0.93
Sample JSON Web Token shown in a tutorial on OAuth2 and JWT.
Reasoning
The blob is the three-part JWT example from jwt.io, with a header, payload with sample name and iat, and signature. It is a public, well-known illustrative token, and base64 in a JWT is standard encoding, not obfuscation.
-
[embedded bash] command name is a variable (`$Env`) not set in this file — the caller or environment decides what runs (ast pass, confidence 0.70)
```console
$ $Env:ADMIN_EMAIL = "deadpool@example.com"
$ $Env:APP_NAME = "ChimichangApp"
$ uv run fastapi run main.py
likely benign
LLM, confidence 0.90
Documentation example showing PowerShell environment variable setup for a FastAPI app.
Reasoning
Same PowerShell environment-variable documentation example as the other locale, shown in a console code block. No malicious execution is present.
-
[embedded bash] command name is a variable (`$Env`) not set in this file — the caller or environment decides what runs (ast pass, confidence 0.70)
$ $Env:ADMIN_EMAIL = "deadpool@example.com"
$ $Env:APP_NAME = "ChimichangApp"
$ uv run fastapi run main.py
likely benign
LLM, confidence 0.90
Documentation example showing PowerShell environment variable setup for a FastAPI app.
Reasoning
Duplicate of the PowerShell documentation example with the same content and no execution risk.
-
line length 654 characters (raw pass, confidence 0.50)
-
line length 899 characters (raw pass, confidence 0.50)
-
base64-like blob (74 bytes, compression ratio 1.15) (raw pass, confidence 0.60)
```
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
```
dismissed
LLM, confidence 0.93
Sample JSON Web Token shown in a tutorial on OAuth2 and JWT.
Reasoning
Same well-known public sample JWT from jwt.io used as an illustration in the tutorial.
-
identifier `необовʼязковою` mixes scripts: Cyrillic + Other (raw pass, confidence 0.80)
Властивість `servers` у специфікації OpenAPI є необовʼязковою.
dismissed
LLM, confidence 0.94
Ukrainian prose containing the word необовʼязковою with a standard apostrophe.
Reasoning
The flagged identifier is a normal Ukrainian word using the modifier letter apostrophe U+02BC, which Ukrainian orthography uses. The mixed-script classification comes from the apostrophe being counted as 'Other', so this is a false positive.
-
identifier `обʼєкті` mixes scripts: Cyrillic + Other (raw pass, confidence 0.80)
Потім ви можете встановлювати заголовки в цьому *тимчасовому* обʼєкті відповіді.
{* ../../docs_src/response_headers/tutorial002_py310.py hl[1, 7:8] *}
dismissed
LLM, confidence 0.94
Ukrainian prose using the word обʼєкті with a standard apostrophe.
Reasoning
The word обʼєкті uses the Ukrainian apostrophe U+02BC, a legitimate orthographic feature. The script-mix flag is a false positive from the apostrophe classification in Markdown prose.
-
identifier `обʼєкт` mixes scripts: Cyrillic + Other (raw pass, confidence 0.80)
Далі ви можете повернути будь-який потрібний обʼєкт, як зазвичай (наприклад, `dict`, модель бази даних тощо).
dismissed
LLM, confidence 0.94
Ukrainian prose using the word обʼєкт with a standard apostrophe.
Reasoning
The word обʼєкт is standard Ukrainian with the normal apostrophe variant. The mixed-script hit reflects the apostrophe, not hidden identifiers.
-
identifier `обʼєкта` mixes scripts: Cyrillic + Other (raw pass, confidence 0.80)
Якщо ви оголосили `response_model`, його все одно буде використано для фільтрації та перетворення поверненого обʼєкта.
dismissed
LLM, confidence 0.94
Ukrainian prose using the word обʼєкта with a standard apostrophe.
Reasoning
The word обʼєкта is ordinary Ukrainian with the apostrophe U+02BC. Nothing suggests identifier spoofing in documentation prose.
-
identifier `обʼєкт` mixes scripts: Cyrillic + Other (raw pass, confidence 0.80)
�стає цей *тимчасовий* обʼєкт відповіді, щоб витягти заголовки (а також кукі та код статусу) і помістить їх у кінцеву відповідь, яка міститиме повернуте вами значення, відфіль… (340 bytes total)
dismissed
LLM, confidence 0.92
Ukrainian documentation prose with the word обʼєкт and a truncated snippet.
Reasoning
The snippet is truncated and contains a replacement character, but the flagged word обʼєкт is the same Ukrainian apostrophe usage in prose. No code or obfuscation is present.
-
[embedded bash] command name is a variable (`$Env`) not set in this file — the caller or environment decides what runs (ast pass, confidence 0.70)
```console
$ $Env:ADMIN_EMAIL = "deadpool@example.com"
$ $Env:APP_NAME = "ChimichangApp"
$ uv run fastapi run main.py
likely benign
LLM, confidence 0.90
Documentation example showing PowerShell environment variable setup for a FastAPI app.
Reasoning
PowerShell environment variable example in a Ukrainian docs page inside a console block. It is documentation, not a dropper or hidden command.
-
[embedded bash] command name is a variable (`$Env`) not set in this file — the caller or environment decides what runs (ast pass, confidence 0.70)
$ $Env:ADMIN_EMAIL = "deadpool@example.com"
$ $Env:APP_NAME = "ChimichangApp"
$ uv run fastapi run main.py
likely benign
LLM, confidence 0.90
Documentation example showing PowerShell environment variable setup for a FastAPI app.
Reasoning
Duplicate of the same PowerShell documentation example, with no execution risk.
-
identifier `необовʼязковий` mixes scripts: Cyrillic + Other (raw pass, confidence 0.80)
* _Шлях_ `/items/{item_id}` містить _параметр шляху_ `item_id`, який має бути типу `int`.
* _Шлях_ `/items/{item_id}` містить необовʼязковий `str` _параметр запиту_ `q`.
dismissed
LLM, confidence 0.94
Ukrainian documentation bullet using the word необовʼязковий with a standard apostrophe.
Reasoning
The word необовʼязковий is normal Ukrainian with the modifier apostrophe. The mixed-script flag is an artifact of the apostrophe, so this is a false positive.
-
identifier `обʼєктів` mixes scripts: Cyrillic + Other (raw pass, confidence 0.80)
* Автоматичні та зрозумілі помилки, коли дані некоректні.
* Валідацію навіть для глибоко вкладених JSON-обʼєктів.
likely benign
LLM, confidence 0.95
Ukrainian documentation word 'обʼєктів' written with the standard Ukrainian apostrophe.
Reasoning
The identifier is Ukrainian prose, not code. The apostrophe is U+02BC (modifier letter apostrophe), which Ukrainian orthography uses in words like обʼєкт. The mixed-script flag is a false positive from the raw pass on a markdown docs file.
-
identifier `Обʼєктів` mixes scripts: Cyrillic + Other (raw pass, confidence 0.80)
* Перетворення типів Python (`str`, `int`, `float`, `bool`, `list`, тощо).
* Обʼєктів `datetime`.
* Обʼєктів `UUID`.
* Моделей бази даних.
likely benign
LLM, confidence 0.95
Ukrainian documentation word 'Обʼєктів' with a modifier-letter apostrophe.
Reasoning
Ordinary Ukrainian prose in a markdown list. The U+02BC apostrophe is the correct orthographic character, so the script-mixing flag is a false positive.
-
identifier `Обʼєктів` mixes scripts: Cyrillic + Other (raw pass, confidence 0.80)
* Обʼєктів `datetime`.
* Обʼєктів `UUID`.
* Моделей бази даних.
* ...та багато іншого.
likely benign
LLM, confidence 0.95
Ukrainian documentation word 'Обʼєктів' with a modifier-letter apostrophe.
Reasoning
Same pattern as the neighbouring findings: legitimate Ukrainian text in a documentation file with the standard apostrophe character.
-
identifier `обовʼязковий` mixes scripts: Cyrillic + Other (raw pass, confidence 0.80)
* Перевірить, що є обовʼязковий атрибут `name`, який має бути типу `str`.
* Перевірить, що є обовʼязковий атрибут `price`, який має бути типу `float`.
likely benign
LLM, confidence 0.95
Ukrainian documentation word 'обовʼязковий' (required) with a modifier-letter apostrophe.
Reasoning
Ukrainian documentation prose ('обовʼязковий' means 'required'). The apostrophe is the normal U+02BC used in Ukrainian; no code or evasion is involved.
-
identifier `обовʼязковий` mixes scripts: Cyrillic + Other (raw pass, confidence 0.80)
* Перевірить, що є обовʼязковий атрибут `price`, який має бути типу `float`.
* Перевірить, що є необовʼязковий атрибут `is_offer`, який має бути типу `bool`, якщо він присутній.
likely benign
LLM, confidence 0.95
Ukrainian documentation word 'обовʼязковий' with a modifier-letter apostrophe.
Reasoning
Legitimate Ukrainian prose in a markdown documentation file. The mixed-script detection is triggered by the correct orthographic apostrophe.
-
identifier `необовʼязковий` mixes scripts: Cyrillic + Other (raw pass, confidence 0.80)
* Перевірить, що є необовʼязковий атрибут `is_offer`, який має бути типу `bool`, якщо він присутній.
* Усе це також працюватиме для глибоко вкладених JSON-обʼєктів.
likely benign
LLM, confidence 0.95
Ukrainian documentation word 'необовʼязковий' (optional) with a modifier-letter apostrophe.
Reasoning
Legitimate Ukrainian prose ('необовʼязковий', meaning 'optional'). The U+02BC apostrophe is standard orthography, so the finding is a false positive.
-
identifier `обʼєктів` mixes scripts: Cyrillic + Other (raw pass, confidence 0.80)
* Усе це також працюватиме для глибоко вкладених JSON-обʼєктів.
* Автоматично перетворюватиме з та в JSON.
* Документуватиме все за допомогою OpenAPI, який може бути використано в:
likely benign
LLM, confidence 0.95
Ukrainian documentation word 'обʼєктів' with a modifier-letter apostrophe.
Reasoning
Plain Ukrainian documentation text. The apostrophe in 'обʼєктів' is correct orthography and there is no identifier obfuscation or code.
-
identifier `необовʼязково` mixes scripts: Cyrillic + Other (raw pass, confidence 0.80)
### Розгортання застосунку (необовʼязково) { #deploy-your-app-optional }
За бажання ви можете розгорнути ваш застосунок FastAPI у [FastAPI Cloud](https://fastapicloud.com) однією командою. 🚀
likely benign
LLM, confidence 0.95
Ukrainian documentation heading word 'необовʼязково' with a modifier-letter apostrophe.
Reasoning
Heading text in Ukrainian ('необовʼязково', meaning 'optional') in a documentation markdown file. The apostrophe is the standard Ukrainian character, so this is not obfuscation.
-
identifier `необовʼязкових` mixes scripts: Cyrillic + Other (raw pass, confidence 0.80)
Коли ви встановлюєте FastAPI за допомогою `uv add "fastapi[standard]"`, ви отримуєте групу необовʼязкових залежностей `standard`:
Використовується Pydantic:
likely benign
LLM, confidence 0.95
Ukrainian documentation word 'необовʼязкових' with a modifier-letter apostrophe.
Reasoning
Ukrainian prose around a real pip/uv command. The word 'необовʼязкових' is written with the correct orthographic apostrophe; the flag is a false positive.
-
identifier `необовʼязкові` mixes scripts: Cyrillic + Other (raw pass, confidence 0.80)
Якщо ви не хочете включати необовʼязкові залежності `standard`, ви можете встановити через `uv add fastapi` замість `uv add "fastapi[standard]"`.
### Без `fastapi-cloud-cli` { #without-fastapi-cloud-cli }
likely benign
LLM, confidence 0.95
Ukrainian documentation word 'необовʼязкові' with a modifier-letter apostrophe.
Reasoning
Ukrainian documentation prose in a markdown file. The U+02BC apostrophe is standard Ukrainian orthography and the rest of the snippet is ordinary instructional text.
-
line length 717 characters (raw pass, confidence 0.50)
-
line length 857 characters (raw pass, confidence 0.50)
-
string literal compression ratio 0.993 (153 bytes) (raw pass, confidence 0.70)
你的 API 現在也能掌控自己的 <dfn title="這只是個玩笑,提醒一下。這與 Cookie 同意無關,但有趣的是連 API 現在也能拒絕可憐的 Cookie。請收下這塊餅乾。🍪">Cookie 同意</dfn>。🤪🍪
你可以使用 Pydantic 的模型設定來 `forbid` 任何 `extra` 欄位:
dismissed
LLM, confidence 0.95
A humorous HTML title attribute with emoji and repeated text in a FastAPI documentation page about cookie parameter models.
Reasoning
This is a raw-pass finding on a Traditional Chinese markdown documentation file. The high compression ratio comes from a joke title attribute on an HTML dfn element containing emoji and repeated Chinese text. This is ordinary prose with a humorous tooltip, not obfuscation or a payload, and the raw pass has a high false-positive rate for such strings.
-
line length 655 characters (raw pass, confidence 0.50)
-
string literal compression ratio 0.987 (153 bytes) (raw pass, confidence 0.70)
你的 API 现在可以控制自己的 <dfn title="只是个玩笑,别当真。和 cookie 同意无关,不过连 API 现在都能拒绝可怜的 cookie,挺好玩的。来,吃块小饼干吧。🍪">cookie 同意</dfn>。🤪🍪
likely benign
LLM, confidence 0.92
Chinese documentation sentence in an HTML dfn title attribute with a joke about cookie consent.
Reasoning
The flagged string is a Chinese HTML <dfn> title attribute containing a joke sentence. Its compression ratio is high only because it is short, repetitive-free prose with emoji. It is not compressed or encoded payload data, and the markdown file is documentation.
-
line length 665 characters (raw pass, confidence 0.50)
-
string literal compression ratio 1.032 (154 bytes) (raw pass, confidence 0.70)
库类库(在某些情况下称为 <abbr title="Object Relational Mapper - 对象关系映射器: 一个花哨的术语,指一种库,其中某些类表示 SQL 表,而实例表示这些表中的行">"ORMs"</abbr>),FastAPI 不会强迫你使用任何东西。😎
likely benign
LLM, confidence 0.92
Chinese documentation abbreviation title explaining the term ORM.
Reasoning
The flagged string is a Chinese explanatory title attribute for an abbr element describing ORMs. This is natural-language documentation text, and the high-complexity signal on a 154-byte CJK string is a known raw-pass false positive, not an encoded blob.
-
`__import__` called on a non-literal expression (ast pass, confidence 0.70)
try:
Color = __import__(module_path, fromlist=["Color"]).Color
except ImportError: pytest.skip(f"{module_path} not available")
likely benign
LLM, confidence 0.85
A test helper that conditionally imports an optional Color class via __import__ and skips the test if the module is missing.
Reasoning
This is a test in the FastAPI test suite that dynamically imports an optional module (a Color type from pydantic or similar) by a module path, wrapped in try/except ImportError and skipping when unavailable. The module path is parameterized by the test, not attacker-controlled input. The pattern is a common idiom for optional-dependency testing and is benign in context, though the non-literal __import__ is a real dynamic-import construct worth noting.
Run disclude locally to verify. Add --format sarif for SARIF output. Add --llm (with an API key in the environment) to include the LLM review.