Repository navigation
See Where You Are Exposed, at a Glance. Analytics → All Executions opens on a matrix of the latest result of every test on every host, and can be turned to one row per host. All Executions and the Tasks page each get an activity strip that shows when runs happened, and a click narrows the page to that hour, day or week. A new Dashboard card says why the Defense Score moved. Every result records which version of the test produced it, and the Test Library says which tests have a newer version published. The agent can be deployed with Intune or another management tool. Microsoft Defender evidence now counts only for the run it came from. And a security round: 14 fixes, listed under Security. No agent release: agent 0.7.6 is current. Read the upgrade notes: the first start runs one-time jobs, and Defender labels can change once. Blog post: Achilles 2.12: See Where You Are Exposed, at a Glance. User guides: Execution Table, Defense Score, Task Execution, Test Versions.
Upgrade notes
- No agent release. Agent 0.7.6 (released Nov 24) is current. If an install has not registered it yet, use Build from source with version
0.7.6(aftergit pullon Docker and server installs) or upload the release binary. - The first start takes longer on a large install. It runs one-time jobs, each logged: an index on the task table's creation time; the test id of every task in its own column (a few seconds on a very large task table); attaching past tasks to the scheduled run that created them (
[Schedule-Run-Backfill]); filling in the run start of results of the last 90 days ([Run-Start-Backfill], at most 120 seconds per start, continued at the next one); and a full Defender alert re-sync of the 90-day look-back, followed by a re-check of stored results. - Defender labels, and past Defense Scores that include them, can change once. The re-check removes a Defender detection or prevention that only another run's evidence supported, and results that exited 101 lose their prevention flags for every EDR. A run Defender stopped without adding anything to its alert now reads as not detected. On installs deployed from
mainafter 2.11.0, results an earlier build re-checked (markedrun_evidenceorrun_activity) are checked once more; builds from Nov 25 to Nov 27 2026 kept an earlier run's flags on a stage that did not finish, and those are removed now. - Tests built before 2.12 read Unknown build, and their results say version unknown, until they are built once more: filter the Test Library by Unknown build, click Select, Select all, then Build N. Results recorded before the upgrade say not recorded and are not back-filled.
- Rolling back to 2.11 needs one database change. An earlier release does not start on a database with the new
schedule_runcolumn: runDROP INDEX idx_tasks_schedule_run; ALTER TABLE tasks DROP COLUMN schedule_run;onagents.dbfirst. - Scripts that poll the activity or score routes have a per-user budget: 20 requests a minute for
GET /api/agent/admin/tasks/activity, 30 forGET /api/analytics/executions/activity,GET /api/analytics/score-movementandGET /api/agent/admin/tasks/test-recency. Task, schedule and campaign requests must send a test UUID astest_uuidand a plain file name asbinary_name(else400). - A signing certificate made with Generate Certificate before 2.12 is marked as a certificate authority, and Windows reads its signatures as
UnknownErroreven where it is trusted. Binaries signed with it stay signed. To getValid, generate a new certificate, distribute and activate it, and rebuild (see the endpoint prerequisites guide). - The Intune steps of
Install-AchillesAgent.ps1have not been run on a tenant yet. The script was run as SYSTEM on Windows 11; the guide says which parts are untested. backend-serverless(Vercel) gets the build-folder name rule, the test id and binary name validation, the typed release-notes guard and the clean-up of prevention flags on completed stages (Defender and CrowdStrike). The matrix, the activity strips, the score movement card, test versions and the About dialog are backend-only.
Added
- Tasks: an activity strip that shows when tasks were created. Under the filter bar, one bar per day of the last 30 days, in your browser's time zone, coloured as the run timeline colours its marks. A click lists that day's tasks; the strip keeps the 30 days. It follows the type pills and the search box. New endpoint
GET /api/agent/admin/tasks/activity, andfrom/toonGET /api/agent/admin/tasks/grouped(capabilityactivityStrip; not onbackend-serverless). - All Executions: an activity strip that shows when the runs happened. Above the matrix and the list, one bar per hour, day or week of the date range (by its length, in your browser's time zone), as tall as its runs are many and coloured by outcome. A click on a bar narrows the matrix, the list, and Export CSV and JSON to that stretch of time; the strip keeps the whole range, so the next day is one click away. A quiet range gets a line naming the days that had runs instead of a mostly blank row of bars. The counts are the Dashboard cadence card's, by the same rules. New endpoint
GET /api/analytics/executions/activity(capabilityactivityStrip; not onbackend-serverless). - Dashboard: a "What moved the score" card, and the endpoint behind it. The Defense Score can rise with nothing fixed: new tests that pass dilute the failures, old failures leave the window without being re-run, and risk acceptances remove failing pairs. The new card, under the trend row, sorts the failures of the selected range into Fixed, Still failing, Not re-tested and Left the score untested, shows how new tests did on their first run (Stopped or Got through), and says where the failures came from (open at the start, regressions, new tests, first time on an endpoint). Each number opens the list of tests and endpoints behind it (200 rows at most). One test on one endpoint is one item, so a failure fixed by blocking the test before it starts counts as fixed; the footer says how many failures the score still counts differently (fixed by blocking the test before it started, counted twice), so the card never differs from the score tile unexplained. The score, its trend and the other cards do not change. API:
GET /api/analytics/score-movement(latest-basis, any-stage;basis,scoringModeand the outcome filters are ignored). The card loads on its own, so it does not delay the rest of the Dashboard. Not available onbackend-serverless(scoreMovement: falsein/api/capabilities). User guide: Defense Score → What moved the score. - API: the latest result of every test on every host, in one request.
GET /api/analytics/coverage-matrixreturns one cell per test and host: protected, detected, unprotected, no verdict, or risk accepted. It is built from the same latest-result pairs as the Defense Score, by the same code: a multi-stage attack is one cell per host, a pair whose newest run has no verdict keeps its older conclusive result, and a cyber-hygiene bundle is one row whose cells say how many of its controls are compliant ("31 of 48"). Attack cells also list up to six earlier results, one per day.rows=testsgives the host list once and each test's counts and cells;rows=hostsgives one page of hosts, most exposed first, and withtestandstatethe hosts of one state of one test. Scope filters apply;basis,scoringModeand the outcome filters are ignored. Above 150 hosts the cells and the host list are left out ofrows=testsand the counts stay complete; at most 500 tests are listed. One test on one host is always one cell: where a multi-stage test also has a result with no stages on that host, the score counts two pairs and the matrix shows the latest.GET /api/analytics/executions/paginatedalso takestestUuid, an exact test or bundle id (thetestsfilter matches names), to list the runs of one pair. The matrix view of Analytics → All Executions is built on it (under Changed). Not available onbackend-serverless(coverageMatrix: falsein/api/capabilities). - About dialog: which release an install runs, its release notes, and the official agent version. An about button at the bottom of the sidebar opens it for every signed-in user. It shows the platform version with its release notes, and says Official release only with evidence: the checkout is exactly on the release tag (server and appliance installs, no network needed) or GitHub confirms the running commit is the tag. A build made after the tag reads "2.11.0 + 4 commits, not an official release", and with no evidence the dialog makes no claim. The agent block shows the official agent version and, for users who can see agents, what is registered on the install and what the fleet runs. Once a day the backend asks GitHub for the newest platform and agent releases (two anonymous requests to
api.github.com; nothing about the install is sent, no token is used, and no page waits on it). When something newer exists the dialog shows it with its notes, and users who can open Settings see a dot on the button until they open About.RELEASE_CHECK=offdisables the check; without internet access the dialog shows what shipped with the install.GET /api/healthalso reportstag. Not available onbackend-serverless. - The console warns before you install an agent or create a task that can't work. An install command downloads the agent from your own server, and the console used to show the command for every platform whether or not an agent binary was registered for it; the command then failed at the download, on Windows after
C:\F0had already been created and locked. The Enroll agent dialog now says No agent binary on this server when no platform has one (you can still generate a token and build afterwards), each platform tab shows the agent version it would install or no binary, and a platform without one shows the reason and a link to Settings → Agent in place of a command. A version whose file is gone from the server is reported as that. The Create Task dialog, which showed an empty agent list when no agent was enrolled, now lists what is missing: agent binary, enrolled endpoint, built test. The check is the same lookup the download uses (GET /api/agent/admin/versions/readiness), so the two can't disagree./settings?tab=agentopens the Agent tab. Not available onbackend-serverless, where nothing changes. - Deploy the agent with Intune or another management tool. The Enroll agent dialog has a new Management tool tab for the token you just created. It offers
Install-AchillesAgent.ps1, an unattended Windows script for an Intune platform script or Win32 app, a Group Policy startup script or Configuration Manager, with the Intune settings, a detection rule and the uninstall command next to it. The script installs the standard registered agent (nothing is built per enrollment), leaves an agent that is already installed untouched, so a tool may run it again without spending a token use, refuses to run unelevated and says which Intune setting to change, and, when the registered agent is signed, only runs a download whose signature is intact and made with exactly the certificate the server signed the agent with (pinned by its SHA-256 fingerprint; the endpoint does not have to trust the certificate for this; it does not tell the agent from another binary signed with the same certificate, so use an HTTPS server address). The script is generated in the browser and contains the token, so treat the file as a secret and revoke the token after the rollout. For the pin, the server now records the fingerprint of the certificate each signed Windows agent carries (signer_fingerprintinGET /api/agent/admin/versions, filled in for existing versions the first time the list is read). New guide: Deploying with Intune. The script was run as SYSTEM on Windows 11; its Intune steps have not been run on a tenant yet and the guide says so. - The sidebar shows who is signed in. A row above log out shows your name and your role (Administrator, Operator, Analyst, Explorer, or "No role (read-only)" for an account without one) on every page and in the mobile menu. Hovering shows your email. The row opens your account page, which now keeps the sidebar; before, nothing in the console linked to it and it had no way back.
- The Test Library shows which version of each test you have, and whether a newer one is published. Every test now carries one status under its name: Up to date, Update available (the library repository has something newer: Sync), Rebuild needed (the source you synced is newer than the binary you built: Build & Sign), Not built, Uploaded, Unknown build (its version was not recorded, or it was built from source that was changed locally: rebuild to record it) or Built, not checked. A status filter and a line above the list ("3 tests have a newer published version", "5 tests need a rebuild") show what needs attention, and the test page has a Version card with the published, synced and built commits and, for GitHub repositories, a link to the changes. Documentation and detection-rule changes show as an update but never ask for a rebuild; a change to the shared libraries or to an embedded file does. Each build now records the library commit and a fingerprint of what went into the binary, and a build no longer leaves a test's
go.modorgo.summodified in the synced library. To know what is published, the backend fetches the configured test repository two minutes after start, every 6 hours, after each Sync and when you click Check now. It contacts only that repository, the same way Sync does, and never changes the synced files.TESTS_UPDATE_CHECK=offturns off the timed check (Check now still works). Custom tests, and all tests when git sync is off, are compared by content and have no published side. When git can't read the synced library, the page says The test library could not be read instead of showing every test as Unknown build with no reason. From the moment a rebuild starts replacing the binary, also one that was uploaded or built before versions were recorded, and after a build that stopped part-way, its status is Unknown build until a build completes; a failed compile that left the binary untouched puts the previous record back. Results carry the version too (next entry). Not available onbackend-serverless. - Every result records which version of the test produced it. When a test task is created, the console copies the version of the built binary into it (library commit, source date, build date and the build fingerprint), and every result document of that run carries it: a standalone test, each stage or control of a bundle, and the result written when an EDR killed the agent. On Analytics → Executions each run shows the short commit and one of: current (built from the source you have synced now), older (the synced source has changed since that binary was built: open the test and rebuild), version unknown (an uploaded binary, a build with no recorded version or from locally changed source, a task created while a rebuild was replacing the binary, or a test that is no longer in the library) or not recorded. A result built from the library commit that is synced now reads current. The run's detail has a Test version block with the commit, the source date and the build date; a Version filter, kept in the page address, narrows the list to one state; and the CSV export ends with two new columns,
versionandversion_state. The version comes from the server's own build record, and only when the SHA-256 of the binary being sent equals the one recorded for that build. Nothing an endpoint reports can set it, and no agent update is needed. After upgrading: results recorded before the upgrade, and results of tasks created before it (a Retry of an older task included), say not recorded and are not back-filled. A test built before this release has no recorded version, so its results say version unknown until you Build & Sign it once. "Current" and "older" compare with what is synced when you look, so a Sync can turn earlier results into "older". No score or verdict changes, and the SB export is unchanged. API: rows ofGET /api/analytics/executionsand/executions/paginatedgaintest_versionandversion_state, and/executions/paginatedtakesversionState=current|older|unknown|not_recorded(400Invalid versionState; 503 when versions can't be evaluated). Existing result indices get the new fields added to their mapping on the first write; if the Elasticsearch key may not change mappings, results are still stored and a warning is logged at most once every 10 minutes. Not available onbackend-serverless. - Campaign evidence and the execution report show which test version ran. On a campaign run page, each test name carries the short commit and its state (current, older, version unknown or not recorded), or mixed versions when the hosts ran different versions (hover it for each version and its number of hosts). When states were compared, the line with the As of time says they compare with the synced test library as of that time, and the printed page carries the same line. The run CSV ends with two new columns,
version(the short commit) andversion_state, so files read by position still parse. In the PDF report, the execution log gives the short commit and its state under each run's completion time (every compared run is labelled, current included), and the Method page says what each state means and that the comparison is with the library synced when the report was generated; if the console can't read its library within 5 seconds, the commits print without a state and the Method page says the versions could not be compared. A printed campaign page, a CSV or a report shows the states as of the time it was made; the commit is the lasting fact. API: cells ofGET /api/campaigns/runs/:runIdgainversion(commit,fingerprintandstate;stateis left out when the library could not be read, exceptnot_recorded, which is always set). New user guide page: Test Versions. Not available onbackend-serverless. - Build several tests at once from the Test Library. After an upgrade every test you had already built reads Unknown build until it is built once more, and that took one visit per test. Now filter the list (for example by Unknown build), click Select, then Select all (N), which selects the tests the list shows after search, filters and version status, and Build N. The console builds and signs them one at a time, each the same build as Build & Sign on the test's page, and shows the test it is on, a progress bar and how many built, failed and were skipped; at the end Details lists each failed or skipped test with the reason and a link to it. Tests with an uploaded binary are left as they are, and a test that needs a file uploaded first is skipped, not attempted; neither stops the run. Stop lets the build in progress finish and starts no other. The run lives in the browser tab, not on the server: it keeps going while the console stays open in that tab, on other pages too, and ends when the tab is closed or reloaded (the browser asks first) or when you sign out. To finish an interrupted run, select what is left (the Unknown build filter shows it) and build again. A short server outage between builds is waited out; if the server stays unreachable the run stops and says so. On a backend started with
CLUSTER_WORKERSset to 2 or more, builds can overlap and a test can be reported failed while its build is still running, so run it on a single-process backend (the default). Needs the permission to build tests and a backend that builds them (notbackend-serverless).
Changed
- The matrix of All Executions can be turned to one row per host, and Export is above it. A Rows switch next to View turns the matrix: one row per host, most exposed first, with one mark per test and "caught on x of y tests" under each hostname. Hosts come 25 at a time with Show more, and a click on a mark opens the same runs and panel as before. It is also how to read individual results on a fleet large enough for rows of tests to become bars. Export (CSV, JSON, the PDF report, SB Export) and Archive by date are now above the matrix as well as the list. Export follows the filters. Archive by date does not, and never did: it archives every execution before the date, and its dialog now says so; a failed archive by date keeps the dialog open. Three things behave better: after Show more on a pair's runs, accepting a risk no longer drops the older runs from the list; an archive that fails leaves the run's panel open (it closed as if the run were gone); and switching to another Analytics tab no longer keeps the open pair in the address, which reopened it on the way back.
- All Executions opens on a matrix of the latest results. The tab was a list that repeated each test's name on every run, with the things that differ (host, verdict) in small text. It now opens on a matrix: one row per test with its name written once, and one mark per host showing the latest result there: ✓ protected, ▲ detected, ✕ unprotected, ? no verdict, ⊘ risk accepted, or an empty dashed mark where the test never ran. Hosts keep the same order in every row, most exposed first, so a weak host shows as a column. The states are the Defense Score's own latest results. A cyber-hygiene bundle is one row whose marks are gauges filled to the share of compliant controls ("31/48"). With few hosts each mark is a tile with the result's age and a dot per earlier result; with more they shrink to small tiles, then squares, and above 150 hosts (or when they no longer fit) each test is one bar with the hosts counted per state, where a click on a count lists those hosts. Click a mark to see that test's runs on that host under the row, and the run the mark shows opens in a panel on the right with the same run detail as before (attack chain, stages, EDR evidence, Accept risk, Archive); the arrow keys move between runs and
Esccloses it. The matrix is one stop for the Tab key, with the arrow keys moving along a test's hosts and between tests; above squares and small tiles a line writes out the mark under the pointer or the focus. A bundle drawn as a bar has Show hosts. The View switch brings back the list, which is unchanged and keeps export, sorting, bulk actions and Archive by date; your choice is remembered in the browser. Links to one run (?expanded=) and the Outcome breakdown card still open the list. Outcome filters narrow the list only, and the matrix says so. While the matrix is shown the list's runs are not downloaded. The matrix view has been checked with made-up data at 5, 30, 60 and 400 hosts, and on a live install. Not onbackend-serverless, which keeps the list alone. - The Tasks list loads about a tenth of the data. Each page carried every task whole: its output, the test's metadata and, for a cyber-hygiene bundle, the full detail of every control (50 to 150 per run), none of which the list draws. Measured on two installs, the first 200 runs weighed 26.4 MB and 13.0 MB, and one page of 25 runs (887 tasks) was 12.8 MB. The page now asks for light tasks (2.6 MB and 1.8 MB for the same runs; that page is 1.1 MB) and fetches the whole task only for the one whose detail you open, so the output boxes show Loading output… for a moment, and The output could not be loaded with Try again if the request fails. Verdicts, stage marks and the "N of M controls compliant" line are unchanged. API:
GET /api/agent/admin/tasks/groupedtakesdetail=summary(400Invalid detailfor an unknown value). Without it the response is what it was, so scripts and the CLI are unaffected;GET /api/agent/admin/tasks/:idreturns the whole task as before.backend-serverlessignores the parameter and keeps sending whole tasks, which the page handles. - A scheduled run is one entry on the Tasks list, with or without notices. The entry above grouped tasks only by the notice that announced them, so where notices are off a schedule with a time per machine was still one entry per agent. Tasks now record the scheduled run that created them (
tasks.schedule_run: the schedule and the local day of the slot), and the list groups by that first, then by notice, then by batch. A daily schedule is one entry per day, a late tail announced by a second notice stays in its run, and a retry of a scheduled run stays in it whoever starts it. On upgrade, earlier tasks are attributed once: a task with no notice and no campaign run joins a schedule's run when it matches a per-machine schedule on organization, creator, test and agent and was created between the schedule's creation and its last run; a test started by hand on one of those agents in that window is counted in the run too. The server logs[Schedule-Run-Backfill] attributed=… ambiguous=… retries=…. The column and the attribution are added in one transaction, so an upgrade interrupted halfway does both again at the next start; if the attribution itself fails, the server logs[Schedule-Run-Backfill] skippedand earlier runs stay as they were. Rolling back: an earlier release does not start on a database that has the new column (table tasks_new has no column named schedule_run); before rolling back, runDROP INDEX idx_tasks_schedule_run; ALTER TABLE tasks DROP COLUMN schedule_run;onagents.db. Not onbackend-serverless. - An announced run is one entry on the Tasks list, however many batches it took. A run with a randomized start per machine reaches its agents one by one, sometimes over hours, and each agent's task was listed as a run of its own: one test on 67 hosts was 67 entries with the same name, across three pages. Every task that one pre-execution notice announced for one test is now a single entry with the time of its first and last task, and the pager counts runs. Two tests under one notice stay two entries, and without notices nothing is grouped by guessing from names or times.
GET /api/agent/admin/tasks/groupedpages by run and addsrun_idandbatch_idsto each group;batch_idis still there. One thing reads differently where notices are on: a retry you start by hand is announced by a notice of its own, so it is now a new entry at the top of the list, not a second mark inside the original run (automatic retries stay in their run). A page also holds every task of each of its runs, so a page of large runs is a heavier response than a page of single tasks was. Not onbackend-serverless, which has no notices. - Command runs show their command. Every command run was named "execute command". It is now named by its command text, and the detail of a command task shows the whole command with a copy button. The run's dot also matches its marks now: a run whose only task never ran has a grey dot, not an amber one.
- The Tasks list shows one entry per run. The list had one row per host and repeated the test name on every row, so a test sent to six hosts filled seven rows of the same text. Each run is now one entry with the name written once and a mark per task: a pill with the hostname for up to 8 tasks, one small square each for up to 80, and one bar split by result beyond that. On a pill, a multi-stage test shows a square per stage (blocked, not blocked, skipped), so you can see how far the attack got on each host without opening anything. An arrow on the run opens its host list, with every task as a row, worst results first, and a checkbox each. Clicking any task opens the same detail as before, and the arrow keys move between tasks. The list also stays on screen while it reloads: after a retry, a cancel, a delete or a saved note it used to be replaced by a spinner, which put the selection back on the first task.
- The backend image bundles Go 1.26.11. It shipped Go 1.25.9, which is older than the Go 1.26 the agent source requires and no longer receives fixes. With Go's default settings, building the agent from source then downloads a 1.26 toolchain first, which needs internet access and is not covered by the checksum the image pins for its own toolchain. The image now carries Go 1.26.11, checked against the official SHA-256 for amd64 and arm64, so the bundled toolchain builds the agent and the tests itself. Rebuild the backend image to get it; agents that are already installed are not affected. (#841)
- Released agent and installer binaries are built with Go 1.26.11. The release, CI and appliance workflows take their Go version from
agent/go.modandinstaller/go.mod, which only named the minimum, Go 1.26.0, so that is what release binaries were compiled with. Both files now carrytoolchain go1.26.11; the minimum stays Go 1.26.0. To check a download, rungo version -m <binary>. - Node.js 22 base images refreshed. The backend and frontend Docker images pin newer digests of
node:22-slimandnode:22-alpine. (#830) - Registered Versions shows which commit an agent version was built from. Settings → Agent → Registered Versions has a new Source column. For a version made with Build from source it shows the commit, and an amber
source says <version>line when the code on the server was another version than the one typed for the build, which means old code was built under a new number. For an uploaded binary it shows the notes typed at upload. The information was already recorded in the version's release notes, but the console did not show them, so checking a build meant reading the API response. Display only.
Fixed
- Analytics: a click or a filter change made just as the page was updating is no longer undone. Several parts of the page write the address (the tab, the filters, the list's selected run, the matrix, the activity strip's selected bar), and each started from the address as the page last drew it, so the last one to write erased the others: a bar clicked on the activity strip while the list's rows arrived was lost. They now share one writer that starts from what was last asked for.
- The backend no longer rebuilds the tasks table every time it starts, and two processes starting together can no longer lose it. A migration from an old release, which widens what the
taskstable accepts, decided whether it was needed by inserting a test row. That insert always failed for an unrelated reason (the row pointed at an agent that does not exist), so the migration ran on every start of every install: a new table, a copy of every task, the old table dropped, the new one renamed. It ran as separate steps. WithCLUSTER_WORKERSset to 2 or more, or two containers on one data volume, two processes starting within a fraction of a second of each other could interleave those steps and leave the database with notaskstable (reproduced on a test database: 0.2 s apart, 60,000 tasks gone), and a failure after the drop lost every task. The migration now reads the table's definition to decide, so it runs only on a database that needs it, and it runs in one transaction that takes the write lock first: all or nothing, one process at a time. Start-up is also faster on a large install, because the table is no longer copied (2 ms where it took about 650 ms for 60,000 tasks). If you run more than one backend process and upgraded through earlier releases without losing tasks, nothing needs repairing. One thing to look for: if the backend log saysA table named tasks_new with N rows is left from an interrupted upgrade, an earlier release was stopped in the middle of that rebuild; the table is not used and is no longer deleted at start, so compare it withtasksbefore removing it. - Four more start-up migrations can no longer misfire, and a failed start-up no longer leaves the backend running on a half-migrated database. The migrations that widen what the
agents,agent_versions,agent_eventsandapi_keystables accept had the weaknesses thetasksmigration had (previous entry). Three of them decided with a test row and read any error as "this table is out of date", so when another process held the database's write lock for longer than 5 seconds during a start, the backend began rebuilding a table that was already current, failed, left a table namedagents_newbehind and kept running with later migrations skipped and foreign-key checks off. Three of the four (api_keysalready ran in one transaction) ran as separate steps, so a failure after the old table was dropped lost its rows. All four now read the table's definition to decide, and run in one transaction that takes the write lock first: all or nothing, one process at a time. An install old enough to need theagentsoragent_versionsmigration could not start on recent releases at all: the rebuild did not carry the key-rotation and signing columns added since, and stopped withtable agents_new has no column named api_key_rotated_at. It now carries every column. Beforeagentsis rebuilt the whole database is copied toagents.db.bakbeside it, with the database file's permissions; the copy used to be of a fixed path whatever database was being changed, and is now a consistent copy of that database, made once by the process that rebuilds the table. It needs free disk space the size of the database; if it cannot be made the backend logs a warning and carries on. When setting up the database fails, the backend now closes it and tries again (at most once every 5 seconds), where a process that kept running used to serve on the connection whose set-up had stopped part-way. A second process that starts at the same moment on a database missing a column no longer fails withduplicate column name; that includes thetest_uuidcolumn added since 2.11.0, so it matters on the next upgrade of an install with more than one backend process. On a database that is up to date, which is every install that has started on a recent release, none of these migrations runs and nothing changes. One thing to look for, as withtasks:A table named agents_new with N rows is left from an interrupted upgradein the backend log (oragent_versions_new,agent_events_new,api_keys_new) means an earlier release was stopped in the middle of a rebuild; the table is not used and is not deleted, so compare it with the table it is named after before removing it. - An alert's evidence is tied to the run it came from. Microsoft Defender keeps one alert open for days and adds evidence to it from every later run of the same binary on the host. The platform stored the alert's file names and actions without times and matched a stage by file name, so a stage could show an alert chip for an alert that was about another run, and a stage could read Detected from an earlier run's evidence. The Defender sync (version 9) now keeps each evidence item with its times (
evidence_items), each result stores when its run started (routing.run_started_at, in UTC ISO form,run_started_atin the API rows), and the enrichment pass, the alert lookup and the execution report credit a stage only from evidence of its own run: a process that started during the run, or a file item Defender added up to 30 minutes after it. Results without a known run start, alerts stored without per-item data (among them Defender alerts last updated before the 90-day look-back, which the re-sync does not re-read), and CrowdStrike, SentinelOne and Sophos keep the earlier rule. A block by a Defender attack-surface-reduction rule raises no alert, so a Protected stage can have none. - One-time re-check of stored results, and a full Defender re-sync. After upgrading, the Defender sync re-reads its 90-day look-back (by last update), and a stored result with a Defender detection flag and a run start is re-checked once; a flag is removed only when the run's own alert lookup still finds at least one alert for it and none of the alerts found counts for the run. The Defender enrichment log line gains
stageDetectionsRemoved=,detectionsRemoved=andpreventionsRemoved=, and when flags were removed one more line lists the results:[Defender] Run-evidence re-check removed flags on: <id>, <id>, …, with(+<n> more)past 20. Labels already stored, and past Defense Scores that include them, can change once. A re-checked result is marked<vendor>_run_rule: 'run_own_evidence'. - A Defender alert is found for a run by the alert's activity as well as by its created / updated time. The lookup found an alert only when it was created, or last updated, between 5 minutes before and 30 minutes after the run's end. An alert Defender raised long after the activity never reached its run, and of the runs a long-open alert collected, only the one it was created in and about the most recent one found it. The alert's recorded activity (first to last) is now a second way in: an alert is also found when that activity overlaps the run, from 5 minutes before the run's start to 30 minutes after its end. This applies to results with a known run start, in the enrichment pass only once the alert re-sync has finished. An alert found only by its activity counts, and is listed, only through evidence of that run; without per-item evidence it is ignored. Such an alert is marked as an Achilles alert (
achilles_correlated), and so can be auto-resolved, only when it counts for the run. An alert raised late now credits its run, and every run of a long-open alert is judged. Known limits: a later run that Defender re-detects without adding a new evidence item gets no credit; an alert raised late whose only evidence is a file is still not credited; activity recorded more than 30 minutes after the run's end, or a process starting more than 5 minutes after the alert's last activity, is not found; past the first 100 alerts of one query only alerts found by alert time count the older way, and when alerts found only by activity were left unread, no stored flag that query decides is removed for that result; the technique-only step of the alert list and the report, CrowdStrike, SentinelOne and Sophos are unchanged; a result older than 90 days is not revisited. - A Defender flag needs evidence of its own run. When every alert found for a result holds nothing of its run, the result loses its Defender detection and prevention flags, whatever its exit code: an earlier run's detection or prevention is never carried to a run with no evidence of its own. The cost: a run Defender stopped without adding an evidence item to its alert reads as not detected and not prevented; the note below finds such cases. (#878)
- A stopped stage with no evidence of its run is recorded. On a fresh result (ended within 72 hours) whose stage started and did not finish, or was blocked, and whose alerts hold nothing of its run while one of them knew the file before it, the enrichment pass stores once a small note,
f0rtika.defender_no_run_evidence(no flag changes, not shown in the console), and logs[Defender] No evidence of the run for a stage that did not complete, note stored on: <id>, <id>, with(+<n> more)past 20. It exists so the case can be studied: it shows what Defender wrote on the alerts. Itsseen_at(date) andkind(stageorwide) are searchable and itsalertsare stored only, so recorded cases are found with anexistsquery onf0rtika.defender_no_run_evidence.seen_at, or from the log line. Before a pass writes the first note to a results index it puts that field's mapping on the index; if that fails, the pass writes no note to that index and logs one warning (the next pass tries again). A note is not proof that Defender stopped the stage: it is written at first sight for any stage with an exit code other than 0 and 101 while its alerts hold nothing of its run, and it stays even if evidence arrives later. - An alert is listed under every stage it has evidence for. The console listed each alert under only one stage, the first stage binary in its file list. It now appears under each stage with evidence in the run, with that stage's own action. The alert lookup returns
attributed_control_idsandstage_actions, the batch request acceptsrunStartedAt, and the execution report names every stage (stageControlIds).backend-serverlessreturns the name-based list only. - Stored results get their run start. Once at start-up the backend fills
routing.run_started_at(in UTC ISO form) on results of the last 90 days from the agent task rows and logs[Run-Start-Backfill] scanned=<n> filled=<n> unfillable=<n>. A result whose task is gone stays without it and keeps the earlier rule. The pass stops after 120 seconds; the next start-up continues. When the time limit ended it, the log line ends withincomplete=trueand is written even when nothing was scanned. - A stage that ran to completion no longer shows Prevented. A stage that exited 101 ran all the way through, yet it read Prevented whenever an EDR alert naming it carried a block action. An EDR can mark a process as blocked after the process has already exited (Microsoft Defender added "blocked" to an alert about two minutes after the stage's process had exited), and the previous rule compared times, so such an action could still count. The exit code now decides: a stage that exited 101 is never Prevented, for every EDR. It reads Detected when an EDR alert names it and Unprotected otherwise, and no prevention flag is written on it. Under such a stage, the alert's action reads "process killed, stage still completed" instead of "process killed after the run". Error-coded stages (999 and the like) are unchanged: they are still Prevented when the EDR's own alert on that stage carried a confirmed action. Detection and the Defense Score are unchanged. The time-based rule is gone, and with it
acted_after_runin the API andactedAfterRunin the execution report. - A run reads Prevented only when one of its stages was prevented. The run list, the campaign verdict and the Finished email could show a run as Prevented because a prevention flag sat on a skipped stage, or on an errored stage with no action on its own file. A run now reads Prevented only when one of its stages is Prevented on that EDR's own evidence. For a single-binary test the previous rule stays, except that one that exited 101 is never Prevented. The campaign verdict now says the EDR "raised an alert; it did not stop the test".
- Results stored with a prevention on a completed stage are corrected, whatever their age. Results from before the fix kept their prevention flags, so old runs still read Prevented. At start-up and every 5 minutes the backend now finds results that exited 101 and still carry a prevention flag or action, for every EDR whether connected or not, and clears them (detection flags and results with another exit code are not touched). It logs
[Completed-Stage-Cleanup] matched=<m> sent=<s> cleared=<c>whenever it found such results.backend-serverlessclears the Defender and CrowdStrike flags only, and only when one of those two integrations is configured: its clean-up runs just before each of their enrichment passes. - A custom test's version now follows every text file in its folder. For custom tests, and for all tests when git sync is off, the console compares versions by the content of the test's folder and leaves compiled files out. A file counted as a Windows executable when it merely started with the two letters
MZ, so a script whose first line isMZ=1was left out too: editing it changed neither the test's version nor its Rebuild needed status. A file is now a Windows executable only with a real PE header. Linux and macOS binaries were already recognised by headers no text file has. After upgrading, a custom test that has such a file reads Rebuild needed once; build it again. Tests synced from a git repository are not affected. Found by a code scan; not a security issue. (#855) - The Test Library no longer shows a guessed commit next to an unknown build, and says why. A test whose build has no recorded version used to show the synced commit beside Unknown build, which read as the commit it was built from. The commit now appears only for a test whose build recorded one, and never for a test that is not built, uploaded or unknown. A line above the list now says how many tests were built before versions were recorded and that each needs one build to record its version.
- Build & Sign no longer asks for a file that doesn't exist. A test's Deploy panel listed a missing file to upload (for example
directives) and disabled Build & Sign when a Go comment in the test merely mentioned//go:embed. Only real//go:embedlines count now, as in Go itself. Several library tests were affected, among them "PII Exfiltration to External Inference Services" and the cyber-hygiene bundles. - A generated signing certificate can now show as Valid on Windows. Generate Certificate (Settings → Tests → Certificates) produced a self-signed certificate marked as a certificate authority, because that is OpenSSL's default. Windows does not accept such a certificate as a code signer:
Get-AuthenticodeSignaturereportedUnknownError("A certificate's basic constraint extension has not been observed") for the agent and every test signed with it, even on endpoints that trust the certificate, although the endpoint guide said it would readValid. New certificates are generated as end-entity certificates (CA:FALSE) and readValidonce trusted. Existing certificates are not changed: binaries signed with them stay signed and tampering is still detected, but to getValidyou need to generate a new certificate, distribute it, activate it and rebuild. The endpoint prerequisites guide explains how to tell an affected certificate and how to rotate. Certificates from your organization's CA and the Vercel deployment were not affected. - A cyber-hygiene run where every control was skipped no longer shows
0/Nin its detail panel. The run list already said "Not assessed" for such a run, but the detail panel's Controls line showed0/Nwith an empty red bar, which read as N failed controls. It now says "Not assessed" and shows no bar. Runs with some skipped controls keep the ratio over the assessed ones. Display only: scores were not affected. (#827) - The token form in the Enroll agent dialog is one row again. TTL (hours), Max Uses and Generate Token were stacked one under the other, although the form was written as a row. They now sit side by side and wrap on a narrow screen. Display only.
- Certificate and email settings forms use the width they have. In Settings → Tests, the Generate Certificate form puts Common Name and Organization on one row and the 2-letter Country code, Password and Label on the next; the upload form puts Password and Label side by side. In Alerts & Notifications, SMTP Host and Port share a row, as do Username and Password. On a narrow screen the fields stack as before. Display only.
- Alert thresholds and notice timings sit two to a row. In Alerts & Notifications, the score thresholds and their cooldown, and the four agent alert fields, are laid out in two columns; the alert cooldown now comes before the SentinelOne agent health block. In Pre-execution notices, the three timing fields share one row, and Max wait for delivery is now labelled Max wait so that it fits. On a narrow screen the fields stack as before. Display only.
- Offline kit:
git pullworks on a kit install, and a relative--outkeeps the images. The kit's checkout had no upstream formain, so updating an install made from a kit failed with "There is no tracking information for the current branch". Andbuild-kit.sh --outwith a relative path wrote the image archives into the staged source folder, which is deleted at the end, so the kit was reported ready with no images.--outis now made absolute, the build fails when an archive is missing, andSTART-HERE.mdhas the update steps in English and Spanish. (#823) - The registered agent versions list shows who signed a binary again.
GET /api/agent/admin/versionsnever returned the recorded signer, so in Settings → Agent the signer shown after a build or upload disappeared on the next reload. - Uploading a file or a binary for a test, or deleting its build, can no longer overlap a build of that test on another backend worker. The check was made before the write and not held during it, so a build starting on another worker could embed a half-written upload. These operations now hold the same marker a build holds and answer
409 Build in progress for this teston every worker, also when two of them target the same test at once. A build that another build of the same test has taken over stops with409 Build was superseded by another build of this testinstead of finishing.
Security
- The coverage matrix no longer shows Explorers which tests and hosts a risk acceptance covers.
GET /api/analytics/coverage-matrix(and the matrix of All Executions) marked each pair a risk acceptance hides as Risk accepted, with its host and test, andstate=risk_acceptedlisted those hosts, to anyone who can read dashboards. The risk acceptance routes and the report's accepted-risk section needanalytics:risk:read, which the Explorer role does not have. Without it the matrix is now built from what the acceptance leaves, as the Defense Score is: no ⊘ marks, and a host that only accepted pairs put on the matrix is not listed. Analysts, Operators and Admins see no change. (#877) - A result can no longer borrow Defender evidence from an earlier run through its reported start time. A result's run window, which decides which Defender alerts count as evidence of that run, starts at the time the agent reports for the start of the test. That time was stored as reported, so a start long before the end made an old alert of the same test on that host count as detected, or prevented, in this run. A start is now recorded only when it is within the task's execution timeout plus two minutes of the end (the agent stops a test at its timeout); otherwise the result has no run window and is matched by the time around its end, as results were before run starts were recorded. Results stored before this change keep their start. (#877)
- Three activity and score routes have a per-user budget. The Tasks activity strip (
GET /api/agent/admin/tasks/activity) reads every task of 30 days on the request's thread, about 1.3 seconds for 50,000 tasks; the executions strip (GET /api/analytics/executions/activity) and the score movement card (GET /api/analytics/score-movement) run many Elasticsearch searches per request. All three are open to read-only roles and read-scoped API keys, and only the general budget (1,000 requests per 15 minutes) applied. They now take 20 (Tasks) and 30 (the other two) requests per minute per user, and identical executions strip requests within 5 seconds share one read. The console stays well inside these numbers. (#877) - A test that embeds a file its version does not cover no longer shows results as "current". A test's version fingerprint leaves out documentation and detection content on purpose (
.md,.html,.kql,.yar,.yara,.ndjson, and the library's<uuid>_sigma_rules.yml,<uuid>_dr_rules.yamland<uuid>_hardening*files). When a test's Go code embedded one of those files, the file was part of the binary but not of the fingerprint: changing it changed what ran on endpoints, and results from the old binary still read current in Executions, campaign evidence and the report. The console now reads every//go:embedpattern of a test when it builds it (also later patterns on a line, wildcards and folders). A build that embeds such a file gets no comparable version: the test reads Unknown build with the reason "embeds a file that versions do not cover", and its results say version unknown. No test in the published library is affected; a custom test that is must stop embedding the file or rename it. Builds made before this release are not re-examined until they are built again. Not available onbackend-serverless, which builds nothing. (#857) - Typed release notes can no longer pose as the server's build record. Settings → Agent → Registered Versions shows in its Source column the commit a version was built from, read from the line Build from source writes into the version's release notes. Uploading a binary, or registering one from a file, stores what the operator types in the same field. Notes typed in exactly that form made the console show the typed commit as the binary's source, although nothing ties an uploaded binary to a commit. It took a user who is allowed to register agent versions, and it changed what the console displays, not what agents run or verify. Both routes now answer
400for release notes that start withBuilt from source, on both backends. (#856) - An agent can download only a test's binaries from its build folder. The route an agent uses to fetch a test it was asked to run (
GET /api/agent/binary/:name) served any file name in that test's build folder. Besides the binaries, the folder holds the build record and, while a build of the test was running on a server with a signing certificate, a temporary file with the certificate's password. An enrolled endpoint with an active task for a test that was being rebuilt at that moment could read that password. The certificate file is kept elsewhere and no agent route serves it, so the password alone signs nothing. The route now serves only the file names the build record lists and answers404for everything else, and the password file is written to a private temporary directory outside the build folder.backend-serverlessapplies the same name rule. No agent update is needed. (#852) - Test ids and binary names in tasks, schedules and campaigns are validated.
test_uuidandbinary_namewere accepted as any text, and the id was joined into the path of the test's build folder. A user allowed to create tasks could make the server look for a build record outside the builds folder and learn whether a file named there exists, with its SHA-256 and size (never its content), or create tasks and results under an id that is no test's id.test_uuidmust now be a test id (UUID) andbinary_namea file name with no folder in it, when creating a task, a batch, a schedule or a campaign; anything else is a400. The build folder lookup itself also refuses an id or file name that leaves its folder, whoever calls it. API clients that send the ids the Test Library shows are not affected. Both backends. (#852) - Checking for published test versions can no longer hold the server up on a very large repository. To know which tests have a newer published version, the backend reads the file list of the configured test repository two minutes after start and every 6 hours, with nobody asking. For each test it scanned the whole list again, on the same thread that serves agents and the console: about 20 ms for the library today, 19 seconds for 5,000 tests and over 3 minutes for 20,000, during which the backend answered nothing. Whoever can publish to the configured test repository could cause that with one commit, on every worker of a clustered backend, and a large enough listing could exhaust the memory of a small server. The list is now read in one pass (5,000 tests take a fraction of a second), git is stopped when the listing passes 64 MB, and a repository whose shape would still be expensive is refused. In those cases the Test Library says Could not check for updates, with the reason The test repository is too large to check for updates, and keeps the result of the last check that worked. No fingerprint changes: no test's status or result version state changes with this. (#853)
- A synced test repository can no longer point the test library at another folder. The library root of a Git-synced repository (
tests_sourceinside the clone) is repository content, but it was trusted like a path the operator configured: if the repository made it a symbolic link, the backend listed, read and offered for build whatever folder the link led to, for any user who can browse tests. That root must now be a real folder at its own place inside the clone. Otherwise nothing from it is listed, read, catalogued or built, the tests of the other sources keep working, and the backend log says which folder was refused and why. Paths the operator sets (TESTS_SOURCE_PATH,CUSTOM_TESTS_PATH, and the clone folderTESTS_LOCAL_PATHitself) may still be symbolic links.backend-serverlesshas no runtime sync and is unchanged. (#826) - Offline kit: a kit digest tells a changed copy from the kit you built.
kit.shandkit.ps1checked the kit's files againstSHA256SUMS, which is in the kit folder next to the loaders. That finds a damaged copy, but someone able to write to a USB stick could replace an image, the list and the loader together, and a replaced backend image would receive the install's secrets.build-kit.shnow ends by printing the kit digest (the SHA-256 ofSHA256SUMS) and saves it next to the kit folder, outside it. Show it on a slide or the handout:START-HERE.mdhas one line per system to compare it and to check the loader before running it, anddeploy/offline-kit/seal-kit.sh --check <copy> <digest>checks a stick before you hand it out. The README says what the built-in check does and does not cover. The kit is still not signed. (#825) - The Claude security review no longer ends green for a commit that is not the PR's head any more. On a fork PR the review runs when a maintainer adds the
claude-reviewlabel, for the commit the PR had at that moment. When the author pushed while the review ran, the "Verify the review posted" step still passed (the comment for the earlier commit was there) and the label was removed, so the green check could be read as covering the new commits. The step now also reads the PR's current head and fails with "The PR changed during the review" when it differs, or when it cannot be read. Read the new diff and add the label again. (#824) - The run-history lookup of the target picker no longer reads every task on each call.
GET /api/agent/admin/tasks/test-recency(any user who can see tasks) parsed the stored payload of every test task to answer, and the database is synchronous, so on an install with a long task history repeated calls could keep the backend from answering agents and other users. The test id of a task is now stored in its own indexed column and both lookups are answered from an index, and each user may call the endpoint 30 times a minute. The first start after upgrading fills the column for existing tasks, which takes a few seconds on a very large task table. Not onbackend-serverless, which has no such endpoint. (#828) - The testing cadence card can no longer start an unbounded series of Elasticsearch searches.
GET /api/analytics/execution-activityread every bundle run of the window, one search per 1,000 runs with no upper limit, kept an entry in memory for each, and did so again on every call. It now counts as it reads, stops at 200,000 bundle runs (the response then saystruncated: true), and keeps the answer for 30 seconds per organization and day count. (#828) - The Test Breadth by Host data has a range and a size limit.
GET /api/analytics/host-test-matrixaccepted any date range and paged with no upper limit. It now reads at most the 365 days before the end of the range, so "All time" shows the last 365 days on that card, and at most 200,000 cells each for standalone tests and bundles; a result cut by that limit is marked with the headerX-Result-Truncated: true. (#828)