Repository navigation
AutoPWN Suite v2.10.0
Functional changes
-nt/--noise-timeout,-ht/--host-timeoutand-rpesp/--report-email-server-portreject an
out-of-range value on the command line instead of failing later. The config loader already
refused a negative timeout and a port outside 1–65535; the command line parsed them as plain
integers, so-m noise -nt -5started the noise processes and then raisedValueErrorfrom
sleep(), and-rpesp 0was only rejected when the report was sent. Each value is now a usage
error (exit status 2) where it is typed.- A malformed discovery target — an unmatched quote such as
-t "O'Reilly", or a host file line
that reads as an Nmap option such as-iL other.txt— now ends the run with the validation
message (Error: ...), the way a port scan failure already did, instead of aValueError
traceback during host discovery or noise mode. - Resuming an offline dashboard scan no longer adds another
-nto the job's stored Nmap flags
(config.nmap_flagsin/api/scans) each time, and Nmap still gets one-non every run. - The
--create-config/--daemon-installwizard no longer says the host file overrides the
target. The prompt now reads "Leave empty for none - ignored when a target is set", which is
what the scanner does (InitArgsTargetreads the host file only when no target is given). The
Turkish catalog entry is reviewed and no longer fuzzy. --daemon-installexits with status 1 when the service was not installed: not root on Linux, an
installation the root service must not use, a configuration that was not written, a unit file that
could not be written, or a failingsystemctl. It exited with status 0 in every case, so a
provisioning script could not tell. A complete installation still exits with status 0.- A CLI scan keeps its recorded output when Nmap fails on a later host.
PortScanended the run with
SystemExit, which skipped the "saving the output recorded so far" step that an NVD failure already
had, so the results of the hosts scanned before the failure were lost. A target or option that
validation refuses still ends the run with its message and saves nothing. - The email report is sent with the
-rpef/--report-email-fromaddress as SMTP envelope sender, not
with the login name. A provider whose login is not a mailbox (an API-key user name) refuses the login
name as sender, and the option changed only theFrom:header. Without the option the From address
is the login address, as before. - The CLI shows a host's details (MAC address, vendor, OS, accuracy, type) when either the MAC address
or the OS is known. It required both, so a routed target, which has no MAC address, never showed its
detected OS. --check-update,--apply-updateand the dashboard's update check order a pre-release before its
release:2.9.3rc1(or av2.9.3-rc.1tag) is older than2.9.3. Every number in the text used to
count, which made the pre-release newer, so an installed pre-release was told it was up to date when
its final release was out.- The web-check warning for a truncated response names the limit the scan ran with (
max_response_kb,
for example "exceeded 64 KiB") instead of always saying 1 MiB. - A local vulnerability database whose
metadatavalues are not text is reported as unusable ("Local
vulnerability database is unreadable or incomplete"), and a CVSS score in a record counts only when
it is a number from 0 to 10; any other value leaves the finding without a score (UNKNOWN, 0.0). - The daemon log
/var/log/autopwn-daemon.logis created with mode 0600 and--daemon-installsets an
existing log to 0600. Read it as root (sudo tail -f /var/log/autopwn-daemon.log). - The dashboard answers HTTP 413 to a request body larger than 1 MiB, before parsing it. Sign-in and the
account route keep their limit of 4,096 bytes; the other routes had none. Every route takes a small
JSON object, so no request the page sends comes near the limit. - Online NVD lookups wait longer before a retry: for the
Retry-Afterof a 429 or 403 answer, or for a
pause that doubles with each try (1 s then 2 s with an API key, 8 s then 16 s without), at most 30
seconds. The three tries were 0.1 s apart with a key, so one rate-limit answer used them all up and
the scan fell back to the local database or stopped. A record that cannot be parsed fails the lookup
at once instead of being requested three times. - Online NVD lookups leave out rejected CVEs (the API's
noRejectedparameter), which have no
applicability data and could only be reported through a product name in their text. The local
database still holds the rejected records of the NVD feeds, so an offline lookup can return one. - An NVD answer that is a redirect is a failed request and is not followed.
GET /api/scanscounts each job's hosts, ports and CVEs without copying them; the totals are the same.- Release notes end with a generated Contributors section: each contributor's pull requests merged since the
previous release, the first-time contributors and the compare link (scripts/release_assets.py, from the
merge commits). A changelog section that has its own### Contributorskeeps it. - CI: pull requests from forks get the
CodeQLcheck.codeql-upload.ymllooked the pull request up through
GitHub's commit-to-pull-request API, which returns nothing for the head of an open fork pull request, so a
fork's results were never uploaded (and OpenSSF Scorecard counted those commits as not scanned). It now
lists the open pull requests of the run's head owner and branch. - CI: the
Tests (ubuntu-latest)andTests (macos-latest)workflow (tests.yml, an import check and a scan
of127.0.0.1) is removed. Thetestjob, the wheel smoke installs on Python 3.11 and 3.14 and the binary
smoke tests remain; no job installsrequirements.txtwith pip or runs a source checkout on macOS any more. TheIndependent human approvalworkflows (human-review*.yml) are removed: branch
protection onmainenforces the same non-author approval of the latest push. - CI: the
testjob runs pytest on every CPU of the runner (pytest -n auto) through the new dev dependency
pytest-xdist3.8.0 (withexecnet2.1.2); branch coverage is combined across the workers and still has
to reach 80%. The suite ran in about six minutes on one CPU. - CI: every JavaScript action runs on Node.js 24, which removes GitHub's Node.js 20 deprecation warnings. The
pins move toactions/checkoutv7.0.1,actions/cachev6.1.0,actions/setup-pythonv7.1.0,
actions/upload-artifactv7.0.2,actions/download-artifactv8.0.2,actions/github-scriptv9.0.0,
docker/build-push-actionv7.4.0,docker/login-actionv4.8.0,docker/setup-buildx-actionv4.4.1,
docker/setup-qemu-actionv4.4.0, and the Scorecard workflow'sgithub/codeql-action/upload-sariffrom v3 to
v4.39.0, each by full commit SHA. None of the inputs these workflows use was removed. - CI: ClusterFuzzLite builds the four Atheris harnesses in parallel (each PyInstaller build in its own work
directory) and fuzzes with every core of the runner (parallel-fuzzing) for 120 seconds instead of one core
for 180 seconds.
Security changes
- No security impact. This is an operator-facing input check on values the operator supplies; the
rejected values are the ones the INI path already refused, and no new input reaches the scanner. - No security impact. The change only reports the
ValueErrorthat target validation already
raised for the operator's own target list; no new input reaches the scanner. - No security impact. The change only stops writing the offline
-nback into the stored scan
settings. - No security impact. Only the wording of a wizard prompt (and its Turkish translation) changes; the
precedence of target over host file is unchanged. - AUTOPWN-SA-2026-018 (follow-up, low, availability only): a vulnerability database copied from another
machine could still stop the dashboard's lists and status. A record whose CVSS score wasNaNor
Infinity(both valid for Python's JSON parser) was returned as a bareNaNinGET /api/hosts, which
a browser rejects, and a file whosemetadatavalues were not text made
GET /api/vulnerability-databaseand a scan start answer HTTP 500 and ended a CLI scan in a traceback.
A score that is not a number from 0 to 10 is now ignored, and such a file is reported as an unusable
database; see the advisory. - Hardening of
--daemon-install, with no advisory:/var/log/autopwn-daemon.logholds the scan output
(hosts, ports, CVEs) and was created with mode 0664, readable by every local account; it is now created
with mode 0600, and each install sets an existing log to 0600. The installer also reads the wizard's
configuration back from the working directory only if it is still a regular file of the installing
user, opened without following a symlink, so a file that another account placed there under that name
(possible when root runs the installer in a directory that account can write to) is not installed as the
root service's configuration. - No security impact for the other functional changes above (exit status, saved output, envelope sender,
host details, pre-release ordering, warning text). - Hardening, with no advisory:
- The dashboard bounds every request body (1 MiB; 4,096 bytes for sign-in and the account route).
Only a signed-in client reached the unbounded routes, since a request without a session is answered
401 before its body is read, so this limits what a session can make the server hold in memory. - NVD requests no longer follow redirects.
requestskeeps a custom header when a redirect names
another host, so a redirect would have carried theapiKeyheader to that host. The NVD is reached
over verified HTTPS, so this needs the NVD itself (or a host in front of it) to send the redirect. - The local vulnerability database is read through a connection with
PRAGMA query_onlyon and
PRAGMA trusted_schemaoff, in addition to the read-only open mode: nothing is written through it,
and views or triggers in a copied file cannot call SQL functions or virtual tables with side effects
(SQLite 3.31 or newer). A copied file can still define its own views, so the AUTOPWN-SA-2026-018
residual about the file's structure is unchanged.
- The dashboard bounds every request body (1 MiB; 4,096 bytes for sign-in and the account route).
- No security impact for the retry pauses, the left-out rejected CVEs and the job counts.
- Release notes: no security impact. The Contributors section is built offline from the merge commits; a pull
request title is written as inert Markdown (no HTML, no link, and an@namein code so it notifies nobody). - CodeQL for forks: the upload handler keeps every check of the pull request's live state (open, targets
main, same head commit and branch, test merge commit equal to the analyzed one) and gains no permission. - Review and test workflows: the non-author human approval is unchanged as a control but is now enforced only
by branch protection (one approval, stale approvals dismissed, approval of the latest push required,
administrators included);GITHUB_TOKENcannot approve pull requests. Removing the workflows also removes a
workflow_runhandler that heldactions: write. - Action updates: no security impact. Every action stays pinned by full commit SHA with the same inputs and
permissions.actions/download-artifactv8 now fails on an artifact whose digest does not match instead of
warning, andactions/checkoutv7 refuses to check out a fork's pull request inpull_request_targetand
workflow_runworkflows (none of ours does). - ClusterFuzzLite: no security impact. The same harnesses, seeds and hash-pinned dependencies are built; each
fuzzer now gets more executions in less time. pytest-xdist: no security impact. It is a dev-group dependency used only to run the tests; it is not in the
package, the image or the binaries, and the Security policy scans it with the rest ofpoetry.lock.
Contributors
Thank you to everyone who contributed to this release:
- @Goldloli: fix(cli): reject out-of-range timeouts and SMTP ports where they are typed (#119)
- @tlq5l: fix(cli): report malformed discovery targets (#120), fix(web): keep the stored Nmap flags when an offline scan resumes (#122)
- @Voyagerroc: fix(daemon): say the wizard's host file is ignored when a target is set (#121)
- @GamehunterKaan: Harden the copied-database and daemon paths and fix small CLI bugs (#133), Bound dashboard request bodies and harden the NVD client and database reads (#148), Release 2.10.0: trim CI, upload fork CodeQL results, credit contributors in release notes (#149), Allow for coverage tracing in the hostile-body timing guards (#150)
New contributors
- @Goldloli made their first contribution in #119
- @tlq5l made their first contribution in #120
- @Voyagerroc made their first contribution in #121
Full Changelog: v2.9.2...v2.10.0