Security fixes ship in the latest release published on crates.io as ownserp, on npm as @devops-infinity/ownserp, and on the GitHub releases page. Upgrade to that release before reporting an issue that may already be fixed. Pre-release versions receive no separate support.
Every GitHub release signs sha256.sum with minisign as sha256.sum.minisig. That file lists every archive, the shell and PowerShell installers, the Homebrew formula ownserp.rb, the npm package archive ownserp-npm-package.tar.gz, the CycloneDX SBOM ownserp-X.Y.Z.cdx.json, and the MCPB bundle. The README section "Release archive" shows how to check a download against the public key in minisign.pub.
Use GitHub private vulnerability reporting: open the repository's Security tab and choose "Report a vulnerability". That channel is private between you and the maintainer.
If private reporting is unavailable, send the report by email to sazzad@devops.bd with "ownserp security" in the subject.
Do not report a vulnerability in a public issue, pull request, or discussion.
- The affected version, from
ownserp --version. - The operating system and how the server runs: stdio, Streamable HTTP, container, or a bundle.
- The steps that reproduce the problem, with the arguments and the configuration that matter.
- The impact you observed, such as a leaked credential, a refused or bypassed authorization, or a crash.
- Any proof of concept, with secrets removed.
The report gets a reply on its private thread within 3 days. A confirmed critical problem gets a fixed release within 7 days, and a high one within 30 days, counted from the confirmation. A lower one ships in the next planned release. The fix ships in a release, the release notes state what changed, and the advisory is published with it. When a fix needs more time, the thread says why and gives a new date.
The dependencies are refreshed to their newest releases at least once a month, and at once when an advisory names one of them; cargo audit and cargo deny run in the gate before every push.
In scope: the code in this repository. That covers:
- Tool argument validation, over MCP, the REST API under
/v1, and the tool commands. - The HTTP bearer gate: the token store that
ownserp token createfills, which keeps only token hashes, its permission, owner, and folder checks, token expiry and revocation, the default that requires a token on every bind, namedname:tokenstatic tokens, the bearer token file and its permission and owner checks, the lockout after repeated wrong tokens, and the caller policy incallers.jsonthat limits each token's tools, calls, and credits. - The Host check, the Origin refusal, the connection, request, and body limits, and the timeouts.
- How the server picks the client address, always the TCP peer of the connection, and its direct outbound connections that ignore every proxy setting.
- Credential handling for the Serper API key.
- The profile file and its permission and owner checks.
- The ledger, the arguments key, and the audit log.
- The files the commands write or delete:
ownserp skill install, the skill install thatownserp serveruns at startup,ownserp skill auto-install,ownserp mcp-config --write,ownserp sbom --output, andownserp audit rotate,audit remove, andaudit clear-reservations. - The response shaping that treats upstream text as untrusted data.
- The release scripts and the release workflow in
.github/workflows/release.yml, and the local install scriptstools/install-local.shandtools/set-up-machine.sh.
Out of scope: the Serper.dev service and its own API, the MCP client and its model, the operating system keychain, and vulnerabilities in a third-party dependency, which belong to that dependency's own security process. An API key that leaked through a channel outside this server is handled at https://serper.dev/api-keys by revoking it there.
The server reads SERPER_API_KEY from the environment or the OS keychain, keeps it in memory, and masks it in every display. It sends the query arguments to the Serper API over TLS. It writes one row per call to a local ledger with a keyed hash of the arguments and never the query text. It writes one audit line per call to standard error with the caller's token name, the tool, the outcome, and the argument names, never their values. It sends no telemetry.
docs/threat-model.md states the assets, the trust boundaries, the controls, and the residual risks.