360 Secure SkillHub
360 安全技能中心

axiom-uuid-analyzer

核心功能:校验UUID格式,提取版本(1-8)、变体(含RFC4122等四类),针对v1提取时间戳与MAC地址,v7提取Unix时间戳。典型场景:分析陌生UUID、审计数据库UUID版本一致性、验证用户输入UUID等。支持单UUID、列表文件输入,输出可选JSON或Python字典,纯标准库实现,稳定安全。

kofna3369
kofna3369
热度 16.02
最近更新 2026-06-15 10:48:30
分类:数据依赖:代码执行 / 读写文件应用场景:数据处理

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add axiom-uuid-analyzer
Metadata
name
axiom-uuid-analyzer
description
UUID inspector — parse any UUID and extract version (1-8), variant (RFC 4122, Microsoft, NCS, Future), timestamp (v1, v7), MAC address (v1). Use when you need to analyze, validate, or audit UUIDs. Pure stdlib, no LLM.
version
0.1.2
license
Apache-2.0

axiom-uuid-analyzer

Version: 0.1.2 Axioma Tools

Inspects UUIDs and extracts their semantic content.

What this skill does

  • Validates UUID format (8-4-4-4-12 hex)
  • Extracts version (1-8)
  • Extracts variant (RFC 4122, Microsoft, NCS, Future)
  • For v1: extracts timestamp + MAC address
  • For v7: extracts unix timestamp

When to use this skill

  • ✅ Analyze a UUID you didn't generate
  • ✅ Audit DB for UUID version consistency
  • ✅ Extract timestamp from time-based UUIDs
  • ✅ Validate UUIDs in user input
  • ❌ Generate UUIDs (use uuid module directly)

Usage

python3 axiom_uuid_analyzer.py "550e8400-e29b-41d4-a716-446655440000"
python3 axiom_uuid_analyzer.py uuid-list.txt --json
from axiom_uuid_analyzer import analyze_uuid
info = analyze_uuid('550e8400-e29b-41d4-a716-446655440000')
# {'version': 4, 'variant': 'RFC 4122', 'timestamp': None, 'mac': None}

Validation

Check Status
Unit tests 30+ cases
Performance <100ms
Security Pure stdlib, no injection
Determinism Byte-to-byte stable
License Apache-2.0

Last updated: 2026-06-14