Skip to main content

Security Research -- Dependency Confusion PoC

This package demonstrates a dependency confusion vulnerability in cohere-ai/rcp-ndcg.

The repository's README instructs users to run pip install rcp-ndcg, but the name was not registered on PyPI. This package was published as a non-destructive proof of concept.

This package does not exfiltrate data. It performs a DNS lookup to a researcher-controlled domain (to prove code execution) and prints a warning banner on import. Source code is visible in the sdist.

Contact: https://hackerone.com/ma_mathiasj

Metadata

Release files for rcp-ndcg 9999.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rcp-ndcg 9999.0.0
File Size Uploaded Provenance Actions
rcp_ndcg-9999.0.0.tar.gz 2.1 kB Without provenance Details for rcp_ndcg-9999.0.0.tar.gz

Release files / rcp_ndcg-9999.0.0.tar.gz

Download URL rcp_ndcg-9999.0.0.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7ac297b25def5a2bee7113bdd6eaf99515cb4b1a177ef48c251b5e67fd1010c1
BLAKE2b-256 checksum
How to use checksums
584dcf7dbb238663360b434553bf97d66a355f4cbbd0d4cc2896df22eb7ea3e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for rcp-ndcg 9999.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

9999.0.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page