Skip to content

v0.0.3

@SparkofSpike SparkofSpike tagged this 09 Nov 04:52
0.0.1 and 0.0.2 both shipped a real server IP in tests/test_mcp_server.py and
tests/test_store.py. I missed it because I grepped for the one address I already
knew about (38.22.235...), instead of scanning for anything that is not a
reserved range. A specific string search cannot find what you did not think of.

Replaced with 203.0.113.42 across all three occurrences. A full-tree scan for
every non-reserved IPv4 now returns zero.

The gate that matters is new: `--scan-archive` in tools/check_no_local_context.py
opens the built wheel and sdist and applies the same rules to their contents.
The release workflow runs it on both artifacts before upload, and refuses to
publish when it fails. This is the check whose absence let two bad releases out:
the git hook only sees commits, and a package is not a commit.

Verified on the actual artifacts: both brain4agent-0.0.3-*.whl and *.tar.gz
pass. 0.0.2 fails the same check, which is how the leak was found.

0.0.1 and 0.0.2 should be deleted from PyPI; 0.0.3 is the only clean version.
Assets 2
Loading