Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

company-brainify

Latest version: vgit:39ca38df21ae32448e9a676248f1607651b4998f

Overview

Last scanned
24 Nov 2026
Agent skill Publisher: garrytan
33,532 Stars
5,026 Forks
1 Versions
TypeScript Repo language

Scan summary

company-brainify was last scanned on 24 Nov 2026 at commit 39ca38df. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: Single version.
  • Findings: 1 rule fired in commit 39ca38df (1 low). The score describes this commit only.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
39ca38df 1 rule fired

Rules fired in 39ca38df: 1

Findings

1 Low

Findings for commit 39ca38df. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

Phrase match: instruction-override wording (not reviewed)

An automated phrase check found wording that also appears in attempts to override an agent's instructions, such as "ignore previous instructions" or "enable developer mode". The check does not read context, so quoted examples, headings and ordinary settings steps match too. Not reviewed by a person.

LOW
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

The score describes 39ca38df; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

company-brainify — Personal → Team-Brain Sanitization

Conventions: brain-first (discovery runs through the brain's retrieval; greps only triage), test-before-bulk (sanitize 3-5 files, read them, then ramp: a bad bulk pass looks done and isn't), regex-discipline ("is this sensitive?" is the model's per-file judgment; patterns never judge) and _brain-filing-rules.md (edits stay in the page's directory; the deletion log is date-keyed under daily/).

The Problem

A personal brain holds company knowledge next to internal assessments, compensation, management strategy and candid opinions about colleagues. A shared team brain built from it (topology: docs/architecture/brains-and-sources.md) keeps the knowledge and drops the sensitive metadata. Clean working-tree files are NOT enough: git history keeps every pre-sanitization version, and takes/facts carry evaluative claims outside the prose. This skill covers all three surfaces: pages, takes/facts, and history.

When to Use

Connecting or indexing an existing company repository without editing it is not sanitization. For “connect our company brain” or “import an existing company brain,” use the migrate (host-side) company workflow. On the trusted brain host, start with gbrain sources inspect <path> --profile company-brain; follow docs/guides/company-brain-ingestion.md for destination preview and approval. Do not strip metadata or purge history merely to make an existing repository searchable.

  • Standing up a shared company brain from a founder/exec's personal brain
  • Auditing an existing shared brain for sensitive content that shouldn't be there
  • Onboarding new team members to a brain repo that must be verified clean first
  • Periodic hygiene pass on a shared brain that re-accumulates sensitive data

What Gets Removed

Always strip (non-negotiable)
Category Examples
Internal scores/ratings score:, rating:, skill:, or any vertical-specific *_score: frontmatter field; any numeric rating of a person
Compensation Salary, equity, carry, option grants, comp changes, retention packages
Performance assessments Strengths/weaknesses sections about employees, "at risk" flags, underperformance mentions, "picking up slack" references
Departure/retention Who's considering leaving, who was convinced to stay, departure rumors, retention conversations
Management strategy How-to-manage-someone sections, "the hard conversation" notes, scope/title management plans
Internal political dynamics Who doesn't like whom, who's nervous about whom, adversarial relationships, power dynamics
Personal PII Phone numbers, personal email addresses, home addresses, family or medical details, personal legal matters, personal-life details
Takes/facts Any take or fact referencing the above categories — performance, comp, retention, weakness, management risk. Fact rows are DELETED from the page's Facts fence, never merely expired with gbrain forget
Always keep
Category Examples
Professional identity Name, role, title, work email, LinkedIn
What they're building Current projects, product work, technical contributions
Career arc Prior companies, education, professional background (public info)
Professional beliefs Their views on technology, strategy, product philosophy
Timeline of work Meeting attendance, project milestones, launches (factual, not evaluative)
Skills/expertise Technical capabilities, domain knowledge

Scan Scope — Wider Than people/

Sensitive content leaks far beyond people pages. The scan scope is:

  • people/ — the primary surface (frontmatter fields, assessment sections)
  • meetings/ — transcripts and minutes with candid assessments
  • daily/ — daily notes referencing comp/performance/retention conversations
  • companies/, projects/, analysis/ — cross-references to removed content
  • Takes — evaluative claims in page takes fences (gbrain takes search)
  • Facts — hot-memory facts (gbrain recall --grep)
  • Back-links — after edits, gbrain check-backlinks check confirms no page still points at removed sections

A pass that only covers people/ will certify a brain that still leaks.

Procedure

All paths below are relative to the brain repo root:

BRAIN="$(gbrain config get sync.repo_path)"
cd "$BRAIN"
Phase 1: Identify scope (retrieval-first)
  1. Retrieval discovery — hybrid search catches judgment-shaped content that no keyword pattern will:

    gbrain query "compensation, equity, or salary discussions about team members" --limit 50
    gbrain query "performance concerns, underperformance, or who is struggling" --limit 50
    gbrain query "considering leaving, retention conversations, departure rumors" --limit 50
    gbrain takes search "performance" --limit 50
    gbrain recall --grep "salary"

    Resolve every returned slug to its repo-relative file path and write the paths into /tmp/brainify-scope.txt (one per line). This file is the scope list; the structural pass below APPENDS to it — nothing later in the procedure may truncate it, or the retrieval-discovered pages silently drop out of scope.

  2. Structural discovery — people files that belong to the company, plus keyword hits across the wider scan scope:

    grep -rli 'company: *"acme-example"' people/ --include="*.md" | sort >> /tmp/brainify-scope.txt
    grep -rli -E 'salary|equity|carry|retention|underperform|performance review|hard conversation' \
      meetings/ daily/ companies/ projects/ analysis/ --include="*.md" 2>/dev/null >> /tmp/brainify-scope.txt
    sort -u -o /tmp/brainify-scope.txt /tmp/brainify-scope.txt
  3. Cross-reference against the company's public people page (website, LinkedIn) to catch files using different frontmatter conventions.

  4. Count: wc -l /tmp/brainify-scope.txt

The scope list is also the export list. On the staging path only its files inside the six scanned folders are copied, read and shipped, so a file Phase 1 doesn't find never reaches the team.

Phase 2: Triage sensitivity

Prioritize by hit density (portable grep -E; no \b — BSD and GNU disagree):

while read -r f; do
  hits=$(grep -c -i -E 'carry|salary|equity|comp change|departure|considering leaving|retention|underperform|picking up slack|performance review|management risk|hard conversation|nervou|score: *[0-9]|firing|fired|pip|probation|weakness' "$f" 2>/dev/null || true)
  [ "${hits:-0}" -gt 0 ] && echo "$hits $f"
done < /tmp/brainify-scope.txt | sort -rn > /tmp/brainify-triage.txt

High-hit files need full judgment passes. Zero-hit files may only need frontmatter field removal — but they still get read (regex triages, the model judges).

Phase 3: Sanitize (STAGING COPY preferred; test first, then parallel)

Phase 3 is destructive: it strips content across many files, removes takes, and deletes fact rows. Two rules govern it.

Choose the target FIRST — copy, don't mutate the personal brain.

  • Standing up a NEW team brain (default, preferred): sanitize a STAGING COPY of the scanned directories, never the personal brain in place. The founder's personal brain is SUPPOSED to keep comp, performance, and candid notes — stripping them from the personal working tree destroys valuable private data. Copy the Phase-1 scope into a durable staging dir and edit THAT; Phase 5 Step 0 exports from the staging copy. Blast radius: none on the personal brain.

    # Durable staging dir (NOT /tmp — same reasoning as the mirror backup).
    STAGING="$HOME/.gbrain/backups/brainify-staging-$(date +%Y%m%d-%H%M%S)"
    mkdir -p "$STAGING" && chmod 700 "$STAGING"
    # The export list: scope-list files inside the six scanned folders and
    # nothing else. It sits beside $STAGING, not in it, so it never ships.
    grep -E '^(people|meetings|daily|companies|projects|analysis)/' /tmp/brainify-scope.txt \
      | LC_ALL=C sort -u > "$STAGING.export-list"
    rsync -a --files-from="$STAGING.export-list" ./ "$STAGING/"
    cd "$STAGING"   # all edits below happen here, not in sync.repo_path

    Copy only the export list, never whole folders: only its files get the per-file read below. On a personal brain, people/ and daily/ also hold family, friends and private days that no retrieval or keyword hit flags, so a folder copy ships pages nobody read. To ship another file, append its path to $STAGING.export-list, copy it in the same way, and give it the full read and the Phase 4 checks.

  • Re-auditing an EXISTING shared brain: the shared brain IS the target, so edits are in place on the SHARED repo (cd into the shared repo, never the personal sync.repo_path). Fact-row removal + re-sync applies to the shared source's DB.

Fire the data-loss-gate confirmation card BEFORE the bulk destructive edits begin. Both targets are destructive (the copy path removes content from the tree destined for the team; the in-place path removes content from a live brain). Pre-filled for Phase 3:

⚠️ DATA DELETION — Confirmation Required

What: strip sensitive content, remove takes, and delete fact rows across
      [N files] in [STAGING COPY at <path>  |  the SHARED brain in place]
Count: [N files edited; T takes removed; F fact rows removed]
Location: [staging path OR shared repo path] — NOT the personal sync.repo_path
          on the staging path

Why: preparing a sanitized tree for team access

Recoverable?
- [x] Personal brain untouched (staging-copy path) — re-copy to redo
- [ ] In-place shared-brain path: edits overwrite the live tree; git history is
      the recovery line until Phase 5 purges it

Proceed? (yes/no)

Require a typed "yes"/"do it" per data-loss-gate; "ok"/"sure" are not consent.

Per test-before-bulk: do 3-5 files first, read the results, then ramp. For large sets (50+ files), batch into groups of 10-12 and spawn parallel subagents. Per file, for every file on the export list (zero-hit files included: the export ships exactly that list):

  1. Read the file completely
  2. Remove all content matching the "Always strip" categories
  3. Frontmatter: delete rating/comp field lines entirely
  4. Sections: remove entire sections (assessment weaknesses, team dynamics, management strategy)
  5. Takes and Facts fences: remove entire rows that reference sensitive categories — a take like "alice-example believes charlie-example is underperforming" reveals both the opinion and who holds it; remove the whole row, never just the attribution
  6. Inline mentions: surgically edit sentences/paragraphs
  7. Write the cleaned file back

Use Edit for surgical removal of a few sections; Write the whole file only when sensitive content is interwoven throughout.

Facts: forget is NOT removal. gbrain forget <fact-id> only expires a fact: the row stays struck through in the Facts fence and the DB still serves it via --include-expired. Find sensitive facts (gbrain recall --grep) and delete the row from the page's Facts fence (step 5), like a take.

  • Staging-copy path: editing the copied markdown is the removal; the team DB is built fresh from the export in Phase 5 Step 0.
  • In-place shared-brain path: run gbrain sync (re-imports the page), then reconcile the facts index: sync's convergence contract covers page import only (src/commands/sync.ts, "CONVERGENCE CONTRACT"), so the DB serves the deleted row until the extract-facts reconcile runs. Trigger it (gbrain sweep, or wait for the serve-resident sweep) and confirm with gbrain recall --grep that the row is gone.

Either way, run gbrain check-backlinks check for pages still pointing at removed content.

Phase 4: Verify

Re-run the Phase 2 triage — the count of flagged files should drop to (near-)zero. Then targeted greps:

# Rating fields remaining in frontmatter
grep -rn -E '^[a-z_]*(score|rating|skill)[a-z_]*: *[0-9]' people/ --include="*.md"

# Phone numbers (every scanned folder, US and international shapes)
grep -rn -E '\+[0-9][0-9 ().-]{7,}[0-9]|\(?[0-9]{3}\)?[ .-][0-9]{3}[-. ][0-9]{4}' people/ meetings/ daily/ companies/ projects/ analysis/ --include="*.md" 2>/dev/null

# Email addresses outside the company's work domain (replace acme-example.com)
grep -rn -o -E '[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}' people/ meetings/ daily/ companies/ projects/ analysis/ --include="*.md" 2>/dev/null | grep -v -i '@acme-example\.com$'

# Home addresses, family, medical, legal and personal-life details
grep -rin -E 'home address|[0-9]+ [A-Za-z]+ (street|st|avenue|ave|road|rd|lane|ln|drive|dr|blvd)([ ,.]|$)|apt [0-9]|wife|husband|girlfriend|boyfriend|kids|daughter|son is|pregnan|divorce|diagnos|medical|therap|surgery|hospital|illness|rehab|lawsuit|custody|arrest' people/ meetings/ daily/ companies/ projects/ analysis/ --include="*.md" 2>/dev/null

# Comp keywords (full scan scope, not just people/)
grep -rin -E 'carry|comp change|equity|salary' people/ meetings/ daily/ companies/ projects/ analysis/ --include="*.md" 2>/dev/null

# Management/performance
grep -rin -E 'considering leaving|departure rumor|underperform|picking up slack|hard conversation' people/ meetings/ daily/ companies/ projects/ analysis/ --include="*.md" 2>/dev/null

False positives (e.g. "carry the torch") are fine — manually confirm each remaining hit rather than tightening the pattern (regex-discipline).

Verify the tree that ships: $STAGING on the staging-copy path (the personal tree doesn't ship, so certifying it proves nothing), the shared repo's tree on an in-place re-audit.

Then the strongest check — the retrieval the team will actually use. Against the sanitized brain/source (scope with --source <team-source-id> when the shared source is mounted alongside personal content):

gbrain query "what is alice-example's compensation" --limit 10
gbrain query "who is underperforming or at risk of leaving" --limit 10
gbrain takes search "weakness" --limit 20
gbrain query "family, health, home address or personal life" --limit 10

Every one of these must come back empty or with only keep-category content.

Phase 5: Commit and purge history — GATED

Clean files aren't enough if the repo has history: old commits still contain the sensitive versions.

Step 0 — preferred alternative (non-destructive). When standing up a NEW team repo, skip history rewriting entirely: the sanitized STAGING tree from Phase 3 becomes a fresh repo with fresh history. The personal repo keeps its full history AND its full working tree, untouched.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • GitHub garrytan/gbrain/company-brainify

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Frame 2085668439 (1)
Group 1261154229