Habr•August 19, 2026•🇷🇺Translated from Russian

PyPI Explores Prefix Reservation for Organizations Under PEP 752 to Prevent Name Squatting

PyPI is considering a mechanism to reserve package name prefixes for organizations following the adoption of PEP 752 in June 2026. The proposal aims to link recognizable prefixes such as google-cloud-, opentelemetry-, and apache-airflow-providers- to verified owners, reducing the risk of name squatting and dependency confusion attacks.

Currently, PyPI treats all package names as independent entries in a flat namespace. Organizations like yandex-bot and seznam-bot have published hundreds of placeholder packages to protect prefixes, yet any user can still register new names that begin with familiar strings. PEP 752 introduces implicit namespaces so that control over a prefix automatically covers future packages matching the normalized name pattern.

Normalization rules mean that google.cloud.storage would fall under a reserved google-cloud- prefix, while google-cloudstorage would not. Projects matching an existing prefix but published by unauthorized accounts would receive a 409 Conflict error on upload. Existing packages retain the ability to publish new versions under grandfathering rules.

Data from CodeScoring covering more than 800,000 active projects reveals that no examined prefix belongs to a single owner. The aws- prefix is controlled by 743 accounts, google- by 484, and types- by 68. Even within narrower prefixes such as datasette-, multiple independent maintainers publish plugins.

The upcoming PEP 755 will define the application process. Only organization accounts may apply, prefixes must exceed three characters and already be in use by the applicant, and overly generic terms will be rejected. Large open-source projects, universities, and government entities may receive fee waivers, while paid organizations could receive faster review.

Unlike npm scoped packages, the Python approach keeps the flat namespace intact to avoid breaking existing tooling and dependency files. New metadata will allow clients and corporate proxies to enforce prefix ownership policies once support is added.

Related articles

Habr•Supply Chain & Open Source

Polymarket Suffers Supply Chain Attack via Compromised DebugBear Monitoring Script

Attackers compromised DNS records of DebugBear, a real user monitoring provider, to inject malicious JavaScript into Polymarket pages. The script extracted wallet data and trading credentials from browser storage, then used the platform's official relayer to execute unauthorized withdrawals totaling approximately $2.7 million across 737 wallets. No smart contract vulnerabilities were exploited; all 985 unauthorized transactions carried valid user signatures. The incident occurred on October 29 and was resolved within an hour after trading was halted, with Polymarket returning $3.9 million including compensation. This attack class matches the 2023 Ledger Connect Kit compromise, highlighting risks from third-party scripts in browser sessions. Polymarket has since committed to stricter CSP policies, script pinning, and sandboxing. The case underscores that browser-based sessions with full API privileges remain a critical trust boundary in crypto platforms.

Habr•Supply Chain & Open Source

Approved Stamp: How Container Images Pass Rigorous Security Checks Before Reaching Production

DevSecOps engineer Vitaly Matveev from ecom.tech describes a comprehensive lifecycle process for securing Docker images from build to deployment. The approach combines base image validation through a centralized manifest, Dockerfile checks via Infra Gate, Security Quality Gate results stored as attestations in Harbor, and cryptographic signing only after all checks pass. Kyverno policies in production Kubernetes clusters enforce signature verification and block unsigned or unapproved images. Daily automated scans of base images using EPSS scoring detect new vulnerabilities and notify responsible platform teams. The system ensures traceability from pipeline ID to running pod while maintaining a developer-centric workflow with clear remediation guidance.

Habr•Supply Chain & Open Source

Passwordless Kubernetes Image Pulling with Artifact Keeper via ServiceAccount Tokens

Kubernetes 1.34 and later enables kubelet to forward a pod's ServiceAccount token to an external image credential provider plugin, allowing the plugin to exchange it for short-lived read-only credentials from a compatible registry. Artifact Keeper, an open-source Rust-based OCI and package registry, implements an OIDC provider that validates these tokens and issues temporary credentials without requiring imagePullSecrets in manifests. The approach follows zero-trust principles by eliminating long-lived secrets that can leak across namespaces or clusters. A custom credential provider binary handles the token exchange, enforces audience restrictions, and redacts sensitive data from logs. The solution requires specific ClusterRole permissions for nodes, kubelet flags, and registry-side OIDC mappings that bind Kubernetes namespaces to read-only groups. Testing on kind 1.34.3 confirmed successful pulls for authorized ServiceAccounts and clear 401 errors for unauthorized ones when imagePullPolicy is set to Always.

Security NEXT•Supply Chain & Open Source

Malicious Code Injected into LiteLLM Open Source AI Package via Supply Chain Attack

The open-source generative AI tool LiteLLM had malicious code inserted into its official distribution packages, enabling credential theft and remote code execution. The compromise affected version 1.107.0 released on October 21, 2026, and was delivered through legitimate channels in a classic software supply chain attack. Seven malicious wheel files were uploaded to PyPI, while official container images on Docker Hub and GitHub Container Registry were also tainted. Security firm JFrog discovered that the malware steals a wide range of secrets including cloud credentials, SSH private keys, browser-stored passwords, development tokens, and AI service API keys from LiteLLM's database. The code also supports execution of externally fetched payloads and abuses Python's startup mechanisms to run even when the application itself is not loaded. This marks the second supply chain incident involving the project in 2026, following a separate event in March.