Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

product-antifraudproduct antifraud 搜索

Agent Skill

product-antifraud 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

343

周安装

14

GitHub Stars

60

下载量

111
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:product-antifraud(product antifraud 搜索)
来源仓库:https://github.com/vasilyu1983/ai-agents-public
仓库路径:skills/product-antifraud
安装命令:
npx skills add https://github.com/vasilyu1983/ai-agents-public --skill product-antifraud
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/vasilyu1983/ai-agents-public --skill product-antifraud

简介

用于查找、检索和筛选反欺诈相关的策略与技术方案。

  • 适合在风控模型、规则引擎或审计流程中调用。product-antifraud 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 通过 GitHub 安装,支持 Codex、Claude、Cursor 和 Gemini CLI 等宿主环境。
  • 使用时需明确风险类型与检测阈值等关键参数。
  • 安装前建议确认权限范围,防止访问客户敏感行为数据。

SKILL.md

Product Antifraud -- Log-Based Fraud Detection

AspectDetail
PurposeRule-based fraud detection from application logs (registration + auth flows)
ApproachPure Python + pandas -- counting, grouping, threshold problems
Not forML classification -- use at moderate volumes (~50K entries/day)
OutputsMarkdown report + CSV alerts for security teams

When to Use This Skill

TaskThis Skill Applies
Building fraud detection scripts for registration or auth logsYes
Analyzing K8s application logs for suspicious behavioral patternsYes
Detecting bots, credential stuffing, or velocity abuse from structured logsYes
Auditing logs for GDPR PII exposure (unmasked emails, phones, names)Yes
Designing tunable threshold-based rule engines with JSON configYes
Reviewing or extending existing antifraud detection rulesYes
Building fraud alerting reports (Markdown + CSV) for security teamsYes
ML-based fraud scoring (real-time model inference)No -- use ai-ml-data-science
Application security hardening (OWASP, auth implementation)No -- use software-security-appsec
Infrastructure log analysis (access logs, firewall, WAF)No -- use ops-devops-platform
Real-time streaming fraud detectionNo -- use data-lake-platform

Quick-Start Checklist

StepActionNotes
1Identify log typeRegistration (.txt.gz/.debug.gz) or auth (.log/.log.gz)
2Create directory structureconfig/, reports/, script file
3Build LogParserCorrect timestamp format: , for registration ms, . for auth ms
4Implement SessionAggregatorpandas groupby for key dimensions (token, IP, device, email)
5Create JSON configDefault thresholds (see Configuration Pattern below)
6Implement velocity rulesR1-R12 or A1-A13 -- highest signal-to-noise ratio
7Add bot detection rulesR13-R17 or A14-A19
8Add behavioral analysis rulesR18-R22 or A20-A25
9Enable PIIScannerGDPR compliance pass on all log lines
10Test in discover mode--mode discover against example data
11Tune thresholdsReduce false positives, verify known fraud patterns surface
12Cross-node correlationMerge by token/session_id before aggregation

Quick Reference

Architecture (4 Layers)

Every fraud detection script follows this pattern:

Log Files (.gz, .log)
    |
    v
[1] LogFileReader       -- Walk dirs, handle .gz decompression, iterate lines
    |
    v
[2] LogParser           -- Regex extraction -> dataclass (RegistrationEvent / AuthEvent)
    |
    v
[3] SessionAggregator   -- Group by token/IP/device/email, compute features
    |
    v
[4] RuleEngine + Report -- Evaluate rules, produce Markdown + CSV alerts

Detection Rule Categories

CategoryRegistration (R)Authentication (A)Reference
Fraud velocityR1-R12A1-A13references/registration-fraud-rules.md, references/auth-fraud-rules.md
Bot vs humanR13-R17A14-A19references/bot-detection-patterns.md
Behavioral analysisR18-R22A20-A25references/behavioral-analysis-rules.md
GDPR PII scanningBoth scriptsBoth scriptsreferences/gdpr-pii-scanning.md

Rule Severity Quick Map

SeverityRegistration ExamplesAuth Examples
CRITICALJNDI injection (R10), national ID exposurePersonal data API response leaks
HIGHEmail/device velocity (R1-R2), IP hopping (R6)Brute force (A1), credential stuffing (A2), session hijack (A4)
MEDIUMPartial phone masking, confirmation brute force (R8)Captcha trigger rate (A8), off-hours surge (A10)
LOWSequential email patterns (R17)Auth method escalation (A21)

Decision Tree

New fraud detection task:
    |
    +-- Registration logs?
    |   +-- .txt.gz / .debug.gz format?
    |   |   -> Use RegistrationEvent parser (references/log-parser-architecture.md)
    |   +-- What signals available?
    |       +-- Token, IP, DeviceSerial, Email, Phone -> R1-R12 velocity rules
    |       +-- Timing data -> R13-R15 bot detection
    |       +-- Platform field -> R12, R16 device fingerprinting
    |
    +-- Authentication logs?
    |   +-- .log / .log.gz format?
    |   |   -> Use AuthEvent parser (references/log-parser-architecture.md)
    |   +-- What signals available?
    |       +-- user_id, IP, device_id -> A1-A6 velocity rules
    |       +-- Fraud check weights -> A5, A11 risk scoring
    |       +-- Country field -> A4, A20 impossible travel
    |       +-- Auth type field -> A12, A21 method switching
    |
    +-- GDPR compliance audit?
        -> Run PIIScanner pass on both log types
        -> See references/gdpr-pii-scanning.md

CLI Interface Pattern

# Discover mode: analyze example logs, output pattern statistics
python registration_fraud.py examples/epa-registration/ --mode discover --output reports/

# Detect mode: apply rules to new logs, generate alerts
python registration_fraud.py /path/to/new-day-logs/ \
  --config config/registration_rules.json --output reports/

# Auth fraud (same pattern)
python auth_fraud.py examples/epa-identity-auth-publicapi/ --mode discover --output reports/

Output Format

OutputFilenameContents
Markdown reportreport_YYYYMMDD_HHMMSS.mdSummary table, severity breakdown, detailed alerts with log line evidence
CSV exportalerts_YYYYMMDD_HHMMSS.csvOne row per alert, importable into SIEM/ticketing

Tech Stack

ComponentToolNotes
RuntimePython 3.10+Standard library: re, gzip, json, csv, argparse, dataclasses, collections, datetime, pathlib, statistics
Data analysispandasTime-window grouping and aggregation (only pip dependency)
Report formattingtabulate (optional)Pretty markdown tables

Configuration Pattern

Rules use external JSON configs for tunable thresholds (no code changes needed):

{
  "gdpr_pii_scanner": {
    "enabled": true,
    "check_emails": true,
    "check_phones": true,
    "check_names": true,
    "check_national_ids": true
  },
  "bot_detection": {
    "timing_variance_threshold_ms": 50,
    "min_human_step_interval_seconds": 2,
    "known_emulator_serials": ["000000000000000", "emulator-5554"],
    "scripting_user_agents": ["python-requests", "curl", "Go-http-client"]
  },
  "behavioral": {
    "impossible_travel_speed_kmh": 900,
    "burst_silence_ratio_threshold": 5.0,
    "session_abandonment_rate_threshold": 0.8
  }
}

Common Anti-Patterns

Anti-PatternWhy It FailsInstead
Hardcoded thresholds in codeCannot tune without redeploymentExternal JSON config per rule
Single-dimension rules onlyEasy to evade by changing one variableCross-correlate IP + device + email + timing
No deduplicationDuplicate log lines inflate countsDeduplicate by (timestamp, request_id, message hash)
Ignoring multi-line entriesAuth logs have stack traces across linesParser must detect continuation lines
Treating all timestamps alikeRegistration uses , for ms; auth uses .Normalize timestamp parsing per log type
Cross-node blind spotsSame session spans K8s nodesMerge by token/session_id before aggregation
PII in fraud reportsGDPR violation in the detection output itselfMask PII in report output, reference by hash/ID

Known Challenges

ChallengeImpactMitigation
Multi-line log entriesAuth logs have stack traces across linesDetect continuation lines (leading whitespace, at, Caused by:)
Duplicate log linesRegistration logs inflate countsDeduplicate by (timestamp, request_id, message hash)
Masked data (***MASKED***)Auth logs limit email/phone correlationIP/device/user_id analysis still works
Different timestamp formatsRegistration , for ms; auth . for msNormalize parsing per log type
Cross-node correlationSame session spans K8s nodesMerge by token/session_id before aggregation
Internal scanner noiseQualys scanner IP 10.7.2.171 triggers R10Flag but annotate as likely internal scan

Trend Awareness Protocol

When users ask about current fraud detection approaches, search before answering:

#Search QueryDomain
1"fintech fraud detection patterns 2026"Fraud patterns
2"application log fraud analysis tools 2026"Tooling
3"GDPR log compliance requirements 2026"Compliance
4"bot detection registration abuse 2026"Bot detection

Navigation

Reference Guides

FileCoverage
references/registration-fraud-rules.mdRegistration fraud rules R1-R12: thresholds, signals, detection logic
references/auth-fraud-rules.mdAuth fraud rules A1-A13: thresholds, signals, detection logic
references/bot-detection-patterns.mdBot vs human: timing analysis, UA fingerprinting, speed checks, emulators
references/behavioral-analysis-rules.mdBehavioral: impossible travel, session abandonment, burst-then-silence
references/gdpr-pii-scanning.mdGDPR PII scanner: regex patterns, severity levels, config, report format
references/log-parser-architecture.md4-layer architecture: LogFileReader, LogParser, SessionAggregator, RuleEngine
data/sources.json18 curated antifraud, OWASP, GDPR, and log analysis resources

Related Skills

SkillUse For
software-security-appsecApplication security patterns, OWASP Top 10
ai-ml-data-scienceML-based fraud classification (when rule-based is insufficient)
data-analytics-engineeringData pipeline patterns for log aggregation
qa-observabilityObservability, structured logging, SIEM integration

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.22%
按下载量换算37

Claude

32.51%
按下载量换算36

Cursor

17.36%
按下载量换算19

Gemini CLI

9.12%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills