When something breaks
Malicious packages
Packages can turn bad overnight. Kiyesi checks what is installed on your servers, and inside their running containers, against the public list of known malicious packages, and tells you at once.
What is checked
Section titled “What is checked”Agent 0.47.0 and later reads the packages installed for eight languages, read-only, on the server and in each running container:
| Language | Read from |
|---|---|
| npm | package-lock.json, yarn.lock, pnpm-lock.yaml, and node_modules without a lockfile |
| Python | poetry.lock, uv.lock, Pipfile.lock, and installed packages in site-packages |
| Go | go.sum |
| Java | gradle.lockfile |
| Ruby | Gemfile.lock, and installed gems |
| Rust | Cargo.lock |
| .NET | packages.lock.json, and a published app’s *.deps.json |
| PHP | composer.lock, and vendor/composer/installed.json |
It looks where applications usually live (/srv, /var/www, /opt, /home, /app and the like), up to 15,000 packages and 20 seconds each time, skipping lockfiles over 8 MB. It first reads them ten minutes after the agent starts, so its reports always come first, then every six hours. Nothing on the server is changed.
Each package is matched by its language, its name as that registry compares names, and its exact version. A report that covers every version of a package is matched by name, and the alert says so. The same name in another language is never matched.
The alert
Section titled “The alert”A match is a critical alert, on every plan, through your channels:
- What: the package and version, such as
colors-tools-js@2.4.1 (npm). - Where: the file or folder it was found in, and the container.
- Why: the OpenSSF report that names it.
- The fix: remove it from the project and its lockfile, reinstall from a clean lockfile, rebuild any image that holds it, then change the secrets that server holds, as the package may have read them.
The alert closes by itself when the package is gone from the server, or when its report is withdrawn.
Where the list comes from
Section titled “Where the list comes from”OpenSSF’s malicious packages, a public list under the Apache-2.0 licence. Kiyesi reads it once, then only what changed, every hour, so a package reported this morning is caught today, with no agent update. If the list cannot be reached, servers are still checked against the last copy.
Kiyesi finds known malicious packages. It cannot promise to find every piece of malware: a package nobody has reported yet is not on the list. What a package does once it runs, such as a program started from a temporary folder or a new startup entry, is still caught: see what Kiyesi detects, and what it does not.