Scan your whole stack
Are you using @devicefarmer/stf?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v3.11.0
@devicefarmer/stf was last scanned on 2 Dec 2026 at version 3.11.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 3.11.0 LATEST | 2 Dec 2026 | No rules fired |
| 3.10.0 | 27 Nov 2026 | No rules fired |
| 3.9.0 | 26 Oct 2026 | No rules fired |
| 3.8.0 | 23 Sep 2026 | Not shown |
Findings for v3.11.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 3.11.0; other versions have their own rules, not their own score.
1 CRITICAL 0 HIGH 0 MEDIUM 0 LOW
The publisher’s own README, as collected from the registry.
STF (or Smartphone Test Farm) is a web application for debugging smartphones, smartwatches and other gadgets remotely, from the comfort of your browser.


Thank you to all the people who have already contributed to STF!
root is not required for any current functionalityAlt while dragging.apk filesadb connect to connect to a remote device as if it was plugged in to your computer, regardless of ADB mode and whether you're connected to the same networkadb command locally, including shell access[administrator level] to allocate distinct sets of devices to different projects or organizations (i.e. represented by user sets) for an unlimited period[administrator level][administrator level][administrator level]STF is in continued, active development, but development is still largely funded by individual team members and their unpaid free time, leading to slow progress. While normal for many open source projects, STF is quite heavy on the hardware side, and is therefore somewhat of a money sink.
We're also actively working to expand the team, don't be afraid to ask if you're interested.
Here are some things we are planning to address ASAP.
As the product has evolved from an internal tool running in our internal network, we have made certain assumptions about the trustworthiness of our users. As such, there is little to no security or encryption between the different processes. Furthermore, devices do not get completely reset between uses, potentially leaving accounts logged in or exposing other sensitive data. This is not an issue for us, as all of our devices are test devices and are only used with test accounts, but it may be an issue for you if you plan on deploying STF to a multiuser environment. We welcome contributions in this area.
Note that you need these dependencies even if you've installed STF directly from NPM, because they can't be included in the package.
On Mac OS, you can use homebrew to install most of the dependencies:
brew install rethinkdb graphicsmagick zeromq protobuf yasm pkg-config cmake
On Windows you're on your own. In theory you might be able to get STF installed via Cygwin or similar, but we've never tried. In principle we will not provide any Windows installation support, but please do send a documentation pull request if you figure out what to do.
We also provide a Docker container in the Docker Hub as devicefarmer/stf. You can use our Dockerfile as guidance if you'd prefer to do the installation yourself. The docker-compose.yaml runs STF units as separate services. See the Compose setup guide for configuration and startup instructions. For Kubernetes, see the Helm deployment guide. For automated device reservations, see the STF coordinator guide.
You should now be ready to build or run STF.
Note that while Mac OS can be used for development, it doesn't provide a very reliable experience in production due to (presumed) bugs in ADB's Mac OS implementation. We use CoreOS but any Linux or BSD distribution should do fine.
As mentioned earlier, you must have all of the requirements installed first. Then you can simply install via NPM:
npm install -g @devicefarmer/stf
Now you're ready to run. For development, though, you should build instead.
To build a container from this checkout, use Docker with BuildKit:
docker build -t stf:local .
docker run --rm stf:local
The Dockerfile supports linux/amd64 and linux/arm64. Build tools stay in separate stages. The runtime contains Node.js, production dependencies, GraphicsMagick and a headless Java runtime. STF runs as an unprivileged user with read-only access to the application files in /app. Dependency installation is cached independently of application sources. It runs npm ci, so the image gets the versions recorded in package-lock.json; a source tree without that file falls back to npm install. The bundled AAB-to-APK tool requires amd64.
For custom health checks inside STF containers, replace wget with a Node.js probe like the one in Docker Compose. Derived images that use npm or compile native modules should do so in a build stage and copy the resulting files into the runtime image. To refresh Ubuntu packages in a local build, pass --no-cache-filter runtime-base to docker buildx build.
To use a custom npm registry or credentials, pass an npm config as a BuildKit secret:
docker build --secret id=npmrc,src="$HOME/.npmrc" -t stf:local .
The config file is mounted only for npm build steps and is not copied into image layers. The Ubuntu build excludes .npmrc files from its context via Dockerfile.dockerignore. Without the secret, npm uses its defaults. Host environment variables referenced by the file (such as ${NPM_TOKEN}) are not forwarded.
Secret contents do not invalidate the build cache; after changing the config, rebuild with docker buildx build --no-cache-filter dependencies,production-dependencies,build --secret id=npmrc,src="$HOME/.npmrc" --load -t stf:local ..
After you've got all the requirements installed, it's time to fetch the rest of the dependencies.
First, fetch all NPM modules:
npm ci
npm ci installs exactly the versions recorded in package-lock.json, as CI and the Docker image do. npm install works as well; it also updates package-lock.json when package.json asks for something the lockfile does not have.
Then compile the TypeScript sources in lib/, which bin/stf runs from:
node build.mts compile
You may also wish to link the module so that you'll be able to access the stf command directly from the command line:
npm link
You should now have a working installation for local development.
STF comprises several independent processes that must normally be launched separately. Deploy them with the Compose setup guide; DEPLOYMENT.md covers the older route with one systemd unit per process.
For development purposes, however, there's a helper command to quickly launch all required processes along with a mock login implementation. Note that you must have RethinkDB running first.
If you don't have RethinkDB set up yet, to start it up, go to the folder where you'd like RethinkDB to create a rethinkdb_data folder in (perhaps the folder where this repo is) and run the following command:
rethinkdb
Note: if it takes a long time for RethinkDB to start up, you may be running into rethinkdb/rethinkdb#4600 (or rethinkdb/rethinkdb#6047). This usually happens on macOS Sierra. To fix this on macOS, first run scutil --get HostName to check if the HostName variable is unset. RethinkDB needs it to generate a server name for your instance. If you find that it's empty, running sudo scutil --set HostName $(hostname) has been confirmed to fix the issue on at least one occasion. See the issues for more complete solutions.
You should now have RethinkDB running locally. Running the command again in the same folder will reuse the data from the previous session.
An administrator level is available in STF in addition of the native user one, with increased rights on some features (e.g. booking & partitioning systems, management of users & devices, ...). The corresponding built-in administrator user has the following default credentials:
administratoradministrator@fakedomain.comAnother built-in object exists, this is the root standard group to which the users and devices belong the first time they register to the STF database, its default name is Common
These built-in objects are created in the STF database if they do not already exist
Of course, you can override the default values of these built-in objects by settings the following environment variables before to initialize the STF database through stf local or stf migrate commands:
STF_ROOT_GROUP_NAMESTF_ADMIN_NAMESTF_ADMIN_EMAILYou're now ready to start up STF itself:
stf local
Later, if you want to change the values of these built-in objects, for example to change the identity of the administrator user, you must follow the below instructions or you are likely to encounter data inconsistency issues:
stf migrate commandERR/db:api.. (e.g. you tried to change the name of the current administrator or the new administrator already exists in the database), it means that no changes have been made to the database that remain consistentstf local
After the webpack build process has finished (which can take a small while) you should have your private STF running on http://localhost:7100. If you had devices connected before running the command, those devices should now be available for use. If not, you should see what went wrong from your console. Feel free to plug in or unplug any devices at any time.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.