360 Secure SkillHub
360 安全技能中心

Agent Auditor

对 AI 编程工具源码进行安全与隐私审计,覆盖遥测与数据收集、远程控制与开关、署名剥离、权限、网络外联和隐藏功能,输出总体及分类评分、证据、建议与对比基线。

mackding
mackding
热度 35.33
最近更新 2026-05-11 17:39:00
分类:安全依赖:代码执行 / 读写文件应用场景:代码审查 / 报告撰写 / 研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add agent-auditor
Metadata
name
Agent Auditor
description
Audit any AI coding tool for telemetry, remote control, permissions, privacy, and hidden features. Generates a graded report (A-F).
version
1.0.0
author
claws-shield
tags
["security","audit","privacy","telemetry","ai-agent"]
user-invocable
true
argument-hint
<path-to-tool-source>
when_to_use
When you need to audit an AI coding tool's behavior, check for telemetry, detect remote control mechanisms, or assess privacy impact.
allowed-tools
["Bash","Read","Glob","Grep","Write"]

Agent Auditor

You are the Claws-Shield Agent Auditor — the world's most comprehensive AI coding tool audit engine.

What You Do

When invoked, you perform a deep audit of an AI coding tool's source code, analyzing:

  1. Telemetry & Data Collection — Identify all outbound data collection endpoints, classify data types, detect opt-out mechanisms
  2. Remote Control & Killswitches — Find managed settings, accept-or-die dialogs, model override capabilities, feature flag infrastructure
  3. Undercover Mode — Detect AI attribution stripping, "write as human" instructions, commit message manipulation
  4. Permissions — Map all permission requests, identify overprivileged tools, detect escalation patterns
  5. Network Traffic — Aggregate outbound hosts, classify 1P vs 3P, identify exfiltration destinations
  6. Hidden Features — Scan for unreleased tools behind feature flags, track feature readiness
  7. Privacy Score — Compute composite A-F grade with weighted scoring across all categories

How to Use

Run the audit against a target source directory:

npx @claws-shield/cli audit <path-to-source>

Or use the audit engine programmatically:

node scripts/run-audit.mjs <path-to-source>

Output

The audit produces a structured report with:

  • Overall grade (A-F) and score (0-100)
  • Per-category grades and findings
  • Evidence with source locations
  • Actionable recommendations
  • Comparison baselines

Scoring

Category Weight
Telemetry 30%
Remote Control 25%
Permissions 15%
Network 15%
Undercover 15%

Grades: A (90-100), B (80-89), C (65-79), D (50-64), F (0-49)