# Trestle

> Use this tool when you need to identify and secure sensitive information in your source code, such as leaked API keys, tokens, or private keys. Trestle detects these secrets to prevent unauthorized access and data breaches, solving problems related to code security and compliance. It takes source code as input and outputs identified leaked secrets, making it a crucial tool for developers and security teams to use during code reviews and audits.

Canonical page: https://skillsregistry.net/skills/com-trestlescan-trestle  
JSON: https://api.skillsregistry.net/v1/skills/com-trestlescan-trestle

## Description

Detects leaked secrets (API keys, tokens, private keys) in source code.

## Trust

- **Trust score (0–1):** 0.36
- **Verification tier:** scanned
- **Last scanned:** 2026-09-03

## Facts

- **Version:** 1.4.1
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** security
- **Updated:** 2026-09-03

## Source

- **Source listing:** [MCP Registry](https://registry.modelcontextprotocol.io/v0/servers/com.trestlescan%2Ftrestle)
- **Repository:** <https://github.com/toro-guapo/trestle>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "com-trestlescan-trestle"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/com-trestlescan-trestle` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/com-trestlescan-trestle/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
