Repository navigation
Releases
v3.40.3: MCP Attack Surface fix and parity tests, IP and Domain cache versions, lxml 6.2.0
The MCP Attack Surface tool works again and can no longer get around ownership
verification, every MCP tool is now tested against its web endpoint, the IP
Reputation and Domain Intel caches can no longer serve results from older code,
and lxml moves to 6.2.0, which closes the last open Dependabot alert.
What you must do on upgrade
- Nothing.
sudo /opt/falconeye/app_src/scripts/upgrade.sh v3.40.3
reinstalls both venvs (requirements.txtchanged) and restarts the service. No
cache flush is needed: cached IP and Domain results from 3.40.2 are never served
again and the 15-minute sweep deletes them. - If you use the
asm_discoverMCP tool for operator scans, it now needs the
operator key and the current TOTP code with each call (operator_key,
operator_code, plusengagement_reference).ASM_MCP_OPERATOR=truealone no
longer authorizes anything. IfASM_OPERATOR_ALLOWED_CIDRSis set, add
127.0.0.1/32to it: MCP calls arrive from there. A domain its owner verified
in the Attack Surface tab needs neither. - An MCP client attached during the upgrade loses its server process when the
MCP venv is reinstalled. Reconnect it (/mcpin Claude Code, or restart Claude
Desktop).
New packages
- No apt package and no systemd unit is added.
- pip:
lxml5.2.1 to 6.2.0 (GHSA-vfmq-68hx-4jfw, fixed in 6.1.0; 6.2.0 also
carries the three lxml advisories published with it on 2026-11-27).
beautifulsoup4stays at 4.12.3.
Changed
asm_discoverreturns the scan. From v3.38.0 to v3.40.2 the MCP tool
returned no hosts and no findings for every domain: its route read the durable
asm_hostsandasm_findingstables, which the one-time pipeline stopped
writing in v3.38.0. It now runs the run through the tab's job runner (same slot
claim and timeout) and returns the tab's own result view, read from the
one-time result cache, so the MCP result and the web result are the same.asm_discoversits behind the tab's gate. Before,ASM_MCP_OPERATOR=true
made every MCP call operator context for any domain. Now a run needs either a
live grant for the domain, from the owner's DNS TXT or role-email verification
in the tab (a DNS grant is re-checked first, as for a web scan), or
operator_keyandoperator_code, checked by the unlock route's code: key
hash, TOTP window,ASM_OPERATOR_ALLOWED_CIDRS, failure lockout, audit row and
notice email, plus an engagement reference and the operator daily cap.
Anything else is refused withneeds_verification. Blocked domains are
refused on both paths.- MCP errors carry their message. The MCP server read only FastAPI's
detail, so every route answering{"error": ...}(Attack Surface, Hunt,
Counterparty and others) reached the client as "request rejected". It now
passes the route's ownerrorandmessage. - MCP parity tests.
tests/unit/test_mcp_parity.pyruns all 11 tools and
their web endpoints, driven as the browser drives them, against the same
recorded or stubbed inputs (closed network: mock HTTP, fixed DNS, fake LLM, the
recorded Counterparty fixture) and fails if the results differ or a tool has
no test, plus seven gate tests forasm_discover. Only per-run identity, clock
and per-caller quota fields are excluded from the comparison. No other tool
was returning stale, empty or different results. - IP Reputation and Domain Intel logic versions.
IP_INTEL_LOGIC_VERSIONand
DOMAIN_INTEL_LOGIC_VERSION(app/logic_versions.py, both 1) prefix the cache
keys (v1|<ip>,v1|<domain>), so a row written by other code is never served.
The 15-minute sweep deletes rows past the 6-hour TTL and rows of any other
version (on the first sweep after this upgrade, every 3.40.2 row).
tests/unit/test_cache_logic_versions.pyfails when the files behind either
result change without a bump;python -m tests.unit.test_cache_logic_versions --refreshrecords the new hash. The rule is in the README, the runbook and
CONTRIBUTING. - lxml 6.2.0. FalconEye uses lxml only as BeautifulSoup's parser in the
Telegram public-page scrape (app/telegram/tier1_scrape.py); Email Header uses
the standard library'shtml.parserand the other tabs parse HTML with
regular expressions. The 6.x changes that touch that path are none: it uses
BeautifulSoup(html, "lxml")and CSS selectors only, notiterparse,
xmlfile, SAX,lxml.html.diff, Schematron or URL parsing. The five
Telegram fixtures parse identically under 5.2.1 and 6.2.0. - docs/mcp.md gives the remote registration with one key
(-o IdentitiesOnly=yes -i) and, for the public instance, the tailnet address
and port; SSH on vps-e7d7933f is reachable over the tailnet only. MCP calls
share the 127.0.0.1 rate-limit bucket (the docs said "unknown").
v3.40.2: cache logic versions, snapshot failures shown, Cloudflare ranges refresh, dnspython and pyasn1
Upgrading from 3.39.0 or 3.40.0 as root from an account that does not own the checkout? Run this once first:
sudo git config --global --add safe.directory /opt/falconeye/app_srcCounterparty results can no longer outlive the logic that produced them, a failed
archive snapshot is reported instead of read as "no evidence", RIPEstat gets one
retry, one Cloudflare range list feeds nginx and the app and refreshes itself,
and two dependencies with open advisories are upgraded.
What you must do on upgrade
-
Upgrading from 3.39.0 or 3.40.0 as root from an account that does not own
/opt/falconeye/app_src(logged in as root, orsudofrom another admin
account)? Run this once first:sudo git config --global --add safe.directory /opt/falconeye/app_src
Those versions' upgrade script does the checkout before handing over to the new
one.sudofrom the owning account (ubuntuby default) needs nothing, and
from 3.40.1 the scripts handle it. -
Otherwise nothing.
sudo /opt/falconeye/app_src/scripts/upgrade.sh v3.40.2
reinstalls both venvs (the requirements changed), installs and runs the
Cloudflare range refresh, and restarts the service. No cache flush is needed. -
Not behind Cloudflare, with your own ranges in
/etc/nginx/snippets/cloudflare-origin-allow.conf? Set
CLOUDFLARE_IPS_REFRESH=falsein.envbefore upgrading, or the new daily
refresh renders Cloudflare's ranges over yours. -
If you hand-installed the
refresh-cf-cidrcron (/etc/cron.d/refresh-cf-cidr
writing/etc/nginx/cloudflare-cidrs.conf): when nothing in nginx includes
that file, the upgrade moves the cron, its script and its output into
/opt/falconeye/backups/retired-cf-cidr-<time>/.
New packages
- No apt package is added.
- pip:
pyasn10.6.4 to 0.6.5 anddnspython2.6.1 to 2.9.2 (below). dnspython
2.9 needs Python 3.11 or later; Ubuntu 24.04 ships 3.12. - New systemd units:
falconeye-cf-ips.serviceand.timer.
Changed
- Counterparty cache logic version.
COUNTERPARTY_LOGIC_VERSION
(app/counterparty/__init__.py, now 3) is part of the cache key, so a result
cached by older logic is never served after an upgrade. The 15-minute sweep
now deletes Counterparty results pastCOUNTERPARTY_CACHE_HOURS, including old
rows.tests/counterparty/test_logic_version.pyfails when a file under
app/counterparty/(or Hunt'sdetect_parked) changes without a bump, and
python -m tests.counterparty.test_logic_version --refreshrecords the new
hash. The rule is in the runbook and CONTRIBUTING. - Snapshot fetch failures show. A Wayback snapshot that could not be fetched
is marked on the Archive card, counts as a source that did not answer ("5 of 6
sources responded (archive snapshot failed)"), and makes the title comparison
"not run (snapshot fetch failed)" instead of "no evidence". When the snapshot
that would show what preceded a re-registration fails, the verdict says so
instead of guessing.tests/counterparty/test_snapshot_failures.py. - RIPEstat retry. One retry after 1.5 s on a timeout, connection error,
HTTP 429 or 5xx,sourceapp=falconeyeon every call, and the exception type in
the log. Checked against RIPEstat's documented rules (no request cap, 8
concurrent requests per IP, registration above 1000 a day).
tests/unit/test_ripestat_retry.py. - Cloudflare ranges: one list.
scripts/refresh_cloudflare_ips.py, run daily
byfalconeye-cf-ips.timer, fetcheshttps://api.cloudflare.com/client/v4/ips,
validates it, writes/opt/falconeye/data/cloudflare-ips.txt(which the app
now reads for its trusted-proxy check) and renders the nginx origin allow list
from the same list, withnginx -tbefore any reload. A failed, empty,
malformed or much shorter download keeps the last good list and is logged.
Installed byprovision.sh, kept byupgrade.sh. Nothing touches a firewall,
SSH or Cloudflare settings.tests/unit/test_cloudflare_refresh.py. - Dependencies.
pyasn10.6.5 fixes GHSA-mm57-4v3p-rchx,
GHSA-2qm8-x737-gmw5, GHSA-9m75-vc3g-4x39 and GHSA-fm9c-5rcf-2q5p (linear-time
decoding; no new rejections or exceptions; FalconEye's DER time-stamp tokens
use no constructed strings).dnspython2.9.2 fixes GHSA-45c3-73f7-pv4m
(2.9.0, decompression chains limited to 16) and GHSA-vvf4-9x63-8xvv (2.9.2, WKS zone
text). Nothing FalconEye calls changed:Resolver(),resolve(), lifetime and
timeout, the resolver exceptions,reversename.from_addressand MX/TXT text
output are as before. lxml stays at 5.2.1: GHSA-vfmq-68hx-4jfw (XXE initerparse
andETCompatXMLParser) is known and not reachable, because FalconEye only
parses HTML through BeautifulSoup; it gets its own release. - Case File.
/api/case/verify-token(20 per minute per IP, unchanged) is
now described in the privacy policy anddocs/case-file.md. - Docs. The upgrade note above is at the top of the runbook's upgrade
appendix and in the README; the runbook's install audit lists the Cloudflare
refresh as installed.
v3.40.1: parked snapshots, legal-name rule, Linux XSS test, complete install
Released 2026-11-29.
Counterparty Check corrections from the 3.40.0 live test, a Case File XSS test
that runs on Linux and on the server, and an install script that builds a
complete FalconEye on a clean Ubuntu 24.04 with nothing done by hand but the
secrets in .env.
What you must do on upgrade
- Usually nothing.
sudo /opt/falconeye/app_src/scripts/upgrade.sh v3.40.1
does every step below. - If you run the upgrade as root from an account that does not own
/opt/falconeye/app_src(logged in as root, orsudofrom another admin
account), run this once first, because the 3.39.0 and 3.40.0 upgrade script
does the checkout before handing over to the new one:
sudo git config --global --add safe.directory /opt/falconeye/app_src.
From 3.40.1 on, the scripts handle this themselves.sudofrom the owning
account (ubuntuby default) needs nothing. - If you installed the Ransomware Watch collector units by hand from
docs/ransomware-watch-runbook.mdand then edited them, the shipped
deploy/ransomware-collect.*files replace yours when they differ. The shipped
files are the ones the runbook told you to write.
New packages
- apt:
nginx,sqlite3,curl,openssl,ca-certificatesandnodejsjoin
FE_SYSTEM_PACKAGES. Most boxes already have the first five;nodejs(Node 18
on Ubuntu 24.04) only runs the Case File XSS test. - pip:
pytest==9.1.1into the app venv, from the newrequirements-test.txt.
It is not imported by the running app. - No runtime Python dependency is added, removed or upgraded.
Changed
- Parking pages never count in the Counterparty archive tests. Every
snapshot goes through Hunt's shared parking test. The title test compares the
earliest and latest snapshots that are not parking pages (no evidence with
fewer than two), and the 12-month gap is measured only between those two
captures. Parking pages are never read for identity strings. The live control
osintph.info was RE-REGISTERED in 3.40.0 because its first capture was a
Hostinger parking page; it is CONSISTENT now. - RE-REGISTERED says what was there before, and when. The date rule is
unchanged, but the verdict now reads "registered again on , ago",
then whether the name showed only parking or for-sale pages, a different site
(with its title), untitled pages, or nothing readable. At most one extra
snapshot is fetched to decide, inside the existing Wayback spacing. - Legal names only from evidence that names the organisation. Only from
schema.org Organization or LocalBusiness JSON-LD, or a copyright line that
shares a word with the domain's brand label or is corroborated on the site's
contact or about page (outside its footer). Never from credit lines ("Powered
by", "Theme by", "Designed by", "Developed by", "Built with", "Website by", and
Filipino forms such as "Ginawa ni"), never from page text such as "X Company".
A vendored deny list,app/counterparty/data/credit_vendors.txt, removes theme,
builder and host vendors (Qode Interactive, ThemeForest, Elementor, WordPress,
Wix, Squarespace, Hostinger, GoDaddy and more). 3.40.0 took "Qode Interactive"
from a theme footer as a legal name. - urlscan.io is not a Counterparty source, anywhere. It was already absent
from the catalog, the tab, the privacy text and the cards; the docs now say
"not used", and a test fails if the source catalog lists a source the code
does not call, or the code calls one the catalog does not list. - The Case File XSS test runs on Linux and on the server.
tests/unit/test_casefile_dom_safety.pynow runs under Node (standard
library only,tests/js/run_node.js) and still under macOS JavaScriptCore.
It skips only with no engine at all, and both scripts warn when there is none. - Counterparty and Case File details. The collision card says "N registered
and resolving". The Case File pivot graph places every node and its label so
none overlaps another, inside a margin, growing the graph when needed. scripts/provision.shis a complete one-script install. On a clean Ubuntu
24.04 it installs the packages above, creates the service user when missing
and thedata/andprivate/directories, checks out the newest release tag
(orFE_INSTALL_REF), builds the app venv with pytest and the MCP venv,
creates the database, creates/opt/falconeye/.envfrom.env.examplewhen
none exists (withFE_HASH_KEYandASM_SIGNING_KEYgenerated), installs the
service and every timer including the Ransomware Watch collector, the nginx
snippets, the vhost and a 30-day placeholder certificate when none exists, and
ends by checking/health, the page version, the Case File time-stamp
dependencies and the MCP server's 11 tools.--testruns the full suite
first. The runbook's "Install, step by step" follows it step for step, with an
inventory of what the live server relies on.scripts/upgrade.shcreates the MCP venv when a box has none, installs the
new packages andrequirements-test.txt, installs the Ransomware Watch
collector units, lists the.env.examplevariables your.envdoes not set
(names only, never written), and marks the checkout as a safe git directory
for its own git commands.scripts/mcp_check.pyfails unless the server lists the documented 11
tools, and the documentation count guard covers that number.- Ground-truth fixtures re-recorded on 2026-11-29 with the archive, RDAP and
DNS answering for every domain, spaced two minutes apart. A test now fails on
any fixture recorded while one of them refused. A synthetic set covers a
parked first capture followed by the real site (not RE-REGISTERED) and a
different business before the registration (RE-REGISTERED with that
sentence).
Not changed, deliberately
- Dependencies flagged by Dependabot (pyasn1 0.6.4, dnspython 2.6.1, lxml 5.2.1)
are left for a separate decision; reachability is in the release report.
v3.40.0: Counterparty Check and Case File
Changed in v3.40.1: the Counterparty archive tests ignore parking pages (the 3.40.0 control osintph.info was RE-REGISTERED only because its first capture was a parking page), RE-REGISTERED now says what was there before and how long ago the registration started, and a legal name is no longer read from page text or theme credits (3.40.0 took "Qode Interactive" from a theme footer). urlscan.io was never a Counterparty source in either release.
provision.shnow installs everything, including the Ransomware Watch collector and the MCP venv.
Released 2026-11-29.
Two new tabs, Counterparty Check and Case File, a "Pin to case" control on every
result card in every tab, and the counterparty_check MCP tool (eleven tools).
Added
- Counterparty Check tab (
app/counterparty/,app/routers/counterparty.py,
app/static/counterparty.js). Is the organisation behind an email address or
domain consistent with what it claims? For organisations, never people.- Input is an email address, a domain or a URL, normalised to the registrable
domain. The part of an email address before the @ is dropped in the browser,
again first thing on the server, and again in the MCP tool; it is never
logged, cached or sent anywhere. - Consumer mailbox providers (the Attack Surface free-mail list) answer
CONSUMER MAILBOX with no lookup and no outbound call, and do not count
against the limit. - Six cards, each with raw evidence: registration (RDAP through the Hunt RDAP
client, every event), archive history (Wayback CDX, two requests, up to three
snapshots), mail (MX provider, SPF, DMARC, four common DKIM selectors, the
Microsoft 365 tenant ID, DNS markers such as a GoDaddy NETORGFT tenant name),
website now (locked to the submitted domain, parking detection shared with
Hunt, hosting ASN from RIPEstat), identity strings (legal name, phone, street
address, site-domain email, licence numbers, from regex and schema.org
JSON-LD) and identity collision (other registered domains publishing at least
two of the same identifiers; shared infrastructure never counts; registry
wildcards dropped as in Hunt). - A deterministic verdict, thresholds as named constants in
app/counterparty/verdict.py: CONSUMER MAILBOX, INCONCLUSIVE, IDENTITY
CONFLICT, RE-REGISTERED, NEW, NO PRESENCE, NEW, ESTABLISHED, CONSISTENT.
Every sentence links to its card; "N of M sources responded"; never
legitimate, safe, scam or fraud. - PDF export, "Pin to case" on every card, 25 checks per IP per day, 24 hour
cache under a keyed HMAC of the domain.COUNTERPARTY_ENABLED(default true).
- Input is an email address, a domain or a URL, normalised to the registrable
- Case File tab (
app/static/casefile.js,app/case/,app/routers/case.py).
Cases live only in the browser (IndexedDB) and in exported files.- Every result card in every tab gets "Pin to case"; Route Map pins its hop
table JSON. A pin keeps the API response as received, the sources it names,
the UTC time, the app version and a SHA-256 of a canonical JSON form. 2 MB per
pin, 50 MB per case. - Pivot graph (D3) of domains, IPs, ASNs, certificate fingerprints, Microsoft
tenant IDs, email domains (never local parts) and URLs; a node opens a tab with
the input filled in and never runs the lookup. - "Timestamp this case" sends only the manifest hash to
POST /api/case/timestamp; the server builds the RFC 3161 request, calls
TSA_URL(FreeTSA by default) and verifies the token's imprint, nonce,
signature, chain and validity against the vendored FreeTSA certificates before
returning it.CASE_TIMESTAMP_ENABLED(default true), 20 per IP per day. .fecaseexport (a zip with the canonical pins, the manifest, the token, the
authority's certificates and VERIFY.txt with the openssl commands to check
everything offline) and a strict, untrusted import with a per-pin verified,
mismatch or missing badge. JSZip 3.10.1 vendored under/static/lib/.- Report as PDF and Markdown; "Refresh all pins" with the cost shown first, new
pin versions and a field-level diff. - Optional LLM summary,
LLM_CASE_SUMMARY_ENABLED(default false), 10 per IP per
day: every sentence must cite a pin, and every date, number, domain, IP, ASN,
hash and email domain in it must appear in a pin it cites, or the sentence is
replaced by "removed: unsupported by evidence".
- Every result card in every tab gets "Pin to case"; Route Map pins its hop
counterparty_checkMCP tool, the eleventh. Same privacy rule, same verdict.app/utils/host_gate.py: paces one upstream across every gunicorn worker
(SQLite row per upstream). FreeTSA gets at most one request per second from the
host; the Wayback Machine one request per 3 seconds, and none for 10 minutes
after it refuses a connection.app/version.py, the running version for code that needs it, checked against
every bump location bytests/unit/test_version_constant.py.
Changed
- The Hunt RDAP client's user agent was hardcoded
FalconEye-Hunt/3.38.27. It now
carries the current version and theOPERATOR_CONTACT_UAtoken. No other change
to Hunt behaviour. - Hunt's parking test is now the public
detect_parked()in
app/hunt/candidate.py, called by Hunt and by Counterparty Check, so there is
one copy of the signal lists. Hunt's results are unchanged (its tests, including
the ground truth, pass unmodified). safe_fetchaccepts an optional request body and returns the raw bytes beside
the text (additive), so the time-stamp request goes through the same SSRF guard.parse_rdapadds an orderedevent_list(additive), so two events of one kind
are both kept.- The MCP server reports the running version (it said 3.38.27).
Not included
- PCAB, SEC and DTI lookups. SEC and DTI refused the server (HTTP 403) and DTI
takes a business name, not a domain. PCAB's licence page needs no login and has
no CAPTCHA, but its data comes from an undocumented internal endpoint, so it is
out of scope. Licence numbers are labelled "as published on the site, not
checked with PCAB". - urlscan.io identifier search in the collision check: the documented field for
page text (text.content) is a paid-plan field and could not be verified on
this instance's key. - Server-side cases, sharing, and MCP access to cases.
Release conditions
- New dependencies:
pyasn1-modules==0.4.2, andpyasn1==0.6.4and
cryptography>=42named explicitly (both were already installed). Both venvs
get them throughfe_pip_sync; both scripts end withfe_check_case_file, and
fe_check_page_versionchecks the two new script tags. .env.example:COUNTERPARTY_ENABLED,COUNTERPARTY_PER_DAY,
COUNTERPARTY_CACHE_HOURS,CASE_TIMESTAMP_ENABLED,TSA_URL,
TSA_CA_CERT_PATH,TSA_CERT_PATH,CASE_TIMESTAMP_PER_DAY,
TSA_MIN_INTERVAL_SECONDS,LLM_CASE_SUMMARY_ENABLED,LLM_CASE_SUMMARY_PER_DAY.- No new server-side state outside the existing database, so the backup list is
unchanged. The CSP is unchanged.
v3.39.0: retention, revoke, log rotation and run-record HMAC match the policy
Closes the twelve open items from the v3.38.29 report: retention, revoke, log
rotation and run-record hashing now do what the privacy policy says, every
system file is installed by the scripts, and the remaining false text is fixed.
Fixed
- Company dossiers kept forever. New
PROSPECT_RETENTION_DAYS(default 30);
the sweep deletes older dossiers (row and JSON file, plus orphan files). The
stored IP hash was an unsalted SHA-256 that nothing read (Company rate
limiting is slowapi, in memory), so it is no longer stored at all and the
release action drops the column. - Revoke deleted nothing. Revoking (in the tab or from the emailed link) now
callsstore.delete_domain(): the grants, the domain and verification
records, every run row and audit row for the domain, any unexpired result and
PDF, and the per-domain rate-limit counters. The management email and page
say exactly that (the email no longer offers "rotate" or a separate delete). - gunicorn logs never rotated.
deploy/logrotate/falconeye: daily, 14 kept,
compress, delaycompress, missingok, notifempty, and a postrotate that sends
USR1 to the gunicorn master ("Reopen the log files",
https://docs.gunicorn.org/en/stable/signals.html). - Plain text in run records, weak audit hash. New
FE_HASH_KEY, generated
by both scripts when missing.asm_scansandasm_scan_audithold
h1:+ HMAC-SHA256(FE_HASH_KEY, value) for the domain, Hunt keyword and
legitimate domain once a run finishes or fails; the sweep converts rows a dead
run left behind. Result access compares the grant's domain both ways, and the
MCPasm_discoverresponse still names the domain it was given. - The result sweep had no timer.
deploy/falconeye-sweep.serviceand
.timerrunapp/sweep.pyevery 15 minutes: one-time results past
ASM_RESULT_TTL_SECONDS, stale run rows, expired dossiers and Image Search
temp files. With the default one-hour TTL a result is gone at most about 75
minutes after its run, and the text now says that rather than "within the
hour". - journald drop-in installed by hand. Installed from
deploy/journaldby both
scripts;systemd-journaldis restarted only when the installed copy changed. - Image Search temp files orphaned by a restart. Deleted by the sweep once
past their 15-minute lifetime, and cleaned at startup. - Route Map coordinates in request URLs. The poll no longer accepts or sends
them; the origin goes once in the body ofPOST /api/routemap/pending/{token}/origin.
A no-op city lookup that sent a geolocated origin ascities?q=lat, lonis
removed. - Contact form posted to the upstream Formspree form by default.
CONTACT_FORM_ACTIONnow defaults to empty, and with it empty the form is not
rendered (the tab and its addresses stay).upgrade.shwarns on any box where
it is unset and never edits.env. - False text in app.js. The Report Abuse note (composed on the server; what
the send log holds; the To header is omitted, not redacted), the abuse PDF
footer, the Hunt and Attack Surface purge text, the Access panel (revoke link
only for email verification; what revoke deletes), the Hunt sources footer,
the IP report PDF source list (GreyNoise and URLhaus only when queried), the
IP and Domain Refresh tooltips, the Sock Puppet tier B note, and the PDF
headers and footers that hard-coded the public hostname. - Dead code.
privacyUpdatedBadge()removed. - robots.txt. The
/stats/rule removed.
Also: the runbook no longer names the live server's SSH port or user.
Added
scripts/migrate_3_39_0.pyandscripts/release-actions/3.39.0.sh: archives
data/prospect/into the upgrade's backup directory, deletes expired dossiers
and dropsip_hash, deletes what revoke now deletes for domains already
revoked (and not re-verified), converts finished run rows and audit rows to the
HMAC and drops audit hashes it cannot convert. Prints row counts; idempotent.- Installers in
scripts/lib/common.sh, called from bothupgrade.shand
provision.sh:fe_install_sweep,fe_install_logrotate(prints
logrotate -d),fe_install_journald,fe_ensure_hash_key,
fe_check_contact_form. Inupgrade.shthe sweep timer is installed after the
key and the release actions, because a timer fires as soon as it starts. - Tests:
tests/asm/test_v3_39_0_privacy.py,tests/unit/test_sweep.py,
tests/unit/test_routemap_no_coords_in_url.py,
tests/unit/test_dead_badge_and_robots.py; extended
test_systemd_units_installed.py(every file underdeploy/installed by both
scripts),test_upgrade_script.py,test_operator_identity.py,
test_routemap_routes.py,tests/prospect/test_investigations.py.
Upgrade notes
- A box that wants a contact form must set
CONTACT_FORM_ACTIONin.env
before or after upgrading; without it the form disappears andupgrade.sh
warns. - Back up
.envwithFE_HASH_KEYin it. Restored with a different key, old run
rows can no longer be matched to a domain. - The journald drop-in applies to the whole host's journal and is now installed
on every box.
Released 2026-10-18. Deploy: sudo /opt/falconeye/app_src/scripts/upgrade.sh v3.39.0. Set CONTACT_FORM_ACTION in .env first if the instance should keep its contact form.
v3.38.29: privacy and help text match the code, tracked briefs removed, RAM restated
Documentation release: the privacy policy, in-tab privacy and help text and the
README now describe what the code and the live box do today, tracked briefs and
review documents are removed, and the RAM requirement is restated from
measurements. No app logic, retention, cookie, log or server configuration
changed.
Fixed
- Privacy policy (in-app). Removed: the promise of a "Policy updated"
indicator for 14 days (the only badge was a hard-coded date that expired on
2026-08-03) and the footer "updated" badge text; the /stats/ section (no such
route in the repo vhost or the live one). Corrected to what happens today:- cache times run from 30 minutes to 30 days by tab, most keys are the input
itself (hashed only for Email Header, Dork Generator, Script Decoder and
Breach Check email), and expired rows stay until overwritten; - the Company tab keeps every dossier on disk with the domain and a SHA-256
hash of the caller's IP, indefinitely; - Attack Surface and Phishing Hunt results are deleted on download or at the
first (lazy) cleanup after an hour; the run record keeps the domain, or the
Hunt keyword and legitimate domain, in plain text, and the audit row holds an
unsalted SHA-256 (first 32 hex characters) of the domain or keyword, with the
legitimate domain or engagement reference in plain text; all kept
indefinitely; - revoking an Attack Surface grant disables it and deletes nothing;
- cookies:
fe_theme,fe_sidebar_collapsed,asm_grant,asm_operator,
plus Route Map's local-storage origin; - nginx logs are kept 14 days; gunicorn's own access log is not rotated; both
carry the looked-up value when it is in the URL; - .msg files and uploads over 1 MB pass through a temporary file; Image Search
uploads sit on disk for about 15 minutes; - every feature that stores the source IP, and the 48 hour / 30 day pruning
that runs on the next write; - Route Map coordinates are held with a pending job for up to 10 minutes and
appear in request logs; there is no clear button; - third parties: Formspree (contact form, and the default for self-hosters who
leaveCONTACT_FORM_ACTIONunset), Mailgun, SearchAPI.io (Image Search),
Have I Been Pwned, ransomware.live, WHOIS servers, urlscan.io, RIPEstat,
Hudson Rock and Holehe when enabled.
"Last updated" stays 18 October 2026.
- cache times run from 30 minutes to 30 days by tab, most keys are the input
- In-tab help text. Email Header, QR, Script Decoder, Username, Breach
(domain), Ransomware search, Attack Surface, Phishing Hunt, Route Map, the home
About box and the threat pulse label now match the code. - README. The Privacy posture list said "No cookies set by FalconEye" and
"cached for 24 hours by SHA256 hash"; it now matches the policy. The Attack
Surface and Phishing Hunt rows said "domain hashed"; they now state what is
stored and hashed. The API endpoint table named nine routes that no longer
exist (for examplePOST /api/prospect/investigate) and is rewritten from
the route decorators and rate-limit constants. - Runbook. The Attack Surface section said "domain hashed" and a timed sweep;
the contact-form paragraph implied the upstream Formspree default ended in
v3.33.0 (it is still the unset default)..env.examplesays the same.
Removed
- Tracked briefs, review documents and a screenshots stub:
falconeye-v3.7.0-abuse-reporting.md,falconeye-v3.8.0-username-enumeration.md,
SECURITY_REVIEW_FABLE.md,security-review-bundle.md,
SECURITY_ASSESSMENT_2026-07-20.md,docs/architecture-review-2026-07.md,
docs/screenshots/README.md. Nothing in the repo, the GitHub release notes or
the blog linked to them. They remain in git history.
Changed
- RAM: 2 GB minimum, 4 GB with host security agents (was "1 GB minimum,
2 GB recommended"). Measured idle on the live box: service 555 MB, Redis 13,
nginx 27, Ubuntu userspace 200, kernel 217, about 1,012 MB in all. New
"Sizing" section in the runbook;docs/mcp.mdnotes 66 MB per attached MCP
client.provision.shandupgrade.shwarn (never stop) below 1.8 GiB
through the newfe_check_memory.
Added
tests/unit/test_no_briefs_tracked.pyfails if a brief (falconeye-v*.mdat
the root), review document, review page or screenshot is tracked; the same
patterns are in.gitignore.tests/unit/test_upgrade_script.pychecks both scripts call the memory check
and that it only warns.
Upgrade notes
No database change, no new dependency, no release action.
Released 2026-10-18. Deploy: sudo /opt/falconeye/app_src/scripts/upgrade.sh v3.38.29.
v3.38.28: documentation and metadata accuracy, guard test for published counts
Documentation and metadata accuracy release. Every figure below is read from the
code, and a new guard test fails if a published copy disagrees with it again.
Fixed
- README tab count. The opening said "Twenty focused modules". It now says
19 investigative tabs:VALID_TABSinapp/static/app.jsminus Home and
Contact. Route Map was missing from the opening list and is added, and the
sentence now says ten of the tabs are MCP tools. - README IP Reputation sources. The tab row listed Censys in the consensus
and the coverage section said CLEAN needs "all five keyed sources". Since
v3.34.0compute_verdict()counts four (reputation._NAMES, mirrored by
catalog.REPUTATION_SOURCES): AbuseIPDB, VirusTotal, AlienVault OTX and
ThreatFox. Censys is now listed as enrichment, behindCENSYS_ENABLED. - README test baseline. "122 passed, 3 skipped" (with a note about Python 3.9
collection errors) is replaced by the measured full-suite result on this
release: 1802 passed, 13 skipped, with what each skip needs. - README project tree. Adds
scripts/upgrade.sh,backup.sh,restore.sh,
lib/common.sh,release-actions/,deploy/,app/asm/,app/hunt/,
app/routemap/and the routers and packages that were missing. Drops
app/utils/ssrf.py,app/utils/telegram.pyand
app/routers/telegram_inspector.py, which no longer exist. - README memory footprint. "~120 MB RAM, ~50 MB code, ~20 MB SQLite" is
replaced by figures measured on the live instance on 2026-10-18: about 555 MB
RSS across the four gunicorn processes (528 MB for the service cgroup), 13 MB
of code (28 MB with.git) and a 19 MBfalconeye.db. - "Prospect" is "Company". The README tab table, API key table and stack
line now use the tab's real title. The route/api/prospect/investigateand
theapp/prospect/package keep their names. - Username platform count. One figure everywhere: 965, the merged
WhatsMyName (698) and Sherlock (478) site list fromapp.username.parser. The
README and the nav said ~950, the tab intro, privacy notice and privacy policy
said ~965.docs/username-enumeration.mdnow gives the per-scan range as 281
to 965 requests. - Meta, OpenGraph and Twitter tags. "13 modules" is gone. All three
descriptions state 19 tabs and mention the MCP server, Route Map, Attack
Surface and Phishing Hunt; the keywords gain the same terms. The JSON-LD
featureListgains those four entries. - Privacy policy. The third-party table gains a Sock Puppet Generator
(Legend) row: the generated fictional Cover goes to Anthropic (Claude Haiku
4.5) when the Legend option is ticked, or for a country with no offline name
data. The LLM paragraph names the Legend. "Last updated" is 18 October 2026. - Operator name spelling. OSINT-PH becomes OSINTPH: the
OPERATOR_NAME
default inapp/config.py, and therefore the meta author, JSON-LD, About
box, Contact tab and privacy policy operator line, plus the README credit.
Self-hosters who setOPERATOR_NAMEare unaffected. - Runbook. The MCP section said seven tabs; it is ten. The version-bump
notes saidfalconeye.serviceand the provision banner still carry v3.5.0;
both are version-less. The Redis rows name the Company tab and Route Map.
Added
tests/unit/test_doc_counts.py. Fails when any tab-count claim in the
README opening or the page's meta, OpenGraph, Twitter or keywords tags differs
fromVALID_TABSminus Home and Contact; when the README consensus list or its
stated number differs from whatcompute_verdict()counts; when the MCP tool
count in the README,docs/mcp.mdor the runbook differs from
app/mcp_server.py; when any username platform count differs from the
vendored data; and when the hyphenated operator name appears in any tracked
file other than this CHANGELOG. Verified red against v3.38.27 (15 failures).- Page version check in
upgrade.shandprovision.sh./healthonly
coversapp/main.py. After it passes, the newfe_check_page_versionfetches
the served page and warns, naming the string, if the JSON-LD
softwareVersionor either?v=cache-buster is not the new version.
--dry-runonly reports it. provision.shnext steps now tell a public self-hoster to set the
operator identity, and its--testrun is the full suite: the two
--ignored route test modules collect and pass on current Python.- Standing order in
CLAUDE.md: a release that changes features, tabs,
sources, counts, cookies, retention or attribution ends its report with an
"osintph.net needs updating" section.
Upgrade notes
No database change, no new dependency, no release action. .env is untouched;
.env.example documents the new OPERATOR_NAME default.
Released 2026-10-18. Deploy: sudo /opt/falconeye/app_src/scripts/upgrade.sh v3.38.28.
v3.38.27
upgrade.sh now runs the target version's own scripts, and the repo gains a CLAUDE.md with the standing release orders.
Changed:
- After it checks out the target tag, scripts/upgrade.sh re-execs the checked-out scripts/upgrade.sh with the same arguments (guarded by FE_UPGRADE_REEXECED so it runs at most once, skipped in --dry-run), so the rest of the run uses the target version's upgrade.sh and common.sh rather than the pre-checkout copy the process started with. A new installer step added in a release now takes effect on the upgrade that introduces it, not the next one. The re-exec'd pass inherits the pre-upgrade ref (rollback stays correct) and does not back up twice.
- docs/deploy-runbook.md: the upgrade appendix documents the re-exec.
Added:
- CLAUDE.md with the standing release orders: scripts and all docs updated in the same release; nothing installed on a server by hand; SSH and SSH-firewall settings never changed without an explicit ask; one brief, one release; no em dashes.
- Six tests covering the re-exec (runs the checked-out script, after the checkout, guarded once, passes the original args, skipped in a dry run, inherits the previous ref without a second backup).
- CHANGELOG entries for v3.38.27 and the previously undocumented v3.38.26.
Full suite 1781 passed. Deployed over the tailnet: fe_install_nrd installed the NRD timer from the repo (confirmed the on-box unit now matches the repo, not the earlier hand-installed copy); health reports 3.38.27; site 200 via Cloudflare.
v3.38.26
Scripts and documentation audit of every change from v3.36.8 to v3.38.25, with the gaps it found fixed.
Scripts:
- deploy/falconeye-nrd.service + .timer: the NRD feed's daily timer that code since v3.38.18 assumed but no unit shipped and no script installed. common.sh fe_install_nrd installs and enables it (unless HUNT_NRD_ENABLED=false); upgrade.sh and provision.sh both call it. provision.sh now also installs the ASM monitor timer.
- backup.sh checkpoints the WAL-mode databases before the hot tar, so a copy of the .db alone cannot miss un-checkpointed transactions.
- fe_state_paths adds the ASM free-mail override (operator config kept outside git); the NRD and ASM-PDF caches are documented as deliberately not backed up.
Docs:
- .env.example: the 25 variables the app reads but did not document (the HUNT_NRD_, HUNT_URLSCAN_, HUNT_RDAP_* sets, the ASM verify-rate caps, and more); the stale NRD-default-off block rewritten; duplicate ASM_MONITORING_ENABLED and REDIS_URL removed.
- README, deploy-runbook, mcp.md: monitoring marked removed from the public product; NRD documented as on-by-default via the local store and timer; MCP tool count corrected to ten (route_map, asm_discover operator-gated, phishing_hunt); the Brand abuse verdict and the full verdict set; nothing-stored corrected to the metadata-only audit row; URLSCAN_API_KEY and ASM_SIGNING_KEY documented; the operator-key terminal line-wrap caveat; the Hunt operator caps; a live-only ops section (cf-ufw-refresh, ransomware-collect, journald drop-in).
- CHANGELOG: entries for every release v3.38.11 to v3.38.25, and every em/en/figure/bar dash removed from the whole file.
- index.html: Hunt privacy note corrected; a real bank brand replaced with a neutral placeholder.
Tests:
- test_systemd_units_installed.py fails if a repo .service/.timer is not installed and enabled by the upgrade path.
- test_env_example_complete.py fails if a variable the app reads is absent from .env.example.
- The repo-wide em-dash guard now also covers CHANGELOG.md.
Full suite 1775 passed. Note: fe_install_nrd takes effect on the next upgrade (the running upgrade scripts are the pre-checkout copy); a fresh provision uses it immediately.
v3.38.25
Credential detection and a Brand abuse verdict.
- Credential/payment capture is now only an input type=password, or a field whose name, id, label or placeholder asks for a PIN, MPIN, OTP, password, card number, CVV or expiry. Search, newsletter and contact fields never count; the triggering field is recorded as evidence.
- A candidate showing impersonation or a capture field is fetched twice, as a desktop and a mobile browser. A material difference is recorded as possible cloaking with a summary of each fetch; a credential field in either fetch counts, with the fetch named.
- New verdict Brand abuse: the page impersonates the brand (identity clone of title, og:site_name or og:title, or a favicon match) but shows no credential or payment capture in any fetch. Ranked between Likely Phishing and Suspicious, with its own count, colour and PDF section. Likely Phishing now requires impersonation plus capture, or campaign membership, or a malicious listing, or a young geofenced or recently-live themed page.
- Ground truth 57 domains, precision and recall 1.000; full suite green. (v3.38.24 was the pre-release verification tag; v3.38.25 is the same code with two owner-approved ground-truth relabels.)