n8n-nodes-trustfetch
v0.1.0
Published
Prompt-injection scanning and clean webpage fetching for AI agents via TrustFetch, paid per call in USDC on Base through x402 -- no API keys.
Maintainers
Readme
n8n-nodes-trustfetch
This is an n8n community node. It lets you use TrustFetch in your n8n workflows.
TrustFetch scans text for prompt-injection attempts and fetches clean, injection-checked webpage content for AI agents — heuristics first, LLM only on the ambiguous confidence band. Paid per call in USDC on Base via x402 — no API keys, no signup.
n8n is a fair-code licensed workflow automation platform.
Installation Operations Credentials Compatibility Usage Resources
Installation
Follow the installation guide in the n8n community nodes documentation, or install n8n-nodes-trustfetch directly from the Community Nodes tab in a self-hosted n8n instance.
Operations
- Injection Scan — scan text for prompt-injection attempts.
- Injection Scan (Deep) — same, with a deeper/slower analysis tier.
- Injection Scan (Batch) — scan multiple texts in one call.
- Fetch Clean — fetch a URL and return clean markdown content.
- Fetch Clean (Batch) — fetch multiple URLs in one call.
- Safe Fetch (Flagship) — fetch a URL AND scan the result for prompt injection in one call.
Credentials
You need an EVM wallet funded with a small amount of USDC on Base mainnet. Create a "TrustFetch Wallet" credential in n8n and paste the wallet's private key — it's used locally, at execution time, to sign each payment; it is never sent to TrustFetch or logged anywhere.
The credential also has a Max Payment Per Call field (default $0.50) — a local safety ceiling. The node refuses to sign a payment above this amount no matter what a response asks for, protecting the wallet against a compromised or malicious server requesting an inflated charge.
Compatibility
Tested against n8n's programmatic node API v1. Requires Node.js 20+ (same as n8n itself).
Usage
Pick a Tool from the dropdown; the relevant fields appear below it. Each execution pays for exactly one call.
Resources
- n8n community nodes documentation
- TrustFetch — landing page, live pricing, and full tool reference
- x402 protocol
