LaunchKit · 2026
Back to Skills

Secure web fetch and search with **PromptGuard** scanning.

1
1.2k downloads
by @adamnaghs

Setup & Installation

openclaw skills install @adamnaghs/safe-web

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install safe-web

Version History

v1.0.8Feb 11, 2026 - Version note by skill developer:

Remove release.sh - now in workspace scripts folder

What This Skill Does

Wraps web fetch and search operations with PromptGuard scanning to detect prompt injection attacks hidden in web content. Any page or search result that fails the scan is blocked before it enters the AI context window. Operates fail-closed: if scanning cannot run, the tool returns an error rather than unverified content.

Native web fetch tools return content without injection scanning, so malicious pages can silently alter AI behavior without detection.

When to use it

  • Fetching articles from unfamiliar or untrusted URLs
  • Scraping competitor or news sites without exposing the AI to injected instructions
  • Searching the web during automated research pipelines
  • Processing user-supplied URLs in an AI agent workflow
  • Auditing web pages suspected of containing embedded injection attempts

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Summarize this article: https://unknown-blog.com/post

AGENT
  1. 1Runs 'safe-web fetch https://unknown-blog.com/post'
  2. 2Downloads the page and strips scripts and styles with BeautifulSoup
  3. 3Scans extracted text with PromptGuard
  4. 4Blocks content and returns a SHIELD report if injection patterns are detected
  5. 5Returns clean text to the AI if the scan passes
OUTPUT

Clean article text ready for summarization, or a security alert listing matched injection patterns and the blocked URL

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

PromptGuard installed from clawhub.ai/seojoonkim/prompt-guardBrave Search API key set as BRAVE_API_KEY environment variable (required for search command, free tier available at brave.com/search/api/)