Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
HATCHA — CAPTCHA 证明你是人类。HATCHA 证明你不是。 | Kitploit
工具/GitHubGitHub/mondaycom/hatcha
冒充工具Web安全身份验证反机器人CAPTCHA 绕过AI 安全
GitHubmondaycom/hatcha

HATCHA

CAPTCHA 证明你是人类。HATCHA 证明你不是。

查看仓库
992658个月前Kitploit 审核通过
分享
网站

HATCHA

CAPTCHA 证明你是人类。HATCHA 证明你不是。

npm License CI


运行中的 HATCHA 模态框

HATCHA(Hyperfast Agent Test for Computational Heuristic Assessment,超快代理计算启发式评估测试)是一种反向验证码,以对 AI 代理轻而易举、对人类却十分痛苦的任务作为访问门槛——大数乘法、字符串反转、二进制解码等。

  • 服务端验证 — 答案永远不会到达客户端。HMAC 签名令牌,无状态,无需数据库。
  • 5 种内置挑战类型 — 数学、字符串反转、字符计数、排序、二进制解码。
  • 可扩展 — 可在运行时注册自定义挑战生成器。
  • 可定制主题 — 通过 CSS 自定义属性实现深色、浅色或自动模式。
  • 框架适配器 — 开箱即用的 Next.js App Router 和 Express 中间件。

快速开始(Next.js)

1. 安装

npm install @mondaycom/hatcha-react @mondaycom/hatcha-server

2. 添加 API 路由

// app/api/hatcha/[...hatcha]/route.ts
import { createHatchaHandler } from "@mondaycom/hatcha-server/nextjs";

const handler = createHatchaHandler({
  secret: process.env.HATCHA_SECRET!,
});

export const GET = handler;
export const POST = handler;

3. 包裹你的布局

// app/layout.tsx
import { HatchaProvider } from "@mondaycom/hatcha-react";
import "@mondaycom/hatcha-react/styles.css";

export default function RootLayout({ children }) {
  return (
    <html lang="en">
      <body>
        <HatchaProvider>{children}</HatchaProvider>
      </body>
    </html>
  );
}

4. 触发验证

"use client";
import { useHatcha } from "@mondaycom/hatcha-react";

function AgentModeButton() {
  const { requestVerification } = useHatcha();

  return (
    <button
      onClick={() =>
        requestVerification((token) => {
          console.log("Agent verified!", token);
        })
      }
    >
      Enter Agent Mode
    </button>
  );
}

5. 设置你的密钥

# .env.local
HATCHA_SECRET=your-random-secret-here

工作原理

Client                            Server
  │                                 │
  │  GET /api/hatcha/challenge      │
  │────────────────────────────────►│
  │                                 │  Generate challenge
  │                                 │  Hash answer
  │                                 │  HMAC-sign { hash, expiry }
  │  { challenge (no answer), token }
  │◄────────────────────────────────│
  │                                 │
  │  Agent solves the challenge     │
  │                                 │
  │  POST /api/hatcha/verify        │
  │  { answer, token }              │
  │────────────────────────────────►│
  │                                 │  Verify HMAC signature
  │                                 │  Check expiry
  │                                 │  Compare answer hash
  │  { success, verificationToken } │
  │◄────────────────────────────────│

答案永远不会到达客户端。签名令牌是不透明的,仅包含哈希后的答案和过期时间。验证是无状态的——无需数据库。

挑战类型

类型图标作用时间限制
math×5 位数 × 5 位数乘法30 秒
string↔反转一个 60–80 字符的随机字符串30 秒
count#统计约 250 个字符中特定字符的出现次数30 秒
sort⇅对 15 个数字排序,返回第 k 小的数字30 秒
binary01将二进制八位组解码为 ASCII30 秒

自定义挑战

import { registerChallenge } from "@mondaycom/hatcha-server";

registerChallenge({
  type: "hex",
  generate() {
    const n = Math.floor(Math.random() * 0xffffff);
    return {
      display: {
        type: "hex",
        icon: "0x",
        title: "Hex Decode",
        description: "Convert this hex number to decimal.",
        prompt: `0x${n.toString(16).toUpperCase()}`,
        timeLimit: 30,
        answer: String(n),
      },
      answer: String(n),
    };
  },
});

主题定制

HATCHA 使用以 --hatcha-* 为作用域的 CSS 自定义属性。你可以在任意父元素上覆盖它们:

[data-hatcha-theme] {
  --hatcha-accent: #3b82f6;
  --hatcha-accent-light: #60a5fa;
  --hatcha-bg: #060b18;
  --hatcha-fg: #e4eaf6;
  --hatcha-success: #22c55e;
  --hatcha-danger: #ef4444;
}

将 theme="dark"、theme="light" 或 theme="auto" 传给 <HatchaProvider> 或 <Hatcha>。

Express

import express from "express";
import { hatchaRouter } from "@mondaycom/hatcha-server/express";

const app = express();
app.use(express.json());
app.use("/api/hatcha", hatchaRouter({ secret: process.env.HATCHA_SECRET! }));

app.listen(3000);

包

包描述
@mondaycom/hatcha-core挑战生成与加密验证
@mondaycom/hatcha-reactReact 组件、提供者和样式
@mondaycom/hatcha-serverNext.js 和 Express 服务端处理器

开发

git clone https://github.com/mondaycom/HATCHA.git
cd HATCHA
pnpm install
pnpm build
cd examples/nextjs-app
pnpm dev

参与贡献

欢迎贡献!有关环境搭建说明和指南,请参阅 CONTRIBUTING.md。

许可证

MIT

下载工具

最受欢迎

查看全部 →

发现我们社区最常用的工具。

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 终极 OSINT 工具包:调查图谱、置信度评分、别名家族、地图、时间线和报告。49 个模块、400+ 个站点,无需 API 密钥。

    654
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock 一键执行应用(CVE-2026-43499)

    490
  • 3

    ARTEX

    baarai/artex

    基于LLM的多智能体自主渗透测试平台,具备规划器/执行器智能体、资产与探索图谱、MITM流量记录以及漏洞复测功能。

    395
  • 4

    redforge

    cybersecurity91/redforge

    浏览器端红队工具包,包含 102 个离线工具,用于侦察、载荷生成、凭据攻击、加密、编码和交战报告。

    336
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    AI原生网络安全的行动系统——在这里,意图转化为受治理的执行,证据沉淀为运营记忆,每一次操作都让下一次更出色。

    258
  • 6

    antifox

    antifox-ai/antifox

    AI multi-agent autonomous penetration testing platform that runs recon, attack-surface discovery, exploitation validation and evidence-backed report delivery.

    252

探索所有工具

浏览我们的工具集合

查看所有工具 →