Supply Chain Attack finds the risks attackers use to get into your organization through your devices:
Exposed credentials: API keys, tokens, and private keys left in files, such as an AWS key in a
.envfileMalicious packages: installed packages, such as npm or PyPI packages, that threat feeds list as malicious
Vulnerable packages: installed packages with known vulnerabilities (CVEs)
It's in Security > Supply Chain Attack, and is in Beta.
How it works
You assign a Supply Chain Scanner policy to your devices. There's one for each platform.
The Swif agent installs swif-scan, Swif's scanner, on each device. swif-scan scans the device regularly, in the background, and limits its own CPU use.
Each device sends a report of everything it currently finds.
You review the results in Security > Supply Chain Attack.
The full credential is never sent to Swif. swif-scan reports the type of key, where it was found, and at most its first 8 characters, never the whole key.
Platform | Policy |
Mac | |
Windows | |
Linux |
Set it up
Go to Security > Supply Chain Attack.
Click Configure Policies.
In Configure Supply Chain Scanner Policies, click Configure Policy for each platform you use. Swif opens a new policy for that platform, already chosen.
Review the settings, save the policy, and assign it to your devices. See each policy's article for its settings.
Platforms you've set up show Configured, with Edit Policy.
Reminders on the page
The page shows | Meaning |
Supply Chain Scanner Policy Not Configured | You don't have a scanner policy for any platform yet |
Supply Chain Scanner Is Partially Configured | You have a policy for some platforms, but not all. Click X to hide it, if you don't need the others. |
Devices
The Devices tab lists every device the scanner covers.
Summary
Card | Shows |
Devices reporting | Devices that have sent a report, out of all devices with a scanner policy, such as 3 of 5 |
Valid credentials | Credentials that still work, across all devices, confirmed with the key's provider. If credential verification is off in the policy, this shows 0, even if credentials were found. |
Malicious packages | Malicious packages found, each counted once |
Vulnerable packages (CVEs) | Vulnerabilities found, each CVE counted once |
Device statuses
Status | Meaning |
Scanned | The last scan finished |
Partial Scan | The scan ran out of time, set by Longest Scan (hours) in the policy. The next scan continues where it left off. |
Scanned with Issues | Some checks didn't finish, such as a folder that couldn't be read, or advisory data that couldn't be downloaded |
No Report Yet | The device has a scanner policy, but hasn't sent a report yet |
Filter devices by Status and OS, or search by name or serial number.
A device's details
Click a device to see its findings:
Tab | Shows |
Credentials | Each credential found: its type, category, a masked value, the file and line, and whether it still works. Filter by verification, and category. |
Packages | Malicious and vulnerable packages on this device, in separate tables. Click one for its details. |
Scan Coverage | What was checked, and the result of each check: Enabled, Disabled, or Failed. Also shows the last scan's details. Manage Policy opens the device's scanner policy. |
Credential verification results
Result | Meaning |
Valid | The provider confirmed the key still works. Rotate it first. |
Not Verified | The key wasn't checked, for example because verification is off, or the provider is in Providers Not to Ask |
Verification Failed | The provider didn't answer in time, so whether the key works is unknown. It doesn't mean the key is invalid. |
Packages
The Packages tab lists packages found across all your devices, in two sections:
Section | Grouped by | Details include |
Malicious packages | Package. Different versions are grouped together. | The versions, why it was flagged, the advisory, its source, and the devices it's on |
Vulnerable packages | CVE | The CVE and its other IDs, severity and CVSS score, the advisory, and the devices it affects |
Search by package name, or by a device's name, or serial number, to see that device's findings.
Click a device in a package's details to open that device's Packages tab.
What to do with findings
Finding | What to do |
A valid credential | Rotate, or revoke, the key with its provider straight away, then remove it from the file |
A credential that's not verified, or failed verification | Check whether it still works, and rotate it if so |
A malicious package | Remove the package. Upgrading it isn't enough. Then check the device for anything it may have changed. |
A vulnerable package | Upgrade it to a fixed version, starting with critical and high severity |
Credentials are listed for each device. The same key on two devices shows as two findings, since each device creates its own fingerprint for a key.
Fixed findings stop counting after the device's next scan, once swif-scan no longer finds them.
Troubleshooting
A device shows No Report Yet
The device hasn't sent a report yet. Check that it's online, and that the Swif agent is running. The first scan starts soon after the policy reaches the device.
Valid credentials shows 0
No credential was confirmed as working. If credential verification is off in the policy, found credentials show as Not Verified, and aren't counted here. Check the device's Credentials tab.
A device shows Partial Scan
The scan ran out of time. The next scan continues where it left off. If it happens regularly, raise Longest Scan (hours), or CPU Budget (% of one core), in the policy.
A device shows Scanned with Issues
Open its Scan Coverage tab, to see which check failed. For package checks, make sure the device can download advisory data. See the policy's Network requirements.
Related resources

