MAL-2026-4744
Vulnerability from ossf_malicious_packages
Published
2026-05-25 15:29
Modified
2026-05-26 05:55
Summary
Malicious code in cch-agent (PyPI)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (5cfe9b8e5b4fc182dbef3ccc501998bbc412673e03db0c4cca6d251ea3c689af)

simple_agent/cli.py defines an undocumented command literal 'NZXNB' that, when entered at the chat prompt, invokes chat_flow(quick_mode=True). In quick mode the user's saved configuration is bypassed and an embedded _QUICK_CONFIG is used instead: api_url="http://api.polingkey.com:8000/v1/chat/completions", api_key="1", model="GLM-5". Any prompt the user types after triggering this hidden command is POSTed in cleartext to api.polingkey.com:8000, an author-controlled host not mentioned in the README, which only advertises deploy/chat/exit. Users who trigger the command (knowingly or by accident) silently leak their chat content — including any sensitive context they paste — to the package author over an unencrypted channel. The hidden trigger string and the divergence from the documented configurable-endpoint behavior rule out a benign feature flag.

CWE
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.
Credits
Amazon Inspector actran@amazon.com

{
  "affected": [
    {
      "database_specific": {
        "cwes": [
          {
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature.",
            "name": "Embedded Malicious Code"
          },
          {
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature.",
            "name": "Embedded Malicious Code"
          }
        ],
        "indicators": {
          "evidence_files": [
            {
              "path": "simple_agent/cli.py",
              "sha256": "bc6eb482047bbbc7dc588f796a66988ab2a097ffa96a39c0d8a08e87491af728",
              "tlsh": "e3a1231adc7c5ca7839b482dedcb900192562da706983934f9eca18c1fd84b696f1e7c"
            }
          ],
          "package_integrity": [
            {
              "filename": "cch_agent-0.1.2-py3-none-any.whl",
              "hashes": {
                "blake2b_256": "f97bd3825a9a2cde2f88f36b2e2739bb5cb50d97584b06e17878051adf43e888",
                "md5": "d996426a864563ed534a23bb5d3f9258",
                "sha256": "5e1fe15a0cda2a91fe352d9d54217f5ba37f326a792a216ba2272faeeed511b0"
              }
            },
            {
              "filename": "cch_agent-0.1.2.tar.gz",
              "hashes": {
                "blake2b_256": "fbf0a8edaecf25a8f3d0c3e93ab464314930b51d6dc7cd2b8764615d4acf1898",
                "md5": "6d76c323ca06293935890917c6013401",
                "sha256": "d0fd989535c2d418c144b5327b89ecc0a3005a94904d0e537360811d33b3ad01"
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "PyPI",
        "name": "cch-agent"
      },
      "versions": [
        "0.1.2",
        "0.1.1"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "actran@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "IN-MAL-2026-004704",
        "import_time": "2026-05-26T05:53:07.187953571Z",
        "modified_time": "2026-05-25T15:29:47Z",
        "sha256": "169b0b2a31d084fc129fd76bb37e548df5f8f789fbebc3b7161434aaf671ca39",
        "source": "amazon-inspector",
        "versions": [
          "0.1.2"
        ]
      },
      {
        "id": "IN-MAL-2026-004703",
        "import_time": "2026-05-26T05:53:07.094817193Z",
        "modified_time": "2026-05-25T15:29:44Z",
        "sha256": "5cfe9b8e5b4fc182dbef3ccc501998bbc412673e03db0c4cca6d251ea3c689af",
        "source": "amazon-inspector",
        "versions": [
          "0.1.1"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (5cfe9b8e5b4fc182dbef3ccc501998bbc412673e03db0c4cca6d251ea3c689af)\nsimple_agent/cli.py defines an undocumented command literal \u0027NZXNB\u0027 that, when entered at the chat prompt, invokes chat_flow(quick_mode=True). In quick mode the user\u0027s saved configuration is bypassed and an embedded _QUICK_CONFIG is used instead: api_url=\"http://api.polingkey.com:8000/v1/chat/completions\", api_key=\"1\", model=\"GLM-5\". Any prompt the user types after triggering this hidden command is POSTed in cleartext to api.polingkey.com:8000, an author-controlled host not mentioned in the README, which only advertises deploy/chat/exit. Users who trigger the command (knowingly or by accident) silently leak their chat content \u2014 including any sensitive context they paste \u2014 to the package author over an unencrypted channel. The hidden trigger string and the divergence from the documented configurable-endpoint behavior rule out a benign feature flag.\n",
  "id": "MAL-2026-4744",
  "modified": "2026-05-26T05:55:05Z",
  "published": "2026-05-25T15:29:44Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://pypi.org/project/cch-agent/0.1.2/"
    },
    {
      "type": "PACKAGE",
      "url": "https://pypi.org/project/cch-agent/0.1.1/"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in cch-agent (PyPI)"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…