How can I shield myself best against accidentally submitting a malicious version of this third binary via notarytool to Apple?
Is this a trick question?
Only submit code that you have written yourself and that you're 100% sure isn't malware. Note that this also includes code written by an AI.
Should I separately submit versions of this binary for notarization from submitting new versions of my app? This binary is bound to change way less frequently than the app I'm actually developing.
I don't understand this question.
But it's a moot point. While Apple doesn't publish the internal mechanism behind notarization, it should be easy enough to guess. It does a basic malware check against known signatures. It also records the submission for malware that might not be discovered until later.
Anything you submit, regardless of provenance, goes against your account.
I really don't want to risk termination of my Apple Developer account because it has many high-value applications available.
So what's the value of these open-source packages to you then?
You haven't specified what these packages actually do, which is a really important point. In many cases, the risk of supply-chain malware from an open source project is very low. If you're a heavy AI user, the risk from 3rd party code might even be less than the risk from your own, AI-generated code.
But in certain domains, the risk of malware is very, very high.
Which domain are you working in? I don't know.
I would love to hear if there's other steps I can do to protect this pipeline and my company from accidents like these that may unintentionally damage our reputation.
Nothing new here. It's always a risk/value trade off, eh? It's a little bit different in software development just because standard industry practices are typically the most risky ones imaginable. If everyone else is doing it, it must be correct, amiright?
Topic:
Code Signing
SubTopic:
Notarization
Tags: