More Open Source Security episodes

Packagist and Composer security with Jordi Boggiano thumbnail

Packagist and Composer security with Jordi Boggiano

Published 22 Jun 2026

Duration: 34:48

Strategies for securing open-source ecosystems include malware detection via third-party feeds, transparency logs, rapid incident response, blocking malicious downloads, private registry controls, immutable package releases, standardized workflows, MFA enforcement, and technical proposals like artifact validation and build attestation, while addressing challenges like maintainer hacking, AI risks, usability trade-offs, and the need for ecosystem-wide alignment and human verification.

Episode Description

Josh welcomes Jordi Boggiano the lead maintainer of Composer and Packagist to explain the truckload of security features they've recently added. Packa...

Overview

The podcast discusses enhancing open-source security through malware detection in Composer, integrating third-party feeds to block malicious packages during installation and updates, alongside public transparency logs to document security actions. Rapid incident response mechanisms include evaluating flagged packages, removing confirmed threats, and balancing the need for quick action with the risk of overblocking. Security features prioritize blocking malware in both public and private registries, though users retain the ability to override warnings. Challenges highlighted include malware injection via compromised maintainers, the spread of self-replicating malware in ecosystems like npm, and the difficulty of intervening post-publication. Strategies emphasize collaborative, real-time communication with maintainers, standardized response playbooks, and the limitations of current workarounds like content deletion.

Technical solutions address version control and policy enforcement, such as private registries allowing version restrictions and immutable releases to prevent overwriting package versions. However, challenges remain in ensuring developers use updated tools and balancing rigid policies with usability in public registries, where strict enforcement risks disrupting critical services. The discussion also explores risks tied to automation, like LLMs bypassing security warnings, and the need for registry-level enforcement to prevent client-side overrides. Proposals include transparency logs with public APIs, build attestation systems for provenance verification, and centralized build processes to reduce opaque vulnerabilities. Lessons from ecosystems like Linux and F-Droid suggest controlled, secure environments as a trend, though implementation complexity varies by programming language.

Future improvements focus on organization-level ownership of large packages, mandatory MFA for popular packages, and staged release processes requiring second-factor authentication to mitigate risks. Systemic security efforts stress long-term fixes like immutable tags and MFA enforcement, acknowledging the necessity of breaking changes to address systemic risks. Challenges include migrating existing packages to new systems and interdependencies between features like secure hosting and broader security enhancements. Overall, the conversation underscores the complexity of securing package ecosystems while maintaining usability, emphasizing collaboration, transparency, and evolving standards to counteract rising threats.

What If

  • What if you implemented a real-time malware feed integration into your Composer workflow for automatic package blocking?

    • Move: Integrate a third-party "keto" malware feed into Composer to automatically block known malicious packages during installation or updates.
    • Why Now?: Malware is increasingly injected through compromised maintainers, and rapid blocking is critical to prevent ecosystem-wide damage.
    • Expected Upside: Reduces risk of self-replicating malware infections and provides immediate security for users relying on public registries like Packages.org.
  • What if you automated a scripted evaluation of flagged packages to prioritize incident response?

    • Move: Develop a lightweight script to analyze flagged packages from the malware feed, flagging true positives for manual review while automatically removing non-threatening packages.
    • Why Now?: Current workarounds (e.g., manual deletion) are slow and error-prone, and the rise of LLMs creating new attack vectors necessitates faster action.
    • Expected Upside: Speeds up the response to malicious updates, reducing the window for malware spread and minimizing disruptions from false positives.
  • What if you built a public API for your registrys transparency log to enable automated anomaly detection?

    • Move: Extend the existing public transparency log (e.g., for MFA usage, version changes) with a RESTful API for external tools to query and analyze data.
    • Why Now?: Public registries lack accessible logs, and automated systems (e.g., audit tools, CI pipelines) require real-time access to detect vulnerabilities like unauthorized republishing.
    • Expected Upside: Empowers developers to proactively monitor registry activity, identify suspicious patterns, and enforce immutability policies through programmatic checks.

Takeaway

  • Implement a third-party malware feed integration (like "keto") into your package manager (e.g., Composer) to block known malicious packages during installation or updates, leveraging existing tools to enhance security.
  • Adopt private registries (e.g., privatepackagist.com) for business-critical projects to enable server-side malware blocking and restrict access to vetted package versions, reducing exposure to public registry risks.
  • Establish a rapid incident response protocol for evaluating flagged packages, including clear workflows for triaging true positives, removing confirmed malicious packages, and documenting decisions in a public transparency log.
  • Enforce immutable package releases to prevent overwriting or deletion of published versions, reducing the risk of republishing old malicious tags and ensuring version history integrity.
  • Develop and document standardized security playbooks for incident response, including collaboration channels (e.g., Slack) with maintainers, MFA enforcement for critical actions, and staged release processes requiring multi-factor authentication.

Recent Episodes of Open Source Security

15 Jun 2026 Sustaining Open VSX with Mike and Thabang

Eclipse Foundation's OpenVSX, a VS Code extension repository, surged to 600M monthly downloads, evolved to a commercial model with enterprise SLAs and security teams, while addressing scalability, open-source balance, and funding challenges for AI expansion.

8 Jun 2026 Hacking your CI/CD with Francois Proulx

Critical vulnerabilities in open source CI/CD pipelines, including hijacking and supply chain attacks via social engineering or compromised builds, are highlighted through incidents like TJ Actions and Ultralytics, with mitigation strategies emphasizing secure credentials, externalized workflows, threat modeling, and tools like *Smoked Meat* and *Bagel* to enhance incident response and supply chain security.

1 Jun 2026 Open source verification with Sal Kimmich

Cybersecurity challenges include complex application ecosystems, overlooked kernel vulnerabilities, supply chain risks, and systemic risks from under-resourced organizations prioritizing surface-level controls, alongside calls for regulatory reforms, proactive threat modeling, secure development practices, and addressing tribal nations' unique legal and sovereignty concerns.

25 May 2026 Vulnerability disclosure with Casey Ellis

The evolution of vulnerability disclosure highlights challenges in prioritizing critical issues, outdated legal frameworks, and the role of initiatives like Disclosed.io in standardizing policies, alongside AI's impact on detection, open-source risks, triage complexities, and the need for collaboration and transparency to address systemic security barriers.

18 May 2026 F-Driod the open app store with Hans

F-Droid, an open-source Android app store modeled on Linux distributions, emphasizes security and transparency through source-code verification, contrasting with fragmented alternatives and corporate control, while addressing Android's ecosystem challenges and efforts to preserve open-source principles.

More Open Source Security episodes