Skip to content

The woodlark command ​

woodlark is how software goes onto a Woodlark system. It works out the whole apt transaction for what you asked for, dependencies included, checks every package in it against the policy, and installs only if nothing is blocked.

bash
woodlark install nginx        # check, show the report, then install
woodlark info nginx           # the same report; installs nothing
woodlark audit                # check everything already installed
sudo woodlark update          # package lists, security data, upgrades, cleanup (same as renew)
woodlark refresh              # only the security data (a daily timer runs this)
woodlark policy               # the rules in force, and how old the security data is
woodlark remove nginx         # remove packages (never checked)

install, update, refresh and remove need root. Run from a terminal, they ask for your password through sudo themselves.

Reading a report ​

Every package in the transaction gets a line. A mark shows the outcome, and findings are listed under the package they belong to:

◌ woodlark install  ·  security data 3 h old
  ● python3-protobuf 3.21.12-11+deb13u1
  ✕ python3-grpcio 1.51.1-6
      ✕ vulnerabilities CVE-2023-44487 (high 7.5, KEV, EPSS 100%) is exploited in the wild, no fix yet
      ○ vulnerabilities CVE-2023-4785 (high 7.5, EPSS 1%), no fix yet

  1 blocked · 1 warning · 6 packages. Nothing installed.
MarkMeans
●passes every check
○a warning: installed, but worth knowing about
✕blocked: nothing in the transaction is installed

Each finding names its check (vulnerabilities, support or origin). Vulnerabilities show their CVSS severity and score, KEV if CISA lists them as exploited, and their EPSS score, the estimated chance of exploitation in the next 30 days.

The four checks ​

CheckBlocks by defaultData
Known vulnerabilitiesa critical or high flaw that Debian has fixed, when the version being installed lacks the fixDebian Security Tracker, NVD CVSS
Exploited in the wildanything on CISA's Known Exploited Vulnerabilities list, fixed or notCISA KEV, FIRST EPSS
Security supportpackages whose Debian security support has ended (limited support warns)Debian's debian-security-support lists
Originpackages from anywhere but Debian, Debian security, the pinned backports and Woodlark's repository, and local .deb filesapt's own records

Serious flaws with no fix yet are warnings, not blocks: there is nothing newer to install instead. You can make them block through their EPSS score; see Policy.

Plain apt is checked too ​

An apt hook runs the same checks on apt install, apt-get install and anything else that installs through dpkg, so there is no way around them by using another command. When something is blocked there, apt stops with:

woodlark blocked this install; see above, or use: woodlark info <package>
E: Sub-process /usr/lib/woodlark/apt-hook returned an error code (1)

The same goes for install scripts that run apt-get install for you, such as a vendor's curl … | sh. woodlark checks what apt installs, not what such a script does itself before that (adding a key or a repository, for example).

Upgrades are never blocked ​

Holding back a fix is worse than the flaw it fixes, so upgrades always go through, from renew, woodlark update or plain apt. Instead, the report says what each upgrade fixes:

  ○ curl 8.14.1-2 → 8.14.1-2+deb13u5
      ● update          fixes 17 CVEs

When something is blocked ​

  1. Update first. A blocked vulnerability that Debian has already fixed usually means your package lists are old: sudo woodlark update, then try again.
  2. Check what it is. woodlark info <package> shows the full report without installing.
  3. Accept one finding, if you have a reason. An admin can override a single finding. The reason is required, and every override is written to /var/log/woodlark/audit.log:
bash
sudo woodlark install PACKAGE --accept CVE-2023-44487 --reason "internal service, not exposed" --until 2026-12-31
Blocked byAccept it with
a vulnerability--accept CVE-…
security support--accept support:SOURCE-PACKAGE
origin--accept origin:PACKAGE, once for each blocked package

An override applies to that finding wherever it appears, until the --until date. Without --until, it stays until you delete it from /var/lib/woodlark/overrides.json. The policy decides which checks may be overridden at all ([overrides] allowed).

Software from another vendor's repository ​

Adding a vendor's apt repository, Brave's for example, does not make its packages installable: the origin check blocks them. You can accept just the packages you want from it:

bash
sudo woodlark install brave-browser --accept origin:brave-browser --accept origin:brave-keyring \
  --reason "Brave from its official repository"

Or trust the whole repository by adding its origin to [origin] allow in the policy. The first is safer: the repository still cannot supply anything else, such as a package that shares a name with one of Debian's.

Extras ​

Extras are software Woodlark offers that Debian does not ship. They come from their own publishers, so they are outside Debian's security coverage, and woodlark says so every time.

ExtraWhatHow
vscodiumVSCodium, the open-source build of VS CodeVSCodium's apt repository, with its key pinned in Woodlark's signed package and an apt pin that lets it supply only codium. Updates arrive with renew
anythingllmAnythingLLM, a desktop chat app for your own API keys or a local model server such as Ollamathe current GitHub release, checked against the sha256 GitHub publishes, unpacked to /opt/anythingllm. renew checks for new releases
bash
woodlark install vscodium
woodlark remove vscodium      # removes the app, its repository and its key

[extras] allow in the policy decides which extras are available.

Optional package sets ​

PackageBrings
woodlark-devcompilers, make, headers, Python packaging
woodlark-toolsripgrep, jq, tree, micro, netcat, dig, zip
bash
woodlark install woodlark-dev