Concept · Toller
What the Toller checks
The lockfiles, extensions, tools, git settings, open ports and places it reads; the rules behind each finding; how secrets are found and how far each went; the local AI's hints on them; and its limits.
- Article
- 1702
- Applies to
- Toller 0.4.8
- Last reviewed
- For
- For developers
Where it looks#
Your repositories: the ones Castellan and Reeve know, the usual folders (source\repos, Projects, code, dev and the like), and any you add in More folders with repositories. It skips node_modules, .git and build output, except lockfiles.
Work folders: C:\worktrees and the Steward's work folder, where worktrees and the packages installed for checks come and go (Work folders it watches). Each folder in them with a lockfile is looked at too.
What entered your projects#
For each lockfile, what was added, updated and removed since the last look:
| Ecosystem | Lockfiles |
|---|---|
| npm, pnpm, yarn | package-lock.json, npm-shrinkwrap.json, pnpm-lock.yaml, yarn.lock (classic and berry) |
| Python | requirements*.txt, Pipfile.lock, poetry.lock, uv.lock |
| Rust | Cargo.lock |
| .NET | packages.lock.json |
| Go | go.sum |
Two kinds of new package are flagged:
- It runs a script when installed: npm's
preinstall,installorpostinstall, as the lockfile or the installedpackage.jsonsays, or pnpm'srequiresBuild. - Its name is one edit away from a much more popular package in the same ecosystem: a common way to slip a look-alike in.
Either one, or a new global tool that runs an install script, also shows in Castellan's Needs you, with a Windows notification as Notify me allows, until you mark it seen on the Toller's page.
In a work folder, a package that runs an install script is told the first time it's seen there, since these folders come and go. The ones expected there (esbuild, unrs-resolver and fsevents, at first) are no news: Install scripts expected in work folders.
Known vulnerabilities are Reeve's to report, so they aren't repeated here.
What entered your tools#
- Editor extensions, new and updated, in VS Code, VS Code Insiders and the editors built on it, with their publisher and whether they came from a
.vsixfile. - Global tools: npm, pip, pipx, uv, cargo and dotnet.
- Folders added to PATH, the user's and the machine's.
- Git hooks in each project, and a
core.hooksPath. - Git's global and system settings that change: hooks, credential helpers,
fsmonitor,sslVerify,safe.directory, URL rewrites.
Some git settings are flagged whenever they're there, not only when they change: sslVerify off, credentials stored in plain text, and every folder trusted.
Dev servers open to your network#
Ports listening on every address (0.0.0.0 or ::), not only this PC, whose program is a developer runtime (Node, Python, .NET, Java, Deno, Bun, Ruby, PHP, Docker's proxies, tunnels and the like) or was built inside a project. It names the project when the program's path or command line says, and says how to keep the server to this PC.
It only says what's open. Stray processes are the Pinder's.
Secrets left in the open#
What it recognises: keys by their shape, for cloud providers, code hosts, payment services, AI services, chat apps, package registries and mail services; private key blocks; and a general rule, a secret-sounding name given a random-looking value, which takes care to pass over placeholders, made-up values and test fixtures.
Where it looks (Where it looks for secrets, a setting):
- Your repositories: tracked and untracked files, and
.envfiles committed to git. - PowerShell and bash histories: PowerShell's, bash's and zsh's, and the Node and Python REPLs'.
- Text and JSON files in Downloads.
- And
~/.git-credentials.
How far it went, for each one in a repository: pushed, committed, not committed yet, or not tracked.
The local AI's hints
The general rule also catches placeholders, test values and examples. Where your PC has an NPU, the local AI looks at each of its finds and says what kind of place the line is in: a test, documentation, an example, or a program's live code and settings. A find in a test, documentation or an example gets Maybe a placeholder beside it, marked as a guess from the Toller.
- It's only a hint. Code finds the secrets and decides: every finding stays, as serious as before, until you look. The model can be wrong, and where it's unsure, no hint is shown.
- Keys found by their shape are never asked about.
- The value goes to the model on this PC alone, in memory, and is never kept, logged or shown. The Toller keeps the model's answer by the secret's fingerprint, so the same value isn't asked about twice.
- The NPU only, never the graphics card or the processor: a few finds a round, and none while another program holds or waits for the NPU. What's left waits for a later round. On a PC without an NPU, there are no hints.
Local AI hints on secrets, in its Settings, turns them off.
Its limits#
- No registry data. When a package was published and who maintains it would take the network, and it doesn't ask.
- Install scripts are known for npm and pnpm only, not Python's
setup.pyor Cargo'sbuild.rs. - Git history: a secret is looked for in the working tree,
HEADand the upstream branch, not in every commit ever made. - Open isn't reachable: it means listening on every address. Your firewall isn't checked.
- The project an open server came from is told from its program's path or command line, since Windows doesn't show another process's working folder.
- Big repositories: up to 20,000 files each, files up to 1 MB, and 256 MB read a round. The rest is read on the next round.
Related articles
Is this page right?
If something on it is wrong or out of date, tell us and we'll fix the page.
Still stuck? Write to support@castellan-software.com and mention article 1702. Every version of Toller, and what changed in it, is in its release notes.