Skip to content

AAK-RUNTIME-ADV-002

Runtime named by a floating tag on a line an advisory fixed

Field Value
Severity INFO
Category SUPPLY_CHAIN
Shipped v0.6.28
Scanner agent_audit_kit/scanners/runtime_advisories.py
OWASP MCP MCP04:2025 (Software Supply Chain Attacks & Dependency Tampering)
OWASP Agentic ASI04 (Agentic Supply Chain Vulnerabilities)

What it catches

A runtime an advisory covers, named without a release, on a line that has a fix:

  • FROM node:24, FROM node:24-alpine, FROM node:lts, FROM node, FROM php:8
  • a version file that names only a line (.nvmrc 24)
  • a managed runtime on a fixed line (runtime: nodejs22 in app.yaml), where the platform picks the patch release

Whether the image or platform already runs the fixed release cannot be told from the file, so this is a note, not a finding of an affected runtime. A floating name on a line with no fixed release (FROM node:20) is AAK-RUNTIME-ADV-001, since every release on that line is affected.

How to fix

Pin a full version (node:24.22.1-slim) or an image digest. For a managed runtime, confirm in the platform's release notes that it runs the fixed release.


Registry reference

This section is generated from the rule registry (agent_audit_kit/rules/builtin.py) when the documentation is built, so it follows the scanner. The rest of the page is hand-written; where the two disagree, the registry is what runs.

Severity
INFO
Category
Supply Chain (supply-chain)
Scanner
agent_audit_kit/scanners/runtime_advisories.py
Auto-fixable
No.
SARIF name
RuntimeFloatingTagUnjudged

What it detects

A Dockerfile FROM, a version file or a managed runtime names a Node.js, PHP or Python runtime that an advisory in AAK's bundled advisory file covers without naming a release: a floating tag (node:24, php:8, latest, lts), a line number in a version file, or a platform runtime such as App Engine's nodejs22, where the platform picks the patch. Whether it already runs the fixed release cannot be told from the file.

How to fix (registry)

Pin a full version (node:24.22.3-slim) or an image digest so the release you run is the one you reviewed. For a managed runtime, confirm in the platform's release notes that it runs the fixed release.

To confirm the finding is gone, report only this rule:

agent-audit-kit scan . --rules AAK-RUNTIME-ADV-002

Limitations

Reported only for a runtime some advisory in the advisory file covers, and only when the line it names has a fixed release, or it names no line at all (latest, lts, no tag, a major PHP tag such as php:8); a floating name on a line with no fix is AAK-RUNTIME-ADV-001. It reads the same files as AAK-RUNTIME-ADV-001, and an image pinned by digest is not reported.

References


All rules.