当前位置: 首页 > Skill >

TrustMyAgent

TrustMyAgent

1.0.0 2026.11.10 浏览:798
获取Skill文件查看使用说明
作者:苏知许可证:
本文目录展开

🛡️ TrustMyAgent - Security Agent

Stateless security posture monitoring for AI agents.

TrustMyAgent runs 41 read-only security checks across 14 domains on the host machine, calculates a trust score (0-100), and optionally reports results to a public Trust Center dashboard. It is fully stateless — no files are written, no state is persisted, and no background processes are installed without explicit user consent.

Open source: All check logic is visible in run.py and checks/*.json. The full source code is at github.com/Anecdotes-Yair/trust-my-agent-ai.

Setup

When the user asks to set up TrustMyAgent, walk them through the following steps. Present each step to the user and wait for their approval before executing. Do not run commands silently or skip user confirmation.

Step 1: Verify Python 3

Check that Python 3 is available:

python3 --version

If Python 3 is not installed, ask the user before installing it:

  • macOS: brew install python3
  • Linux: sudo apt-get install python3 or sudo apk add python3

Step 2: Run a dry-run assessment

Run the security assessment in dry-run mode first so the user can review the results before any data leaves the machine:

python3 {baseDir}/run.py --dry-run

This runs all 41 checks and prints the full telemetry payload that would be sent — but sends nothing. Show the user the results and let them review:

  • The trust score and tier
  • Which checks passed and failed
  • The exact JSON payload that would be transmitted

Ask the user: "Would you like to send this report to the Trust Center dashboard, run in local-only mode (no network), or adjust any settings?"

Step 3: Run the full assessment (with user consent)

If the user approves sending telemetry:

python3 {baseDir}/run.py

If the user prefers local-only mode (no telemetry sent):

python3 {baseDir}/run.py --local-only

Step 4: Schedule recurring assessments (optional)

Ask the user if they want to schedule automatic assessments. If they agree, suggest a cron job. The command varies by agent platform:

OpenClaw agents:

openclaw cron add --name "🛡️ TrustMyAgent" --cron "*/15 * * * *" --session agent:security:main --message "Run security assessment: python3 {baseDir}/run.py"

Other agents / standalone:

# Add to system crontab (runs every 15 minutes)
(crontab -l 2>/dev/null; echo "*/15 * * * * python3 {baseDir}/run.py --quiet") | crontab -

The user can choose any interval or skip scheduling entirely.

What Data Is Sent

When telemetry is enabled (the default), the following data is sent via HTTPS POST to https://www.trustmyagent.ai/api/telemetry:

Field Example Purpose
agent.id sha256(hostname) Unique identifier (derived from hostname hash, not the hostname itself)
agent.name "My Agent" Display name (from IDENTITY.md or env var)
agent.platform "darwin" OS type (darwin/linux)
agent.detected_env "macos_arm64" Runtime environment label
posture.trust_tier "HIGH" Computed trust tier
posture.overall_score 92 Numeric score 0-100
results[] {check_id, passed, status} Per-check pass/fail status
detections[] {check_id, severity, risk} Failed checks with risk context

What is NOT sent:

  • No file contents, paths, or directory listings
  • No environment variable values (only whether secret-like patterns exist)
  • No process names, PIDs, or command lines
  • No network traffic, IP addresses, or hostnames
  • No credentials, tokens, or API keys
  • No conversation transcripts or user data

The telemetry endpoint and all check logic are open source. You can verify exactly what is transmitted by using --dry-run mode.

Opting out of telemetry

Use --local-only to run all checks without any network calls:

python3 {baseDir}/run.py --local-only

This gives you the full security assessment locally without sending anything.

How It Works

  1. run.py executes on the host — triggered manually, by cron, or by agent heartbeat
  2. 41 security checks run using bash commands and Python sensors (all read-only)
  3. Trust score is calculated (0-100) based on pass/fail results and severity weighting
  4. Results are displayed locally in the terminal
  5. (Optional) Telemetry is sent to the Trust Center dashboard via HTTPS

No files are written locally. No state is persisted on the agent machine.

Security Domains

Domain Checks Focus
Physical Environment PHY-001 to PHY-005 Disk encryption, container isolation, non-root execution
Network NET-001 to NET-005 Dangerous ports, TLS/SSL, DNS, certificates
Secrets SEC-001 to SEC-005, MSG-005 Env var secrets, cloud creds, private keys, conversation leaks
Code COD-001 to COD-004 Git security, no secrets in repos
Logs LOG-001 to LOG-004 System logging, audit readiness
Skills SKL-001 to SKL-005, MSG-001, MSG-003 Skill manifests, MCP server trust
Integrity INT-001 to INT-005, MSG-002, MSG-006 Backdoors, browser abuse, suspicious tool calls, URL reputation
Social Guards SOC-001 to SOC-006, MSG-004 Action logging, session transparency, Moltbook integrity, owner reputation
Incident Prevention INC-001 to INC-005 Process spawning, system load, port scanning
Node Security NODE-001 to NODE-005 Remote execution approval, token permissions, exec allowlists
Media Security MEDIA-002 to MEDIA-003 Temp directory permissions, file type validation
Gateway Security GATEWAY-001 to GATEWAY-002 Binding address, authentication
Identity Security IDENTITY-001 to IDENTITY-002 DM pairing allowlist, group chat allowlist
SubAgent Security SUBAGENT-001 to SUBAGENT-002 Concurrency limits, target allowlists

Check Types

Bash checks (20 checks)

Defined in checks/openclaw_checks.json. Each check runs a shell command and evaluates the output against a pass_condition (equals, contains, not_contains, exit_code_zero, etc.).

Python/Message-based checks (21 checks)

Defined in checks/message_checks.json and checks/nodes_media_checks.json. These are programmatic sensors that analyze secrets, session transcripts, MCP configs, skill manifests, and more.

Platform Support

Checks auto-detect macOS vs Linux and use platform-appropriate commands. Checks can declare "platforms": ["linux"] to be gracefully skipped on unsupported platforms.

Trust Tiers

Tier Score Label
HIGH 90-100 Ready for Business
MEDIUM 70-89 Needs Review
LOW 50-69 Elevated Risk
UNTRUSTED 0-49 Critical Security Gaps

Any critical-severity failure caps the score at 49 (UNTRUSTED). Three or more high-severity failures cap at 69 (LOW).

Command Line Options

Flag Description
--checks, -c Path to custom checks JSON file
--timeout, -t Timeout per check in seconds (default: 30)
--quiet, -q Minimal output
--json, -j Output structured JSON to stdout
--dry-run Run all checks and display the telemetry payload, but do not send it
--local-only Run all checks locally without any network calls
--no-notify Skip agent notifications for detections

Configuration

Source Description Default
IDENTITY.md Agent display name (read from # Name section) "Agent"
OPENCLAW_AGENT_NAME env var Overrides IDENTITY.md name —
OPENCLAW_AGENT_ID env var Agent identifier SHA256 of hostname
TRUSTMYAGENT_TELEMETRY_URL env var Server endpoint https://www.trustmyagent.ai/api/telemetry

Files

Agent/
├── SKILL.md                        # This file
├── run.py                          # Main entry point (stateless runner)
└── checks/
    ├── openclaw_checks.json        # 20 bash-based security checks
    ├── message_checks.json         # 10 Python-based message/secret sensors
    ├── nodes_media_checks.json     # 11 infrastructure checks
    └── detection_kb.json           # Risk descriptions and remediation guidance

Architecture

┌─────────────────┐                                 ┌──────────────────┐
│   Agent Host     │      POST /api/telemetry        │ 🛡️ TrustMyAgent  │
│                  │  ────────────────────────────►   │  Server           │
│  run.py          │  (only when telemetry enabled)  │  (Cloudflare)    │
│  ├─ bash checks  │                                 │  ├─ R2 storage   │
│  └─ python checks│                                 │  ├─ agents index │
│                  │                                 │  └─ trend history│
│  (no local state)│                                 │                  │
└─────────────────┘                                  └──────────────────┘
                                                            │
                                                     trust-center.html
                                                     (public dashboard)

Privacy & Trust

  • Open source: All code is MIT-licensed and publicly auditable at github.com/Anecdotes-Yair/trust-my-agent-ai
  • Stateless: No files written, no state persisted, no background processes installed without consent
  • Opt-in telemetry: Use --local-only to run entirely offline, or --dry-run to preview before sending
  • No secrets transmitted: Checks detect the presence of issues, never transmit actual secret values
  • Transparent payload: The --dry-run flag shows the exact JSON that would be sent
  • Server: Operated by Anecdotes AI, a GRC (Governance, Risk, Compliance) company. Server code is at github.com/Anecdotes-Yair/trust-my-agent-ai-website

Credits

Built by Anecdotes AI for the AI agent ecosystem.

推荐文章

更多
PHP时间戳与日期字符串相互转换方法详解

本文介绍PHP中时间数值(Unix时间戳)与日期字符串之间的相互转换方法。通过strtotime和date函数,实现将当前时间、指定日期转换为时间戳,以及将时间戳格式化为可读的日期时间字符串,并提供相关在线计算工具推荐。

2025.11.30 1,031
PHP日期转时间戳时区偏差怎么解决

在 PHP 中将日期字符串转换为时间戳时,若未显式指定时区,默认使用脚本配置的 date.timezone 或系统时区。当服务器时区与业务逻辑预期(如 UTC )不一致时,会产生偏差。解决核心是确保输入字符串携带明确时区信息,或在转换前统一设置时区上下文。

2026.10.24 1,029
PHP跨域配置:怎么安全地允许指定域名而非使用通配符

在 PHP 中安全地允许指定域名跨域,核心是解析请求头中的 Origin ,验证其是否在白名单内,然后动态设置 Access-Control-Allow-Origin 响应头。不要使用通配符 * ,也不要硬编码单一域名。

2025.03.29 1,017
JavaScript中利用replace结合正则实现replaceAll效果

JavaScript原生仅支持replace()进行单次或全局替换,缺乏类似Java的replaceAll()便捷方法。本文总结四种在JS中实现全量替换的方案:使用带g标志的正则、带gm标志的正则、扩展String原型以及split后join。通过对比代码示例,展示各方法的实现细节与适用场景,帮助开发者根据需求选择最优解。

2025.04.29 1,014
OpenAI的Jalapeno芯片未落地,教你分辨300兆瓦算力消息

OpenAI计划在SB Energy租赁的数据中心部署约300兆瓦自研Jalapeno推理芯片,但目前双方仍处于洽谈阶段,交易细节与上线时间表均未公布。本文带你按报道原文核实项目所处阶段,厘清芯片发布、电力功率与实际推理算力的边界,并将融资意向与签约、开工、投运节点分开追踪,避免误将规划容量计入现有算力。

2026.12.02 1,011
PHP实现基础文件上传:HTML表单与$_FILES处理流程

在 HTML 表单中设置 enctype="multipart/form-data" ,并在 PHP 后端通过 $_FILES 数组接收文件,调用 move_uploaded_file() 将临时文件移动到目标目录即可完成上传。

2026.09.07 1,011
Skill 文件
  • SKILL.md
    • 🛡️ TrustMyAgent - Security Agent
    • Setup
      • Step 1: Verify Python 3
      • Step 2: Run a dry-run assessment
      • Step 3: Run the full assessment (with user consent)
      • Step 4: Schedule recurring assessments (optional)
    • What Data Is Sent
      • Opting out of telemetry
    • How It Works
    • Security Domains
    • Check Types
      • Bash checks (20 checks)
      • Python/Message-based checks (21 checks)
      • Platform Support
    • Trust Tiers
    • Command Line Options
    • Configuration
    • Files
    • Architecture
    • Privacy & Trust
    • Credits
  • 项目或源文件

相关 Skill

更多
service-qa-coach service-qa-coach Review support quality for chat, email, phone, social DM, or marketplace service teams. Use when a team needs a QA scorecard, failure-mode analysis, coaching plan, calibration checklist, or service-improvement brief without live ticketing, CRM, or contact-center system access.
高中数学作业批改助手 高中数学作业批改助手 >图片识别 直接读取学生手写作答照片,识别公式、符号、步骤 🧮 自动推导 根据题目自动生成参考答案和评分细则,无需教师预设 📊 逐步给分 每个关键步骤独立评分,体现过程分 📝 结构化报告 输出含识别内容、参考答案、逐步评分、改进建议的完整报告 🗂 批量批改 支持一次性批改多道题,最终汇总得分表
Vibration Analysis Vibration Analysis 分析来自CMS趋势、RMS/峰值、频谱及SCADA报警的风机传动链(主轴、齿轮箱、发电机)振动数据。
Traditional Bone Tool Making Basics Traditional Bone Tool Making Basics Use when you need custom, durable, repairable tools like awls, needles, scrapers, harpoons, or fishing hooks made from local animal bones or antlers and comm...
音频混音工具 音频混音工具 名称:Sound Mixing Tool(标识 sound-mixing-tool) 短简介(≤60字):音乐/音效响度精确对齐 + 融合混音工作流:用 ffmpeg 两段式 loudnorm 把多组素材 LUFS 偏差压到 <0.10,再最小干预融合、导出可进引擎的独立分轨。 标签/关键词:音频混音 响度匹配 LUFS ffmpeg 游戏音频 音效设计 Wwise FMOD 分轨导出 后期处理 触发词:混音 · 响度匹配 · LUFS 对齐 · MIX 版本 · 音乐音效分轨 · 融合 · 不打架 · 不能盖住 适用场景 :游戏音频集成、影视短视频配乐、播客后期