# PyPI's new security indicators and unequal access to Trusted Publishing

**URL:** <https://discuss.python.org/t/pypis-new-security-indicators-and-unequal-access-to-trusted-publishing/109930>\
**Category:** Packaging\
**Created:** [November 7, 2026, 7:47pm UTC](https://discuss.python.org/t/pypis-new-security-indicators-and-unequal-access-to-trusted-publishing/109930 "2026-11-07T19:47:31Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![woodruffw](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/woodruffw/32/37228_2.png) [@woodruffw](https://discuss.python.org/u/woodruffw)\
**Post date:** [November 7, 2026, 9:08pm UTC](https://discuss.python.org/t/pypis-new-security-indicators-and-unequal-access-to-trusted-publishing/109930/5 "2026-11-07T21:08:02Z")

</div>

> [@pf\_moore](#):
>
> I’d assume that getting such a change would need explicit action on the part of the project, to ensure an attacker couldn’t also remove the flag, but I’d hope it’s possible so that projects don’t get marked negatively forever after a legitimate change.

I just checked, and I believe the way the current implementation works is that it clears the “lost provenance” flag once 14 days after the last attested release has passed. ([Source](https://github.com/pypi/warehouse/blob/a7d67c06417ffeb18d6cb79b8c5caf9c69896b99/warehouse/packaging/models.py#L101-L102))

I didn’t work on this so I can’t infer the intent with that, but it seems likely that the idea was to balance interests: after 14 days without the package being deleted or otherwise quarantined, it’s likely that the change in attestation status was intentional. And subsequent releases will also not be marked as having changed, they’ll go back to the “neutral” state.

---

_[View the full topic](https://discuss.python.org/t/pypis-new-security-indicators-and-unequal-access-to-trusted-publishing/109930)._
