2026-11-27 16:25 UTC

AURA releases reusable social-engineering threat cases and validation tools for LLM safety work

state: expiredheat: lowuncertainty: mediumrelevance: mediumagentic-security llm-security security-evaluationEcaterina Sevciuc

What is this?

AURA (AI User Risk Assessment), maintained by Ecaterina Sevciuc, is an open-source toolkit and case library for representing manipulation, fraud, and access-related risks in human–AI interactions. Its GitHub repository provides structured JSON cases, heuristic confidence-scoring scripts, and schema-validation tools; the public cases are offered under CC BY-NC 4.0 for non-commercial research, while the tooling is Apache 2.0 licensed. These materials may be reusable in safety pipelines, but the supplied evidence does not establish that AURA detects threats accurately or improves model safety.

Why it matters

AURA offers developers a structured starting point for representing social-engineering risks—such as manipulation, fraud, and unauthorized access—in LLM interactions. Its case files, heuristic scoring scripts, and validation tooling could make threat libraries easier to reuse and integrate into testing pipelines. But this is a maintainer-led resource, not evidence that a model or detector reliably identifies these threats; the public case dataset is licensed for non-commercial use.

Current assessment

AURA is an available, open-source toolkit and library maintained by Ecaterina Sevciuc. The supplied GitHub material describes self-contained JSON threat cases in three categories (MANIPULATION, FRAUD, ACCESS), heuristic confidence recalculation using behavioral triggers and cross-checks, and AJV-backed schema validation and tests. Code and tooling are Apache 2.0 licensed; public cases are CC BY-NC 4.0, limiting their stated use to non-commercial evaluation, benchmarking, and research. This could give safety teams reusable representations and reduce the effort of building case libraries from scratch, with formats and scripts designed for integration. The repository’s claims about detection and readiness for training or integration are project descriptions, not independent validation: the evidence provides no benchmark results, measured accuracy, adoption evidence, or proof of improved model safety. Assess the resource’s practical value separately from its scoring labels, and track any later evaluations or licensing changes.

Measured heat

no measured readings yet — the hourly heat pass fills this in

How the heat travelled

09-21 17:25 (minted)⭐ origin echo-reconstructedPublishes structured manipulation, fraud, and access threat cases with heuristic confidence scoring and JSON-schema validation; public cases
Ecaterina Sevciuc on github (echo) · attributed from hn.story.49790069 · published time unknown
—
09-21 17:05first on hacker news · published · lag ?Aura – Open-Source Framework for Detecting Social Engineering in LLMs
kate8382
—
09-21 17:05amplified on hacker news 👑hn.story.49790069
kate8382
peak 2 · 3 comments · 99% of case engagement
09-21 17:22our radar first saw it · lag ?discovery anchor: hn.story.49790069—

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnAura – Open-Source Framework for Detecting Social Engineering in LLMs
Retrieved article excerpt

Open article · Retrieved 2026-09-21T17:25:13.019671+00:00

# AURA: AI User Risk Assessment Framework

**AURA** (AI User Risk Assessment) is an open-source library of structured behavioral matrices, heuristics, and validation tooling designed to detect manipulation, deception, and grey-zone threats in human–AI interactions.

Unlike static safety guardrails, **AURA** focuses on the psychological and tactical vectors of social engineering, helping developers build resilient, context-aware AI agents.

[AURA Banner](https://github.com/kate8382/AURA/blob/main/assets/banner_1.png)

[CI status](https://github.com/kate8382/AURA/actions/workflows/ci.yml/badge.svg)
[Total views](https://camo.githubusercontent.com/1b0c8ee77307d01c31a04cf401141968ab3a2cecfa2b28c9d029ddefae5d92c9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f64796e616d69632f6a736f6e3f6c6162656c3d546f74616c25323076696577732675726c3d68747470733a2f2f7261772e67697468756275736572636f6e74656e742e636f6d2f6b617465383338322f415552412f6d61696e2f616e616c79746963732f747261666669632d73756d6d6172792e6a736f6e2671756572793d242e746f74616c5f766965777326636f6c6f723d626c75652663616368655365636f6e64733d3630)
[Unique views](https://camo.githubusercontent.com/4e7e39f3470e3ea7f824d2021c8e52ee83416356f7f0c94bd451de7e191719fa/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f64796e616d69632f6a736f6e3f6c6162656c3d556e6971756525323076696577732675726c3d68747470733a2f2f7261772e67697468756275736572636f6e74656e742e636f6d2f6b617465383338322f415552412f6d61696e2f616e616c79746963732f747261666669632d73756d6d6172792e6a736f6e2671756572793d242e746f74616c5f756e697175655f766965777326636f6c6f723d6f72616e67652663616368655365636f6e64733d3630)
[Total clones](https://camo.githubusercontent.com/1764d43872b234240d7e17ab255d91d35178ee93fc65d1aa1176dc6493e5444d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f64796e616d69632f6a736f6e3f6c6162656c3d546f74616c253230636c6f6e65732675726c3d68747470733a2f2f7261772e67697468756275736572636f6e74656e742e636f6d2f6b617465383338322f415552412f6d61696e2f616e616c79746963732f747261666669632d73756d6d6172792e6a736f6e2671756572793d242e746f74616c5f636c6f6e657326636f6c6f723d626c75652663616368655365636f6e64733d3630)
[Unique clones](https://camo.githubusercontent.com/0a05535430491d438554ff13a28a3dc71d4f3f723b5a3a0ddaac9679422acda5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f64796e616d69632f6a736f6e3f6c6162656c3d556e69717565253230636c6f6e65732675726c3d68747470733a2f2f7261772e67697468756275736572636f6e74656e742e636f6d2f6b617465383338322f415552412f6d61696e2f616e616c79746963732f747261666669632d73756d6d6172792e6a736f6e2671756572793d242e746f74616c5f756e697175655f636c6f6e657326636f6c6f723d6f72616e67652663616368655365636f6e64733d3630)

*Found this project useful or interesting? Drop a ⭐ — plus to your developer karma and a great sign for us that we're on the right track!*

## Key Features

- **Granular Threat Categorization** — Structured cases divided into three core domains: `MANIPULATION`, `FRAUD`, or `ACCESS`.
- **Heuristic Risk Scoring** — Dynamic confidence recalculation based on behavioral triggers, alibis, and cross-checks.
- **Strict Schema Validation** — AJV-backed JSON schema and Jest tests to ensure every behavioral case is syntactically correct and ready for AI training or integration.
- **Developer-Friendly Architecture** — Every case is self-contained in a single JSON file, making it incredibly easy to parse, update, and integrate into CI/CD pipelines.

## Repository Structure

```
├── assets/                  # Graphics and assets
├── config/                  # Runtime mappings and generated configs (signal-mapping.json, trigger-weights.json)
├── docs/                    # Human-facing documentation (including SIGNAL_IDS.md)
├── public_cases/            # Curated open-source threat library
│   ├── ACCESS/              # Privilege escalation, unauthorized OSINT, and credential probing
│   ├── FRAUD/               # Financial bypass, compliance evasion, and social fraud
│   └── MANIPULATION/        # Social engineering, gaslighting, and psychological pressure
├── schemas/                 # JSON Schemas for validating cases
└── scripts/                 # Utility tooling (validation, confidence recalculators, tests)
    └── tools/               # Small helper scripts (collect-triggers, audit-categories)
```

## Quick Start & Testing

### Requirements

- Node.js (>= 18)
- npm or yarn

**1. Installation**

Clone the repository and install the developer dependencies:

```
npm install
```

**2. Validate Cases**

To run the automated validation suite against all JSON cases in the `public_cases/` directory:

```
npm run validate
# or
npm run validate:percases
```

To run normalization or generate a new case:

```
npm run normalize:percases
npm run new-case
# dry-run (does not write files):
npm run new-case:dry
```

To run the custom validator script manually against a specific folder:

```
# validate public_cases explicitly
node -r ts-node/register scripts/validate-percases.ts public_cases
```

## Scripts & Configuration

Short developer reference — full details in [docs/SCRIPTS.md](https://github.com/kate8382/AURA/blob/main/docs/SCRIPTS.md).

- `npm run gen:triggers` — generate `config/trigger-weights.json` from `public_cases/`.
- `npm run gen:triggers:apply` — generate and apply `signal_ids` into case files (creates `.bak`).
- `npm run recalc:confidence` — recompute `confidence` fields (see docs for dry-run flags and options).
- `npm run collect:triggers` — collect normalized triggers into `tmp/collected-triggers.json`.
- `npm run audit:categories` — run category-vs-directory audit into `tmp/audit-output.json`.

**Signal IDs and mappings**

- Reference: the signal ID mapping is documented in [docs/SIGNAL\_IDS.md](https://github.com/kate8382/AURA/blob/main/docs/SIGNAL_IDS.md).
- The canonical mapping file is `config/signal-mapping.json` and the generator/recalculator consults it at runtime. See `docs/SIGNAL_IDS.md` for the recommended workflow: collecting triggers, editing `config/signal-mapping.json`, and regenerating weights.
- Notes on recent changes: signal IDs were compacted to a namespaced key format (for example `camouflage:naive`, `recon:targeted`), where each mapping entry is keyed by the compact signal ID and includes an `id`, a human-readable `description`, and a `triggers` list. One-off migration scripts were added under `scripts/tools/` and exposed as `npm run migrate:categories` and `npm run migrate:signals` for convenience.

### How trigger weights are computed

- Triggers are counted per case (unique within a case). The most frequent trigger is mapped to `topWeight` (default 0.05) and other triggers get a linear weight scaled relative to that maximum, with a lower bound `defaultTriggerWeight` (0.01).
- Final `confidence` for a case is computed as: base (by category) + boost, where `boost = min(maxBoost, totalTriggerWeight + crossCheckWeight*questions + signalIdWeight*unmappedSignalCount)`.
- The generator preserves any existing trigger keys from the current `config/trigger-weights.json` to avoid accidentally dropping curated keys.

### Automation

Automating `npm run gen:triggers` is optional but recommended if `public_cases/` changes frequently. Typical options:

- GitHub Actions workflow (schedule or on push to `public_cases/`) to run the generator, commit the updated `config/trigger-weights.json`, and open a PR. This keeps changes reviewable and avoids surprise commits.
- CI job that runs `npm run gen:triggers` and `npm run recalc:confidence` in a branch for review.

## Minimal example `public_cases` entry and schema

See the full schema at `schemas/per-case-schema.json`. Important note about `confidence` fields:

- `confidence_raw` is an auditable raw evidence sum (may be absent or greater than 1.0) and is
  typically persisted at the end of the case object for reviewability.
- `confidence` is the normalized score in the [0..1] range used by policy and decision logic. It
  is computed from `confidence_raw` using a diminishing-returns transform:

$$
\text{confidence} = 1 - e^{-\alpha \cdot \text{confidenceRaw}}
$$

Example minimal valid case (note `confidence_raw` placed at the end for auditability):

```
{
  "case_id": "EX-CASE-001",
  "category": "manipulation/example",
  "signal_ids": [
    "camouflage:naive",
    "evasion:control"
  ],
  "scenarios": [{ "name": "Example", "text": "Please share the customer's password" }],
  "suggested_action": "cross_check",
  "legal_risk": { "short_summary": "Potential privacy breach", "full_text": ["May disclose PII"] },
  "behavioral_patterns": { "short_summary": "Urgency", "full_text": ["Urgency / Pressure"] },
  "cross_check": { "short_summary": "Ask for provenance", "questions": [] },
  "confidence": 0.95,
  "decision": "pending",
  "deception_threshold": { "short_summary": "Low", "full_text": [] },
  "confidence_raw": 3.42
}
```

## Future Roadmap & Collaboration Ideas

We are actively developing **AURA** as a focused, maintainer‑led project. Below are roadmap highlights and ways external teams can collaborate without direct code contributions.

**1. Programmatic Prompt Tokenization (Data Engineering)**

Manual case generation is hard to scale. We want to build a dynamic generator that compiles thousands of diverse test-cases from templates using structural tokenization:

$$\text{Prompt} = \text{Persona} + \text{Target} + \text{Evasion Method} + \text{Alibi}$$

**- The Goal:** Write a TypeScript engine that dynamically swaps components (e.g., swapping a "Naive Finder" alibi with an "Academic Researcher" alibi) to stress-test LLM guardrails at scale.

**2. Algorithmic Cross-Checking**

Automate the verification layer based on user claims. For example:

- If the user claims a professional auditor persona, the pipeline should dynamically flag the interaction as high-risk unless specific verification documents (NDAs, authorization letters) are programmatically mocked and requested.

**3. Multilingual Security Testing (Russian & Idiomatic Alignment)**

Traditional AI alignment often fails in non-English languages due to idiomatic nuances and translation bypasses.

- We plan to expand our threat matrices to support complex syntax variations (starting with Russian) to ensure that conceptual defensive guardrails map globally across different language families.

If you are interested in researching these vectors, please open an Issue to share your thoughts and collaborate!

## Publications & Coverage

- Dev.to — [AURA: AI User Risk Assessment — a behavioral threat‑intelligence framework for AI Safety](https://dev.to/kate8382/aura-ai-user-risk-assessment-a-behavioral-threat-intelligence-framework-for-ai-safety-4h9l)
- CoderLegion — [AURA: AI User Risk Assessment — a behavioral threat‑intelligence framework for AI Safety](https://coderlegion.com/22768/aura-ai-user-risk-assessment-a-behavioral-threat-intelligence-framework-for-ai-safety)
- LinkedIn — [Launch post](https://www.linkedin.com/feed/update/urn:li:activity:7483208618545274880/)

## Integration & Partnerships

If you are building an LLM, guardrail engine, or safety pipeline, you may use `public_cases/` under the CC BY‑NC 4.0 license for non‑commercial evaluation, benchmarking, and research.

Partnership & Access Options:

- **Public cases (self‑serve):** Download `public_cases/` and run validations locally with `npm run validate` and tests with `npm test`.
- **Non‑commercial private testing:** For researchers requiring private evaluation, we offer a sandboxed evaluation pipeline where private cases are run locally without publishing sensitive content.
- **Commercial licensing & enterprise access:** NDA, commercial licensing, dataset exports, and private API access options are available upon request.

For commercial licenses, private datasets, or collaborative research, reach out via:

- **Email:** [email protected]
- **LinkedIn:** [Ecaterina Sevciuc](https://www.linkedin.com/in/ecaterina-sevciuc-497017364/)

## License & Tooling

- **Code & too
kate838223
🟧 echo.github ⭐Publishes structured manipulation, fraud, and access threat cases with heuristic confidence scoring and JSON-schema validation; public casesEcaterina Sevciuc——

Interpretation history

Decision trace