coldpass

jawah/charset_normalizer

GitHub ↗ · How this check works

Per-setup public labels: Linux / Haiku: Works · Linux / Luna: Works

Static status badge · SVG · read-only JSON. Embed with ![Coldpass status](https://coldpass.dev/badge/jawah--charset_normalizer.svg).

other

Works

The recorded run passed on 2 setups.

Answers apply to each recorded setup, revision and operation. Earlier observations remain in Run details.

Tested on Linux
PlatformHaikuLuna
Linuxyesyes

Linux / Haiku 5.5: yes · Oct 27, 2026 · 7d74fe4a8341 · claude-code / 2.1.310 (Claude Code)
Recorded operation: <guest-path>

Linux / Luna: yes · Oct 27, 2026 · 7d74fe4a8341 · codex / codex-cli 0.164.0
Recorded operation: /tmp/cn-venv/bin/normalizer data/sample-french.txt

Does what it says
1 of 1 claims checked out
  • The CLI detects a file's encoding and reports JSON.: Real input produced the expected result: "encoding": "utf_8"

    Source: This package comes with a CLI.

    Input: data/sample-french.txt

    Expected: JSON reports utf_8 and French

    Command: /tmp/cn-venv/bin/normalizer data/sample-french.txt

    Observed: "encoding": "utf_8", "encoding_aliases": [ "u8", "utf", "utf8", "utf8_ucs2", "utf8_ucs4", "cp65001" ], "alternative_encodings": [], "language": "French", "alphabets": [ "Basic Latin", "Control character", "Latin Extended-A", "Latin-1 Supplement" ], "has_sig_or_bom": false, "chaos": 0.1, "coherence": 82.71, "unicode_path": null, "is_preferred": true }

MCP
No
Local or hosted
local
Local: runs on your machine
Needs keys or browser
None seen
Maintained
Maintained
actively maintained: last commit 1 days ago; 82 commits and 22 merged PRs in 90 days; 0 open issues, 1 open PRs; 32 of 35 recent threads got a maintainer reply, median first reply 59.1h; latest release 2026-09-29

Last commit Oct 26, 2026

Setup time
1 min 0 s
1 min 0 s to a working result
Issue
none found in recorded check
Examples
1 of 1 ran as expected
  • Detect the encoding of a French sample file: command completed successfully

    Source: README.md / Basic Usage / CLI

    Input: data/sample-french.txt

    Expected: JSON result with utf_8 encoding

    Command: /tmp/cn-venv/bin/normalizer data/sample-french.txt

    Observed: { "path": "<guest-path>", "encoding": "utf_8", "encoding_aliases": [ "u8", "utf", "utf8", "utf8_ucs2", "utf8_ucs4", "cp65001" ], "alternative_encodings": [], "language": "French", "alphabets": [ "Basic Latin", "Control character", "Latin Extended-A", "Latin-1 Supplement" ], "has_sig_or_bom": false, "chaos": 0.1, "coherence": 82.71, "unicode_path": null, "is_preferred": true }

Evidence
README behavior checked
Agent interfaces
CLI
CLI

Observed interfaces were exercised by the checker. Documentation alone does not confirm compatibility.

Tested with
Codex / Luna
  • Linux: Codex / Luna · agent codex-cli 0.164.0 · Checked operation passed · Oct 27, 2026 on 7d74fe4a8341

Each entry describes its recorded operation and source revision.

Safety
No unexpected network or file activity found in these checks

No problems traced to this repository code in these checks; a short run cannot prove safety. 158 listed items (named-host connections, static matches, dependency advisories) are below and do not change this verdict. 2 static matches retained as context.

OSV reports a known vulnerability in this dependency version. 4 distinct locations. 71 findings.

Reviewed as expected for a test run: attempted writes that failed, so nothing was written.

Full event, path and process lists for each observed setup:

Run details

Haiku 5.5

Native agent · Checked operation passed

Checked operation <guest-path> ./data/sample-french.txt

Agent-reported scope: Detect the text encoding of a file with the normalizer CLI

Run details
run
jawah--charset_normalizer-claude-haiku-5-5-1793086558585649281
date
Oct 27, 2026
time to working
63.5s
product hosting / execution
Local command in the guest
recorded operation scope
product operation
model
claude-haiku-5-5
agent / version
claude-code / 2.1.310 (Claude Code)
platform
linux
reported cost
$0.008931
Recorded source
https://github.com/jawah/charset_normalizer
Backend
hyperv
Tool transport
mcp-assigned-vm
Requested source pin (not an observed revision)
{"commit": "7d74fe4a8341ae27a8f42c759793301dbd304e10", "url": "https://github.com/jawah/charset_normalizer"}
Test version
readme-7b45bc806d9264dc108ae6e1f61f5d665e5494413f227ffc7946c638ea53ee2e
revision
7d74fe4a8341ae27a8f42c759793301dbd304e10
Whose fault: not assigned · resolved

Safety: Review signals: 79 known vulnerability. 1 static matches retained as context.

Review signals: 79 known vulnerability. 1 static matches retained as context.

Reviewed as expected for a test run: attempted writes that failed, so nothing was written.

OSV reports a known vulnerability in this dependency version. 4 distinct locations. 71 findings.

1 hardcoded secret matches retained as context; full list in the evidence.

OSV scanned supported lockfiles; unpinned dependencies and unsupported formats are outside this check.

A short run cannot establish that code is safe.

Connections show IP addresses; proxies can hide the final hostname.

Tracing covers dispatched commands and their children, not the whole OS; guest root can interfere with tracing.

Full safety evidence →

Answers recorded for this run
  • The package ships a CLI that detects the encoding of a file: Real input produced the expected result: "encoding": "utf_8"

    Source: This package comes with a CLI.

    Input: ./data/sample-french.txt

    Expected: JSON result with encoding utf_8

    Command: <guest-path> ./data/sample-french.txt

    Observed: "encoding": "utf_8", "encoding_aliases": [ "u8", "utf", "utf8", "utf8_ucs2", "utf8_ucs4", "cp65001" ], "alternative_encodings": [], "language": "French", "alphabets": [ "Basic Latin", "Control character", "Latin Extended-A", "Latin-1 Supplement" ], "has_sig_or_bom": false, "chaos": 0.1, "coherence": 82.71, "unicode_path": null, "is_preferred": true }

  • The CLI prints a JSON result on stdout: Real input produced the expected result: "language": "French"

    Source: Since version 1.4.0 the CLI produce easily usable stdout result in JSON format.

    Input: ./data/sample-french.txt

    Expected: JSON with language French

    Command: <guest-path> ./data/sample-french.txt

    Observed: "language": "French", "alphabets": [ "Basic Latin", "Control character", "Latin Extended-A", "Latin-1 Supplement" ], "has_sig_or_bom": false, "chaos": 0.1, "coherence": 82.71, "unicode_path": null, "is_preferred": true }

Examples

  • Minimal output mode prints only the detected charset: command completed successfully

    Source: README.md ### CLI (python -m charset_normalizer)

    Input: ./data/sample-french.txt with -m

    Expected: utf_8 printed

    Command: <guest-path> -m charset_normalizer -m ./data/sample-french.txt

    Observed: utf_8

Local or hosted: local

What the agent did

Detect the text encoding of a file with the normalizer CLI

cd <guest-path> && pwd && ls -la && id -u && python3 --version && cat README.md | head -c 6000
cd <guest-path> && sed -n '/Basic Usage/,/Python Usage/p' README.md | head -c 5000; echo ----; grep -n -i "install\|pip\|cli\|command\|python" README.md | head -60; ls bin src/charset_normalizer; cat .coldpass/* 2>/dev/null | head -c 300; git status 2>&1 | head -2
cd <guest-path> && grep -n "requires-python\|build-backend\|requires =" pyproject.toml; sed -n 95,104p README.md; python3 -m venv --help >/dev/null && echo venv_ok; ls <guest-path>
python3 -m venv <guest-path> && <guest-path> install -q --upgrade pip 2>&1 | tail -3; <guest-path> install <guest-path> 2>&1 | tail -5; echo EXIT=$?
cd <guest-path> && ls data | head -20; <guest-path> ./data/sample.1.fr.srt; echo EXIT=$?; <guest-path> -m ./data/sample.1.fr.srt; echo EXIT=$?
cd <guest-path> && <guest-path> ./data/sample-french.txt; echo EXIT=$?; <guest-path> -m ./data/sample-french.txt; echo EXIT=$?; <guest-path> -m charset_normalizer -m ./data/sample-french.txt; echo EXIT=$?
mkdir -p <guest-path> && cp <guest-path> <guest-path> && cd <guest-path> && <guest-path> -n sample-russian.txt | head -c 600; echo EXIT=$?; ls -la <guest-path>; grep -n -A3 "normalize" <guest-path> | head -30
cd <guest-path> && cat > probe.json <<'EOF'
{"kind":"cli","argv":["<guest-path>","./data/sample-french.txt"],"cwd":"<guest-path>","expected_text":"\"encoding\": \"utf_8\""}
EOF
cat > claims.json <<'EOF'
[{"kind":"claim","claim":"The package ships a CLI that detects the encoding of a file","source":"This package comes with a CLI.","input":"./data/sample-french.txt","expected":"JSON result with encoding utf_8","probe_kind":"cli","argv":["<guest-path>","./data/sample-french.txt"],"expected_text":"\"encoding\": \"utf_8\"","cwd":"<guest-path>"},{"kind":"claim","claim":"The CLI prints a JSON result on stdout","source":"Since version 1.4.0 the CLI produce easily usable stdout result in JSON format.","input":"./data/sample-french.txt","expected":"JSON with language French","probe_kind":"cli","argv":["<guest-path>","./data/sample-french.txt"],"expected_text":"\"language\": \"French\"","cwd":"<guest-path>"}]
EOF
cat > examples.json <<'EOF'
[{"kind":"example","claim":"Minimal output mode prints only the detected charset","source":"README.md ### CLI (python -m charset_normalizer)","input":"./data/sample-french.txt with -m","expected":"utf_8 printed","argv":["<guest-path>","-m","charset_normalizer","-m","./data/sample-french.txt"],"cwd":"<guest-path>","expected_text":"utf_8"}]
EOF
cat > cycles.json <<'EOF'
{"detected":false,"reason":"Entry points inspected (README, src/charset_normalizer/__main__.py, cli/). normalizer is a one-shot CLI and the library is a function-call API; no scheduler, loop, cron, webhook or --once/--now cycle is documented or present.","checks":[]}
EOF
for f in probe.json claims.json examples.json cycles.json; do <guest-path> -I -c 'import json,sys;json.load(open(sys.argv[1]));print("ok",sys.argv[1])' $f; done
ls -la <guest-path> /inputs 2>&1 | head; cd <guest-path> && <env-var>=<guest-path> python3 -I <guest-path> --validate --replay 2>&1 | tail -c 4000; echo EXIT=$?
cd <guest-path> && cat > report.json <<'EOF'
{"outcome":"working","fault_owner":null,"operation":"Detect the text encoding of a file with the normalizer CLI","operation_scope":"Installed from the pinned checkout into a Python 3.12.3 venv at <guest-path>; ran normalizer on data/sample-french.txt (detected utf_8, language French). Checker validation and replay passed.","steps":["python3 -m venv <guest-path>","<guest-path> install <guest-path>","<guest-path> ./data/sample-french.txt","<guest-path> -m charset_normalizer -m ./data/sample-french.txt"],"deviations":["README example ./data/sample.1.fr.srt does not exist in this snapshot; used data/sample-french.txt instead.","README install is 'pip install charset-normalizer -U' from PyPI; installed the pinned local checkout instead, which is the source under test (version 3.5.2).","Did not replay normalizer -n (normalize to new file) because it writes a file beside the input and would collide on replay."],"stuck_step":null,"main_blocker":null,"plain_failure":null,"suggested_fix":null}
EOF
python3 -I -c 'import json;print(json.load(open("report.json"))["outcome"])'; ls -la <guest-path>
Earlier attempts (1)

Luna

Native agent · Checked operation passed

Checked operation /tmp/cn-venv/bin/normalizer data/sample-french.txt

Agent-reported scope: Detect character encoding from a text file with the normalizer CLI

Run details
run
jawah--charset_normalizer-gpt-6-luna-1793086894567504120
date
Oct 27, 2026
time to working
60.3s
product hosting / execution
Local command in the guest
recorded operation scope
product operation
model
gpt-6-luna
agent / version
codex / codex-cli 0.164.0
platform
linux
reported cost
not reported (not assumed free)
Recorded source
https://github.com/jawah/charset_normalizer
Backend
hyperv
Tool transport
mcp-assigned-vm
Requested source pin (not an observed revision)
{"commit": "7d74fe4a8341ae27a8f42c759793301dbd304e10", "url": "https://github.com/jawah/charset_normalizer"}
Test version
readme-e22ad0cd306a4823b39135049a6266db91b4d0ebf9fc00532e7afbf8806327fb
revision
7d74fe4a8341ae27a8f42c759793301dbd304e10
Whose fault: not assigned · resolved

Safety: Review signals: 79 known vulnerability. 1 static matches retained as context.

Review signals: 79 known vulnerability. 1 static matches retained as context.

Reviewed as expected for a test run: attempted writes that failed, so nothing was written.

OSV reports a known vulnerability in this dependency version. 4 distinct locations. 71 findings.

1 hardcoded secret matches retained as context; full list in the evidence.

OSV scanned supported lockfiles; unpinned dependencies and unsupported formats are outside this check.

A short run cannot establish that code is safe.

Connections show IP addresses; proxies can hide the final hostname.

Tracing covers dispatched commands and their children, not the whole OS; guest root can interfere with tracing.

Full safety evidence →

Answers recorded for this run
  • The CLI detects a file's encoding and reports JSON.: Real input produced the expected result: "encoding": "utf_8"

    Source: This package comes with a CLI.

    Input: data/sample-french.txt

    Expected: JSON reports utf_8 and French

    Command: /tmp/cn-venv/bin/normalizer data/sample-french.txt

    Observed: "encoding": "utf_8", "encoding_aliases": [ "u8", "utf", "utf8", "utf8_ucs2", "utf8_ucs4", "cp65001" ], "alternative_encodings": [], "language": "French", "alphabets": [ "Basic Latin", "Control character", "Latin Extended-A", "Latin-1 Supplement" ], "has_sig_or_bom": false, "chaos": 0.1, "coherence": 82.71, "unicode_path": null, "is_preferred": true }

Examples

  • Detect the encoding of a French sample file: command completed successfully

    Source: README.md / Basic Usage / CLI

    Input: data/sample-french.txt

    Expected: JSON result with utf_8 encoding

    Command: /tmp/cn-venv/bin/normalizer data/sample-french.txt

    Observed: { "path": "<guest-path>", "encoding": "utf_8", "encoding_aliases": [ "u8", "utf", "utf8", "utf8_ucs2", "utf8_ucs4", "cp65001" ], "alternative_encodings": [], "language": "French", "alphabets": [ "Basic Latin", "Control character", "Latin Extended-A", "Latin-1 Supplement" ], "has_sig_or_bom": false, "chaos": 0.1, "coherence": 82.71, "unicode_path": null, "is_preferred": true }

Local or hosted: local

What the agent did

Detect character encoding from a text file with the normalizer CLI

pwd; rg --files -g 'README*' -g 'pyproject.toml' -g 'setup.py' -g 'tox.ini' -g '.github/workflows/**' -g 'charset_normalizer/**' | head -100; sed -n '1,240p' README.md; python3 --version; id -u
find . -maxdepth 3 -type f | head -100; grep -nE 'requires-python|python_requires|normalizer|pytest|tox' pyproject.toml setup.py setup.cfg tox.ini 2>/dev/null; python3 --version; python3 -m pip --version; ls -la
python3 -m pip install --user -e .; normalizer data/sample-french.txt
python3 -m venv /tmp/cn-venv; /tmp/cn-venv/bin/pip install -e .
PYTHONPATH=src /tmp/cn-venv/bin/normalizer data/sample-french.txt
mkdir -p .coldpass; cat > .coldpass/probe.json <<'EOF'
{"kind":"cli","argv":["/tmp/cn-venv/bin/normalizer","data/sample-french.txt"],"cwd":"<guest-path>","env":{"PYTHONPATH":"src"},"expected_text":"\"encoding\": \"utf_8\""}
EOF
cat > .coldpass/claims.json <<'EOF'
[{"kind":"claim","claim":"The CLI detects a file's encoding and reports JSON.","source":"This package comes with a CLI.","input":"data/sample-french.txt","expected":"JSON reports utf_8 and French","probe_kind":"cli","argv":["/tmp/cn-venv/bin/normalizer","data/sample-french.txt"],"cwd":"<guest-path>","env":{"PYTHONPATH":"src"},"expected_text":"\"encoding\": \"utf_8\""}]
EOF
cat > .coldpass/examples.json <<'EOF'
[{"kind":"example","claim":"Detect the encoding of a French sample file","source":"README.md / Basic Usage / CLI","input":"data/sample-french.txt","expected":"JSON result with utf_8 encoding","argv":["/tmp/cn-venv/bin/normalizer","data/sample-french.txt"],"cwd":"<guest-path>","env":{"PYTHONPATH":"src"},"expected_text":"\"encoding\": \"utf_8\""}]
EOF
cat > .coldpass/cycles.json <<'EOF'
{"detected":false,"reason":"Inspected README usage and package CLI entry point; charset detection is invoked per file, with no scheduled or repeating cycle behavior documented.","checks":[]}
EOF

<env-var>=<guest-path> python3 -I <guest-path> --validate --replay
cat > .coldpass/report.json <<'EOF'
{"outcome":"working","fault_owner":null,"operation":"Detect character encoding from a text file with the normalizer CLI","operation_scope":"Python 3.12.3 virtual environment; installed editable repository package; documented French sample input","steps":["Read README installation and CLI usage.","Created /tmp/cn-venv with Python 3.12.3 and installed the repository using pip install -e .","Ran /tmp/cn-venv/bin/normalizer data/sample-french.txt; it reported encoding utf_8 and language French.","Validated and replayed probe, README claim, example, and cycle record successfully."],"deviations":["Initial python3 -m pip install --user -e . failed with externally-managed-environment (PEP 668); used a supported virtual environment."],"stuck_step":null,"main_blocker":null,"plain_failure":null,"suggested_fix":null}
EOF