---
title: Introducing developer notifications for snap security updates
description: For some time, we’ve wanted a mechanism to alert snap publishers to security
  updates which affect their snaps. All the pieces have come together and we are now
  sending alerts via email. Stated more precisely, publishers who use ‘stage-packages’
  in their snapcraft.yaml will now be alerted when Ubuntu Security Notices (USNs)
  have been issue […]
url: https://canonical.com/blog/introducing-developer-notifications-for-snap-security-updates
---

1. [Blog](https://canonical.com/blog)
2. Article

---

[Canonical](https://canonical.com/blog/author/canonical "More about Canonical")

2 May 2018

# Introducing developer notifications for snap security updates

[Security](https://canonical.com/blog/tag/security)
[snapcraft](https://canonical.com/blog/tag/snapcraft)
[snapcraft.io](https://canonical.com/blog/tag/snapcraft-io)
[Snaps](https://canonical.com/blog/tag/snaps)
[USN](https://canonical.com/blog/tag/usn)

---

Share the article

For some time, we’ve wanted a mechanism to alert snap publishers to security updates which affect their snaps. All the pieces have come together and we are now sending alerts via email. Stated more precisely, publishers who use ‘stage-packages’ in their snapcraft.yaml will now be alerted when [Ubuntu Security Notices](https://usn.ubuntu.com/) (USNs) have been issued for their staged packages. An example report looks like this:

In this report, multiple revisions are flagged because they are the current revision for the architecture by channel. The reference section aggregates links to the Ubuntu Security Notice website. Vendored code refers to code which is pulled directly from upstream sources, for example, code that is pulled directly from the project’s source code repository (e.g. Github).

As a snap publisher, you can opt-in to receiving these notifications by including a snap/manifest.yaml in your snap. The manifest will be generated for you in the following cases:

* snaps built with SNAPCRAFT\_BUILD\_INFO=1 will have a snap/manifest.yaml inserted into the snap before the ‘snapcraft pack’ step.
* any snaps built on Launchpad will have SNAPCRAFT\_BUILD\_INFO=1 set automatically.

Once a day, the service examines snaps that have manifest.yaml files for their currently published channels/tracks and checks whether USNs have been issued for the versions of the staged packages in the snap. If any snap revisions are affected, the tool will generate a report to send via email. By default, the report will be emailed to the publisher’s registered email address and the uploader’s registered email address. It is important to note that even when a snap includes a staged package containing a vulnerability, it does not mean that the snap is necessarily affected by the vulnerability. The developer will need to have a look at the vulnerability to determine whether and how the snap is affected. This service is therefore a one-time notification service and will not continue to nag the publisher about unfixed vulnerabilities. The service records the emails that have already been sent for USNs by revisions of the snap and will only send an email for a particular report once. The publisher will receive a new report only if something has changed in the report, for example, a new USN affects the snap or a new affected revision of the snap is published.

Since this is a new service, we would love to hear feedback. If you discover any issues or have any requests, please report them in the forum using the ‘store’ tag or at <https://bugs.launchpad.net/review-tools/+filebug>.

[Get in touch

Interested in running Ubuntu in your organization?](https://ubuntu.com/about/contact-us/form)

## Sign up for our newsletter

Get the latest Canonical news and updates in your inbox.

Work email:

\*I agree to receive information about Canonical's
products and services.

In submitting this form, I confirm that I have read and agree to
[Canonical's Privacy Notice](https://canonical.com/legal/data-privacy/contact)
and [Privacy Policy](https://canonical.com/legal/data-privacy).

Sign up

## Share on

---

## Related posts

[### New Edge archive offers opt-in AI-driven security remediation and backports](https://canonical.com/blog/new-edge-archive-offers-opt-in-ai-driven-security-remediation-and-backports)

The open source ecosystem faces an unprecedented wave of vulnerability reports and attacks, driven by AI agents. Our security teams have already shipped double the number of...

[Canonical](https://canonical.com/blog/author/canonical)

12 November 2026

[### How to build, maintain, and secure infrastructure for AI factories](https://canonical.com/blog/how-to-build-maintain-and-secure-infrastructure-for-ai-factories)

Moving AI into production creates a long-term maintenance obligation for the software behind it. GPU infrastructure can remain in service across several generations of models...

[Ijlal Loutfi](https://canonical.com/blog/author/ijlal-loutfi)

2 November 2026

[### Why embargoes matter for open source security](https://canonical.com/blog/why-embargoes-matter-for-open-source-security)

Open source is built on a foundation of transparency, collaboration, and speed. We share code, we share ideas, and together, we build better software. But when it comes to...

[Rajan Patel](https://canonical.com/blog/author/rajanpatel927)

30 October 2026

[### Securing open source software dependencies in the public cloud](https://canonical.com/blog/securing-open-source-software-dependencies-in-the-public-cloud)

Building stable and secure software requires understanding build systems and having a plan for vulnerabilities in your software dependencies.

[Aaron Whitehouse](https://canonical.com/blog/author/aaron-whitehouse)

5 October 2026
