Skip to content

Security: Enigmacker/lastpatch

SECURITY.md

Security Policy

Reporting a vulnerability

Please do not open a public issue for security problems. Use GitHub's private vulnerability reporting ("Report a vulnerability" in the Security tab of this repository). You will get an acknowledgement within 7 days.

Scope

  • The lastpatch command-line tool, in particular the LAN scanner (src/discover.js), which parses data sent by devices on your network.
  • The build script that ingests raw dataset files.

Design notes

  • The scanner is read-only and needs no admin rights. It connects to TCP ports 80 and 443 across the local subnet (at most a /22, never larger networks), reads the system neighbour table, sends SSDP and mDNS discovery queries, and fetches device description files, admin page titles and login prompts over HTTP(S) only from private (RFC 1918 / link-local) addresses, with size and time limits. It never sends credentials.
  • On the router, the scanner only sends the UPnP query that reads existing port forwards (GetGenericPortMappingEntry). It never adds, changes or removes a port forward.
  • TLS certificate checks are disabled only when reading an admin page title, because home devices use self-signed certificates; no data is sent to those pages.
  • No data leaves your machine. The only outside request is the optional lastpatch update-oui, which downloads the public IEEE MAC registry. The tool has no telemetry.
  • Only scan networks you own or administer.

Wrong dates

An incorrect end-of-support date is a data error, not a vulnerability: open a regular issue with a link to the official manufacturer source.

There aren't any published security advisories