README.md

March 31, 2026 · View on GitHub

brin

brin

credit score for context

License: MIT   Backed by Y Combinator   Discord   X   LinkedIn


ai agents are only as safe as the context they consume. brin scores each piece before your agent acts, detecting malware, prompt injection, phishing, and supply chain attacks across packages, repos, mcp servers, skills, and urls.

this dataset contains open-source threat scan records from brin's scoring pipeline. free for research, red-teaming, and model training.


schema

each record is a single brin scan result. the fields are:

fieldtypedescription
originstringsource type: npm, pypi, crate, domain, page, repo, skill, mcp, contributor, commit, pr
identifierstringidentifier within the origin (e.g. express, example.com)
versionstringversion or ref (optional)
scoreinteger0–100 safety score. higher is safer
confidencestringlow, medium, or high
verdictstringsafe, caution, suspicious, or malicious
sub_scoresobjectbreakdown across four dimensions (see below)
threatsarraydetected threat signals with type and description (optional, omitted if none)
scanned_atstringISO 8601 timestamp of when the scan was run

sub_scores

dimensiondescription
identitypublisher reputation, domain age, ownership signals
behaviorruntime behavior, network calls, install scripts
contentsource code, prompt content, instruction analysis
graphdependency graph, transitive risk, maintainer overlap

example record

{
  "origin": "npm",
  "identifier": "express",
  "version": "4.18.2",
  "score": 81,
  "confidence": "medium",
  "verdict": "safe",
  "sub_scores": {
    "identity": 95.0,
    "behavior": 40.0,
    "content": 100.0,
    "graph": 30.0
  },
  "scanned_at": "2026-02-25T09:00:00Z"
}

coverage

originwhat is scoredthreats detected
npm / pypi / crateopen source packagesinstall-time attacks, credential harvesting, typosquatting
domain / pagewebsites and web pagesprompt injection, phishing, cloaking, exfiltration via hidden content
repogithub repositoriesagent config injection, malicious commits, compromised dependencies
skillagent skillsdescription injection, output poisoning, instruction override
mcpmcp serverstool shadowing, schema abuse, silent capability escalation
contributorgithub contributorsimpersonation, typosquatting, suspicious commit patterns
commitgithub commitsmalicious code injection, backdoor insertion, unauthorized changes
prgithub pull requestssupply chain attacks via PRs, malicious contributions, social engineering

format

records are stored as jsonl (newline-delimited json) - one record per line. this makes the dataset trivially streamable and parseable without loading everything into memory.

files are organized by origin under data/:

data/
  npm.jsonl
  pypi.jsonl
  crate.jsonl
  domain.jsonl
  page.jsonl
  repo.jsonl
  skill.jsonl
  mcp.jsonl
  contributor.jsonl
  commit.jsonl
  pr.jsonl

contributing

see CONTRIBUTING.md for details.


license

MIT


built by superagent - ai security for the agentic era