Project Spiderfoot

Project Spiderfoot
Project Spiderfoot

I am up to my neck with fixing stuff thanks to learnings from dockhand (the best thing I ever did was ditching Portainer CE) and Brandon Lee.

This project is now in full review.

  • A full security review is now in order due to the source being stale
  • A full code reallignment is now in progress due to the above and learnings from the ARTEX project that I managed to find a fork of that is still in development by someone in Korea

My to-do list is exploding out of control again, and I have 3 days to get all this done

My fork is here

GitHub - Braedach/spiderfoot: SpiderFoot automates OSINT for threat intelligence and mapping your attack surface. Codename Mirage
SpiderFoot automates OSINT for threat intelligence and mapping your attack surface. Codename Mirage - Braedach/spiderfoot

I thought network administration / server administration could be time consuming but development - yikes - my hat goes off to you.

There are going to be serious changes shortly but at the moment my fans are screaming on my workstation as it pulls the code apart and brings it back up to standard. I / We havent even got to building yet.

A little piece of advise. If you are into this stuff dont throw old laptops away. If they have the ability to run docker got at least a generation 8 processor and 8Gb or RAM put them to work. Why my workstation is running Claude the other workstations are doing their part in processing all the stages needed. Its beautiful to see it in action. Multiple devices under the control of a single AI with little old me riding oversight.

I need to reach out to someone I havent spoken to since my Cybersecurity coarse at UniWA. I need a second opinion.

I quote

I vetted the hell out of this.


How bad it was

I scanned the exact images baden runs, with two independent scanners pinned by digest (I checked them first because Trivy itself was compromised in March 2026).

Image Critical High
active-scanner 42 985 (plus 39 flagged "secrets")
frontend (the one your reverse proxy serves) 2 57
base, api, scanner 5 33
qdrant, postgres, litellm 5, 1, 2 73, 25, 4
redis 0 0

The 39 "secrets" are public exploit fixtures inside the nuclei templates, not your credentials. About two thirds of the active-scanner's OS findings come from Chromium alone.

Fixed and proven

  • Frontend: 2 critical / 57 high → 0 / 0 on both scanners. It runs under the production restrictions.
  • Base: 5 critical / 33 high → 0 / 0. It's now on Python 3.12 and Debian 13, with all 158 packages pinned by version and hash.
  • Tests: SpiderFoot's full suite gives identical results on the old and new stacks (8,634 pass, the same 3 pre-existing failures), despite major jumps in cryptography, pyOpenSSL, Pillow and WeasyPrint.
  • Scan gate in publish.sh: nothing is pushed unless every image passes. I showed it fails the old image and passes the new ones.
  • Policy is written into deploy/README.md. Code#61 now records the single-PAT risk.

Findings you wouldn't have seen

  • Scanners were blind. Upstream deleted the package database, so base/api/scanner showed "0 OS findings" only because there was nothing to read.
  • Four version caps in requirements.txt blocked patched releases. I lifted them.
  • LiteLLM had two critical advisories this year and runs as the floating main-latest.
  • Certificate expiry detection is silently broken in production today (a date-comparison bug in sflib/network.py). I didn't fix it because it's outside this task; the one-line fix is below.

Decisions I need

  1. Active-scanner tools. Do you want me to:Dropping a tool means dropping its SpiderFoot module.
    • bump nuclei (v3.3.9 has 7 advisories)?
    • fix dalfox? v3 is a rewrite, so the module needs a small change.
    • drop amass? v5 isn't a drop-in, so the choice is v4 with known flaws, a module rewrite, or removal.
    • drop the five abandoned tools (gospider, waybackurls, LinkFinder, CMSeeK, hakrawler)?
  2. Third-party images. Even their newest compatible versions fail the gate:I'd pin all three to exact versions, and either accept those findings in writing or patch them. Which?
    • postgres: 26 findings, all in a helper binary I can't change.
    • qdrant: leftover Node packages from its dashboard.
    • litellm: an old certifi.

Follow-ups

  • parseCert() fix: use cert.not_valid_after_utc in sflib/network.py.
  • ARTEX caches its GitHub token inside the repo (latent; nothing leaks today).
  • The GitHub housekeeping list from earlier still stands.

I have run out of credits again so it will need to wait.

  • Even though this project has a priority - I am running others as well. The server has over 40 applications running on it via various stacks. An update on one service within a stack that may contain up to 8 services can break everything within that stack. Dont ask.
  • The network-design documentation now comes in at 15 pages and it is growing as I am learning. The AI uses this document to understand the network and the design principles employed to allow it to help me with my work. It can read the above document in seconds over a human engineer in maybe 30 minutes to an hour. You get this right.
  • It includes instructions on the whole network, how to access the UDM router, how to access the hypervisor, how to manage github forks and projects without causing merge from source issues, what IDS/IPS rules there are, the VLAN configuration, the IDS/IPS configuration, how the reverse proxy works, where Cloudflare fits and how it needs to be configured, what builds where, what is production, what is development, what is deployed where, naming conventions on all of the above, what repositories contain private data, what are public (you fork - same license applies) and so on.
  • So even updating a section on the UDM configuration of the network design reference requires a Claude Desktop browser login so it can update any changes you have made, because the Ubiquiti API is still lacking especially in the areas of the IDS/IPS, which is making my n8n project seriously problematic. I simply cant do what I want to do.
  • So yeah, this project is waiting for a new window of credits to arrive so I can push forward with it, and start building, deploy to claude for testing, validation, before changing the production build on baden, and then doing a staggering amount of clean up in Github, as judging from the current code session before I run out of credits its going to get messy. There is so much that needs fixing.

Love this stuff, even when its frustrating as hell.

#enoughsaid