Trestle runs on your own machine — the client starts it, so there is no endpoint to ping. 46 installs a week from npm. Last commit 21 Jun 2026.
Detects leaked secrets (API keys, tokens, private keys) in source code.
We read the source, 2 d ago · rules 995398eba69f
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
этот файл ставится пользователю, но в репозитории его нет
const result = spawnSync(command, ["--help"], { encoding: "utf8" });
const bundled = path.join(extensionContext.extensionPath, "bin", binary);
Self::GitCredentials => ".git-credentials",
base: "https://api.telegram.org",
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add trestle -- npx -y @trestlescan/mcp
{
"mcpServers": {
"trestle": {
"command": "npx",
"args": [
"-y",
"@trestlescan/mcp"
]
}
}
}
[mcp_servers.trestle]
command = "npx"
args = ["-y", "@trestlescan/mcp"]
{
"mcpServers": {
"trestle": {
"command": "npx",
"args": [
"-y",
"@trestlescan/mcp"
]
}
}
}
{
"servers": {
"trestle": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@trestlescan/mcp"
]
}
}
}
Detect hardcoded secrets in source and config. Reports masked previews, never the values.
Detects leaked secrets & API keys: 32+ provider rules (AWS, GitHub, Stripe, OpenAI…), zero deps.
GitHub Secret Scanner - Find Leaked API Keys | Gitleaks
AI security layer: code scanning, PII detection, prompt injection, secrets, CVEs
Scan codebases for LLM/AI SDK usage, exposed API tokens, and hardcoded secrets.
Local-first PHI detection for source code, LLM prompts, logs, and analytics
Local ledger of Claude Code and Codex tokens, API-equivalent cost, limits and token-rate changes.
Security audit for AI agents — scan code/diffs for leaked secrets, check deps via OSV.
Answers built from our own checks of this server.