Skip to content

Audit 2026-11: fix intel routes, key docs; mark repo deprecated - #1

Merged
TheDude4224 merged 1 commit into
mainfrom
audit/2026-11-fixes
Nov 27, 2026
Merged

TheDude4224 merged 1 commit into
mainfrom
audit/2026-11-fixes

Conversation

@TheDude4224

Copy link
Copy Markdown
Member

Audit 2026-11 (C-2 / C-3 / C-4) for the deprecated kyt-python. Branched from main (fb635b0).

CI cannot run. GitHub Actions has failed at startup across the org since about 2026-11-15, so every result below comes from a local run.

Finding → commit → test

Finding Commit Test Before → after
C-4: intel.lookup() / intel.recent_screenings() called /api/v1/lookup/{address} and /api/v1/recent-screenings, both of which 404 (and a 404 reads as "clean"). C-2 / C-3: key docs. Plus a deprecation notice 1d7e030 tests/test_audit_routes_docs.py (4), the repo's first tests 4 fail on main → 4 pass

Full suite: main had no tests → this branch 4 pass, 0 fail.

  • Routes: now /api/v1/intel/lookup/{address} and /api/v1/intel/recent-screenings. I checked them against clearauthority-kyt app/api/v1/intel.py:15 (prefix="/intel"), :60 and :101, and main.py:160 (mounted under /api/v1).

Copy changes

File Before After
README.md top "# infinihash-kyt (Python)" "# infinihash-kyt (Python) — DEPRECATED, use Infinihash/infinihash-kyt", followed by: "This repository is deprecated. The maintained Python SDK is Infinihash/infinihash-kyt. Both repositories claim the PyPI name infinihash-kyt; publish only from Infinihash/infinihash-kyt, never from this repository. This copy is kept for history."
client.py:32 …/kyt/admin… …/kyt/settings/api-keys…
client.py, __init__.py, README.md ih_kyt_... kyt_...
client.py Webhooks docstring "real-time push notifications" "push notifications"
README.md (new section) — "## API keys — Create a key at https://kyt.infinihash.com/kyt/settings/api-keys. Keys start with kyt_."

Not done

  • Do not publish from this repo. Jason: archive it (gh repo archive Infinihash/kyt-python) once infinihash-kyt 0.2.2 is on PyPI.

🤖 Generated with Claude Code

- intel.lookup() / intel.recent_screenings() called /api/v1/lookup/{address}
  and /api/v1/recent-screenings (both 404, read as 'clean'). Now
  /api/v1/intel/lookup/{address} and /api/v1/intel/recent-screenings,
  verified against clearauthority-kyt app/api/v1/intel.py:15,60,101.
- Key docs: /kyt/admin -> /kyt/settings/api-keys; ih_kyt_ -> kyt_.
- README: deprecation notice pointing at Infinihash/infinihash-kyt (both
  repos claim the PyPI name infinihash-kyt).
- tests/test_audit_routes_docs.py (first tests in this repo).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@TheDude4224
TheDude4224 marked this pull request as ready for review November 27, 2026 17:49
@TheDude4224
TheDude4224 merged commit a83c6be into main Nov 27, 2026
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant