SpitfireLoad Testing & APMWhat's new

Vulnerabilities & misconfiguration

APM → Signals → Vulnerabilities & misconfiguration shows the known vulnerabilities of the components detected in your services and containers, the TLS certificates Spitfire sees, the listening ports the Agent reads, and the security misconfiguration issues in the responses your load tests received from their targets.

Note

This is not a penetration test. Spitfire only reads data it already sees: the versions in telemetry, the files the Agent reads read-only on its host, and the responses of Spitfire's own connections (load tests, monitors, Sweeper). No extra requests, payloads, fuzzing or port scans are sent to any target. The list is a starting point, not a complete security assessment.

Detected components

Spitfire reads components from two sources:

  • the resource attributes services send over OTLP: runtime name and version (process.runtime.*), the OpenTelemetry SDK (telemetry.sdk.*), container image name and tag (container.image.*), operating system (os.*);
  • the Agent's host info and the running containers' OS packages (see Container packages).

The Detected components tab lists each component with its version, kind, the services and hosts it was seen on, and where the version was read from (the attribute name). A detection is only as good as that source: when an image tag is latest the version is unknown and the component is not checked; the row says why. The containers' OS packages are listed with the OS package kind once the Agent reads them; packages of hosts and containers without the Agent are not checked.

The component list is refreshed every 6 hours (the first time a few minutes after start) from the last 6 hours of telemetry. A version not seen for 72 hours becomes No longer seen.

Vulnerabilities

Versions are matched against the OSV database; NVD can be asked too. Each row has the vulnerability's id (CVE or OSV id), severity, CVSS score, the version it was fixed in, the component and its version source, services, hosts and when it was first seen. Clicking the id opens the record's own page.

The list starts with the highest exposure: next to severity and CVSS, it weighs the service's traffic over the last hour (req/min) and its tier in the service catalog. The Status, Severity, Service, Image, Host and Kind filters and the Only with a fix box stay in the address; the vulnerability button on a service's page opens the list filtered to that service.

Statuses

Status Meaning
Open The version is still seen and the record affects it.
Accepted A user accepted it with a note (e.g. the affected feature is not used). The note and who accepted it show on the row.
Fixed The affected version is no longer seen; the finding closes on its own. If the version comes back, the finding reopens.

To accept:

  1. Choose Open in the Status filter.
  2. Press Accept on the row.
  3. Write the reason and press Accept and save. Check: the row shows under the Accepted filter with its note.

Reopen undoes an accepted finding. Changing the status needs edit access in APM.

After upgrading

Under a fixed finding, Check capacity of the new version opens the service's page: its version comparison shows there and Test starts a load test. Then, on the Runs page, select the new run with the previous one and compare them.

Online lookup and settings

The installation admin, in the Vulnerability source card under System settings → Security (the Vulnerability source settings button on this page takes you there):

  • Online lookup (OSV): when on, only component names and versions are sent to api.osv.dev; no service, host or customer data. Records are cached and the same record is not downloaded again.
  • Also ask NVD: for server software OSV does not match directly; once a week, with a limited number of requests. Optionally enter an NVD API key; it is stored encrypted.
  • Check now: runs the next check without waiting.

To turn the online lookup off for the whole installation, start the controller with this environment variable:

bash
SPITFIRE_VULN_FEED=off

Importing an offline dump

On an installation without internet access, download the OSV dump on another machine and upload it to Spitfire. The ecosystems Spitfire matches: Go, Bitnami, Maven, PyPI, npm, NuGet, RubyGems, Packagist, crates.io. Upload each ecosystem separately; a file may be up to 2 GB.

  1. On a machine with internet access, download the dumps:
bash
mkdir -p "$HOME/osv-dump" && cd "$HOME/osv-dump" && curl -fLO https://osv-vulnerabilities.storage.googleapis.com/Go/all.zip && mv all.zip Go-all.zip && curl -fLO https://osv-vulnerabilities.storage.googleapis.com/Bitnami/all.zip && mv all.zip Bitnami-all.zip
  1. Move the files to a machine that can reach Spitfire (e.g. into the $HOME/osv-dump folder).
  2. Create an API token with an installation admin account and set the address and the token:
bash
export SPITFIRE_URL="https://spitfire.example.local" SPITFIRE_TOKEN="sf_..."
  1. Upload each file:
bash
for f in "$HOME"/osv-dump/*-all.zip; do curl -fsS -X POST -H "Authorization: Bearer $SPITFIRE_TOKEN" -H "Content-Type: application/zip" --data-binary @"$f" "$SPITFIRE_URL/api/v1/apm/security/import"; echo; done

Check: each upload returns kept (records taken) and files (records read); the cache count on the page goes up and matching starts right away. In the UI you can also pick a single file under Import an offline dump in the Vulnerability source card.

Refreshing the dumps once a month is a good habit; a new file overwrites the old records.

Container packages

On a Linux server with the Agent installed, the Agent reads the package databases in the running containers' image files: dpkg on Debian/Ubuntu, apk on Alpine, rpm on the RHEL family (the SQLite format, RHEL/CentOS 8 and later) and os-release. The read is read-only: the Agent does not enter a container or run docker exec or any other command. Each image (digest) is read once; the results are sent in batches in the background and dropped, never written to disk, when the controller cannot be reached.

Packages are matched with the distribution's OSV records (e.g. Debian:12, Alpine:v3.20, Red Hat) and the findings show on the Vulnerabilities tab with the OS package kind. The Vulnerabilities button on an image's row opens the list filtered to that image.

The Container packages tab shows each image's operating system, package count and the services and hosts it runs on. A runtime that cannot be read is skipped, with the reason in the Container runtimes card at the top of the tab. A common reason:

  • No permission to read: the Agent needs to run as root (a systemd service on Linux) to read the container runtime's files (/var/lib/docker).
  • The image has no os-release: distroless and scratch images have no OS packages.

On Kubernetes the same read runs on every node in the host Collector DaemonSet's inventory container, through read-only hostPath mounts. That container runs as root with only the DAC_READ_SEARCH capability. To turn it off in the Helm chart:

bash
helm upgrade spitfire spitfire/spitfire --reuse-values --set collector.inventory.enabled=false

To turn package reading off for the whole installation, the installation admin switches off Read the containers' OS packages (Agent) in the Vulnerability source card. It is on by default.

Agent data (containers, ports and OS package findings) shows in the default workspace.

Certificates

The Certificates tab lists the TLS certificates Spitfire has already seen: host:port, CN and SANs, issuer, expiry date, days left, last seen and source. The sources:

Source When it is seen
Load test When a run's HTTPS requests connect to a target.
Monitor When a TLS or HTTP monitor runs.
Sweeper When a scan opens an HTTPS page.
Traefik, DataPower When these sources' certificate metrics arrive.
Agent When a listening TLS port the Agent reads matches a certificate.

Nothing connects to a host to collect certificates. When a TLS port the Agent sees has no certificate seen yet, its row is dimmed; add a monitor for that address to have its certificate read.

An event opens 30, 14, 7 and 1 days before expiry (30 and 14 days warning, 7 days major, 1 day and expired critical). The events show on the Events page with the Certificate expiry source and are routed by your event policies. Once the certificate is renewed, the event closes on its own. A certificate not seen for the last 14 days opens no new event.

Findings read from the certificate itself:

Finding Meaning
Weak signature Signed with SHA-1 or MD5.
Short key An RSA key shorter than 2048 bits.
Chain may be missing The server sends only its own certificate; the intermediate is missing. This is an estimate.
Self-signed Informational; can be usual for internal services.

Listening ports

The Listening ports tab shows the listening TCP and UDP ports the Agent read on its host and the processes holding them. On Linux /proc/net/tcp, tcp6, udp and udp6 are read, on Windows the operating system's connection table; macOS is not read. No port scan runs.

A database, cache, queue or admin port (e.g. PostgreSQL 5432, Redis 6379, Elasticsearch 9200) listening on every interface (0.0.0.0 or ::) is marked may be exposed. This is not a verdict: the firewall and network in front of the host decide whether the port is reachable from outside. If it need not be, bind the service to 127.0.0.1 or an internal address, or restrict it in the firewall.

Misconfiguration

Misconfiguration (security misconfiguration, OWASP Top 10) means security settings that are missing or wrong: missing security headers, cookies without Secure/HttpOnly, old TLS, 5xx responses leaking internal error detail under load, no rate limit (429). These are configuration issues, not flaws of a software version (vulnerabilities/CVEs).

The Misconfiguration tab shows, for each target host, what the latest run of the last 30 days found in its responses; the run's page also has a Hygiene card. This tab works without APM storage too.

For each HTTP step Spitfire keeps one response's headers, cookie flags and TLS info, and counts how often the step returned 429 and 5xx; it looks at the bodies of 5xx error samples. What is checked:

Topic When it is a finding
HSTS An HTTPS response has no Strict-Transport-Security.
CSP and framing An HTML response has no Content-Security-Policy or X-Frame-Options/frame-ancestors.
nosniff No X-Content-Type-Options: nosniff.
Version disclosure Headers such as Server or X-Powered-By carry a software version.
CORS Access-Control-Allow-Origin: * together with Access-Control-Allow-Credentials: true.
Cookies Secure, HttpOnly or SameSite missing.
TLS TLS 1.0/1.1, a weak cipher, an expired certificate or one expiring within 30 days.
Plain HTTP A sign-in, session or API path served without HTTPS.
429 under load A sensitive path received many requests under load and never returned 429.
5xx leaks A stack trace, SQL error or internal IP/host name in an error response.

Each finding, when opened, shows the paths it was seen on, a sample where there is one, and what can be done. To turn this recording off for a test, set Misconfiguration check to Off in the test editor's options (in the test definition: options.hygiene: "off").