Token导航 LogoToken导航

Agent Skill · 研究检索

authaudit(authaudit 控制)

用于辅助安全审计、权限检查、凭据风险、认证流程和常见漏洞排查。它适合让 Agent 梳理敏感配置、检查依赖风险、分析鉴权逻辑或生成安全复核清单。使用时不能把工具输出直接当最终结论,涉及密钥、令牌、用户数据或生产系统时,应先确认最小权限、脱敏方式和操作边界。

authaudit 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 31,291。

总安装 2,728周安装 116GitHub Stars 公开资料未说明下载 956核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.1

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:authaudit(authaudit 控制)
来源仓库:https://github.com/suhteevah/authaudit
安装命令:
openclaw skills install authaudit
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install authaudit

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

authaudit 用于分析身份验证和授权模式,查找安全漏洞如 CSRF 间隙或令牌处理问题。适用于安全审计和常见漏洞排查场景。通过 clawhub 安装并使用 openclaw skills install authaudit 命令部署。使用时不能将工具输出直接作为最终结论,涉及用户数据时应先确认最小权限和操作边界。

建议结合来源仓库和原始 README 文档进一步核验具体用法和功能边界。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install authaudit;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

authaudit 怎么安装?

在终端执行 openclaw skills install authaudit。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

authaudit 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

authaudit 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

authaudit 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

authaudit 用的人多吗?

公开数据是累计安装 2,728 次,近一周安装 116 次,下载 956 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

authaudit 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
authaudit

authaudit 控制 · 本页

2,728—接触敏感数据MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
AuthAudit
version
1.0.0
description
Authentication & authorization pattern analyzer — finds missing auth checks, insecure sessions, broken access control, CSRF gaps, and token handling vulnerabilities
author
ClawHub
tags
[authentication, authorization, access-control, csrf, session-security, tokens]
license
COMMERCIAL
triggers
tools
[Bash, Read, Glob, Grep]
metadata
user-invocable
true
disable-model-invocation
false

AuthAudit -- Authentication & Authorization Pattern Analyzer

AuthAudit scans your codebase for authentication and authorization vulnerabilities including missing auth checks, insecure session handling, broken access control, CSRF gaps, token storage issues, and credential management weaknesses. It supports JavaScript/TypeScript, Python, Ruby, Go, Java, and PHP codebases. All scanning happens locally using regex-based pattern matching -- no code is sent to external servers.

Check Categories

AuthAudit organizes its 90 security patterns into 6 categories:

1. AC -- Authentication Checks (15 patterns)

Detects missing authentication middleware, unprotected routes, bypassed login checks, missing auth decorators, unauthenticated API endpoints, disabled authentication, anonymous access to sensitive resources, and missing multi-factor authentication enforcement.

2. SM -- Session Management (15 patterns)

Finds insecure session configuration, missing session expiry, absent session rotation on privilege changes, predictable session IDs, session fixation vulnerabilities, missing Secure/HttpOnly cookie flags, overly long session lifetimes, and sessions stored in insecure locations.

3. AZ -- Authorization/Access Control (15 patterns)

Identifies missing role checks, broken object-level authorization (BOLA), insecure direct object references (IDOR), missing permission verification, privilege escalation paths, hardcoded admin roles, missing function-level authorization, and horizontal access control bypasses.

4. TK -- Token Handling (15 patterns)

Catches JWT stored in localStorage, tokens transmitted in URL parameters, missing token expiry validation, absent token refresh rotation, weak signing algorithms (none/HS256 with secrets), token leakage in logs, missing audience/issuer validation, and insecure token generation.

5. CS -- CSRF Protection (15 patterns)

Detects missing CSRF tokens on state-changing endpoints, absent SameSite cookie flag, GET requests performing side effects, missing Origin/Referer validation, state-changing GET endpoints, disabled CSRF middleware, CORS misconfigurations enabling CSRF, and missing double-submit cookie patterns.

6. PW -- Password & Credential Management (15 patterns)

Finds weak password requirements, plaintext password comparison, missing bcrypt/argon2 hashing, absent rate limiting on login endpoints, passwords in query strings, hardcoded credentials, insecure password reset tokens, missing password complexity enforcement, and credential logging.

Severity Levels

Each finding is classified by severity:

SeverityWeightDescription
Critical25 pointsActive vulnerability that can be immediately exploited
High15 pointsSignificant security weakness requiring prompt attention
Medium8 pointsSecurity concern to address in upcoming sprints
Low3 pointsBest-practice improvement or informational finding

Scoring System

AuthAudit calculates a security score from 0 to 100:

  • Starting score: 100
  • Deductions: Each finding subtracts points based on severity weight
  • Scaling: Penalties are scaled relative to codebase size (more files = smaller per-issue impact)
  • Pass threshold: 70 (score >= 70 = pass, score < 70 = fail)

Grades

GradeScore RangeMeaning
A90 -- 100Excellent auth posture
B80 -- 89Good, minor improvements needed
C70 -- 79Acceptable, several issues to fix
D60 -- 69Below threshold, significant concerns
F0 -- 59Critical auth vulnerabilities present

Commands

Free Tier (No license required)

authaudit scan [file|directory]

One-shot authentication and authorization audit of source files.

How to execute:

bash "<SKILL_DIR>/scripts/dispatcher.sh" --path [target]

What it does:

  1. Accepts a file path or directory (defaults to current directory)
  2. Finds all source files (excluding .git/, node_modules/, dist/, build/, vendor/, __pycache__)
  3. Runs the first 30 auth/authz patterns against each file (free tier limit)
  4. Outputs findings with: file, line number, check ID, severity, description, recommendation
  5. Calculates a security score (0-100) with letter grade
  6. Free tier: limited to 30 of 90 patterns
  7. Exit code 0 if score >= 70, exit code 1 if score < 70

Example usage scenarios:

  • "Scan my code for auth vulnerabilities" -> runs authaudit scan .
  • "Check for missing authentication" -> runs authaudit scan src/
  • "Audit my session handling" -> runs authaudit scan .
  • "Find CSRF vulnerabilities" -> runs authaudit scan .
  • "Check token security" -> runs authaudit scan .
authaudit scan [file|directory] --category AC

Scan only a specific category.

bash "<SKILL_DIR>/scripts/dispatcher.sh" --path [target] --category AC
authaudit scan [file|directory] --format json

Output results in JSON format for CI/CD integration.

bash "<SKILL_DIR>/scripts/dispatcher.sh" --path [target] --format json

Pro Tier ($19/user/month -- requires AUTHAUDIT_LICENSE_KEY)

authaudit scan [file|directory] (60 patterns)

Full security audit with 60 patterns enabled (free + pro patterns).

bash "<SKILL_DIR>/scripts/dispatcher.sh" --path [target]

What it does (beyond free):

  1. Runs 60 of 90 patterns (all free + pro-tier patterns)
  2. Includes advanced session management, token handling, and credential checks
  3. Detailed remediation advice per finding
  4. HTML report output support
authaudit hooks install

Install git pre-commit hooks that scan staged files for auth issues before every commit.

bash "<SKILL_DIR>/scripts/dispatcher.sh" hooks install
authaudit hooks uninstall

Remove AuthAudit git hooks.

bash "<SKILL_DIR>/scripts/dispatcher.sh" hooks uninstall
authaudit report [directory]

Generate a markdown security audit report.

bash "<SKILL_DIR>/scripts/dispatcher.sh" report [directory]

Team/Enterprise Tier ($39/user/month -- requires AUTHAUDIT_LICENSE_KEY with team tier)

authaudit scan [file|directory] (all 90 patterns)

Complete audit with all 90 patterns across all 6 categories.

bash "<SKILL_DIR>/scripts/dispatcher.sh" --path [target]
authaudit scan [file|directory] --format html

HTML report with interactive severity filtering.

bash "<SKILL_DIR>/scripts/dispatcher.sh" --path [target] --format html

Tier-Based Pattern Access

TierPatterns AvailableCategories
Free30 (first 5 per category)AC, SM, AZ, TK, CS, PW
Pro60 (first 10 per category)AC, SM, AZ, TK, CS, PW
Team90 (all patterns)AC, SM, AZ, TK, CS, PW
Enterprise90 (all patterns)AC, SM, AZ, TK, CS, PW

Output Formats

  • text (default) -- Human-readable terminal output with colors and severity icons
  • json -- Machine-readable JSON for CI/CD pipelines and tooling integration
  • html -- Self-contained HTML report with severity filtering (Team+)

Configuration

Users can configure AuthAudit in ~/.openclaw/openclaw.json:

{
  "skills": {
    "entries": {
      "authaudit": {
        "enabled": true,
        "apiKey": "YOUR_LICENSE_KEY_HERE",
        "config": {
          "severityThreshold": "medium",
          "excludePatterns": ["**/node_modules/**", "**/dist/**", "**/.git/**"],
          "reportFormat": "text",
          "categories": ["AC", "SM", "AZ", "TK", "CS", "PW"]
        }
      }
    }
  }
}

Important Notes

  • Free tier works immediately with no configuration (30 patterns)
  • All scanning happens locally -- no code is sent to external servers
  • License validation is offline -- no phone-home or network calls
  • Supports JS/TS, Python, Ruby, Go, Java, and PHP codebases
  • Git hooks use lefthook which must be installed (see install metadata above)
  • Exit codes: 0 = pass (score >= 70), 1 = fail (score < 70 or critical issues)

Error Handling

  • If lefthook is not installed and user tries hooks install, prompt to install it
  • If license key is invalid or expired, show clear message with link to https://authaudit.dev/renew
  • If a file is binary, skip it automatically with no warning
  • If no source files found in target, report clean scan with info message
  • If an invalid category is specified, list valid categories and exit

When to Use AuthAudit

The user might say things like:

  • "Scan my code for authentication issues"
  • "Check if my routes have auth middleware"
  • "Find missing authorization checks"
  • "Audit my session handling"
  • "Check for CSRF vulnerabilities"
  • "Find insecure token storage"
  • "Check for hardcoded credentials"
  • "Audit my password handling"
  • "Find privilege escalation paths"
  • "Check for broken access control"
  • "Scan for insecure session configuration"
  • "Find JWT vulnerabilities in my code"
  • "Check my login flow for security issues"
  • "Audit auth patterns in my codebase"

平台分布

OpenClaw

97.27%
按下载量换算930

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

可疑

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills