← 返回
内容创作 中文

Evidence URL Verifier

Verify evidence URLs are real and accessible. Check that artifact links resolve to actual content, not placeholders.
验证证据链接真实可访问,确保产物链接指向实际内容而非占位符。
dalomeve
内容创作 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 795
下载
💾 14
安装
1
版本
#latest

概述

Evidence URL Verifier

Verify evidence URLs are real and accessible.

Problem

Evidence links often:

  • Point to non-existent resources
  • Are placeholders (example.com)
  • Expire or get deleted
  • Don't match claimed content

Workflow

1. URL Validation

function Test-EvidenceUrl {
    param([string]$url)
    
    try {
        $response = Invoke-WebRequest -Uri $url -Method Head -TimeoutSec 10
        return @{
            Valid = $true
            Status = $response.StatusCode
            ContentType = $response.ContentType
        }
    } catch {
        return @{
            Valid = $false
            Error = $_.Exception.Message
        }
    }
}

# Usage
$result = Test-EvidenceUrl "https://example.com/artifact"
if ($result.Valid) {
    Write-Host "URL valid: $($result.Status)"
} else {
    Write-Error "URL invalid: $($result.Error)"
}

2. Content Verification

# Check URL matches claimed content type
$response = Invoke-WebRequest -Uri $url
if ($response.ContentType -notlike "text/*" -and $expectedType -eq "text") {
    Write-Warning "Content type mismatch"
}

# Check for placeholder text
$content = $response.Content
if ($content -match "lorem ipsum|placeholder|example") {
    Write-Warning "Content appears to be placeholder"
}

3. Artifact Existence

# For local paths
if (Test-Path $artifactPath) {
    $size = (Get-Item $artifactPath).Length
    if ($size -eq 0) {
        Write-Warning "Artifact file is empty"
    }
} else {
    Write-Error "Artifact not found: $artifactPath"
}

Executable Completion Criteria

CriteriaVerification
-----------------------
URL resolvesHTTP 200 response
Content matchesType matches expected
No placeholdersContent is substantive
Local paths existTest-Path returns true

Privacy/Safety

  • Don't log full URL contents
  • Redact sensitive data in responses
  • Respect rate limits (max 1 req/sec)

Self-Use Trigger

Use when:

  • Task claims evidence artifact
  • URL provided as proof
  • Before marking task complete
  • Audit of past completions

Verify evidence. Trust but confirm.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 02:13 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 860 📥 199,618
content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 295 📥 136,459
content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,168