Device fingerprinting (HMAC-SHA256) + hybrid AI+heuristic trust scoring + threat policy engine. Compliant с 152-ФЗ/GDPR.
import { calculateTrustScoreHeuristic } from '@jocmapp/jguard-security/trust-score'
const trustResult = calculateTrustScoreHeuristic(user)
// {
// trust_score: 72,
// risk_level: 'low',
// contribution_score: 86,
// criteria_breakdown: [
// { id: 'complaints', score: -24 },
// { id: 'activity', score: 45 },
// { id: 'safety_role', score: 120 },
// // ... 10 more criteria
// ]
// }
Production-ready security engine с прозрачной формулой и audit trail
HMAC-SHA256 хэширование device ID. Compliant с 152-ФЗ/GDPR — не хранить raw device data.
13 критериев с прозрачной формулой + YandexGPT analysis. Прозрачная формула = compliance с 152-ФЗ.
Detection shared devices и banned accounts на новых устройствах. Уникально в России.
3 уровня угрозы с auto-relax. Gradated response — enterprise-level.
YandexGPT integration с fallback на эвристику. Suspicious flags + dynamics.
152-ФЗ/GDPR compliant из коробки. Audit trail для каждого решения.
Open source core + SaaS layer для enterprise features
Open source для community
Для production
White-label + compliance
REST API для trust score, device matching, threat policy
Получить trust score пользователя
{
"trust_score": 72,
"risk_level": "low",
"contribution_score": 86,
"criteria_breakdown": [
{ "id": "complaints", "score": -24 },
{ "id": "activity", "score": 45 }
]
}
Создать device fingerprint
// Request
{
"userId": 123,
"androidId": "abc123...",
"platform": "android"
}
// Response
{
"key_hash": "a1b2c3d4...",
"platform": "android",
"first_seen_at": "2026-10-29T10:00:00Z"
}
Проверить совпадение устройств
{
"is_matched": true,
"shared_devices": 2,
"linked_accounts": [
{
"id": 456,
"username": "john_doe",
"is_blocked": false,
"shared_devices": 2
}
],
"overall": {
"label": "Shared device detected",
"risk": "medium"
}
}
Оценить threat level
// Request
{
"userId": 123,
"eventType": "failed_login",
"metadata": {
"ip": "192.168.1.1",
"attempts": 25
}
}
// Response
{
"threat_level": "lockdown",
"reason": "Too many failed logins: 25 in 15m",
"auto_relax_duration": 3600000,
"strike_count": 0
}
Попробуйте JGUARD прямо сейчас
Результат появится здесь
Готовы обсудить интеграцию? Свяжитесь с нами
support@jguard.su
@jguard_support
gitverse.ru/Lexhit/JGUARD-Security
docs.jguard.su