@trailofbits

Créateur · trailofbits

Dernière mise à jour · 24 août 2026

audit-context-building

Solide · 83Indexé dans Registry

Understand a codebase before looking for bugs in it - what each function assumes, what it guarantees, and what it depends on elsewhere. Use when starting an audit, threat model, or architecture review on unfamiliar code, and before any vulnerability-hunting pass.

Trust Score OpenAgentSkill
83/100

Revoir avant installation

Qualité86/100
Audit89/100
Stars6.8K
Verified installs0

Cibles d’installation

Prompt d’installation Codex

Install the "audit-context-building" agent skill from https://github.com/trailofbits/skills/tree/main/plugins/audit-context-building/skills/audit-context-building. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Understand a codebase before looking for bugs in it - what each function assumes, what it guarantees, and what it depends on elsewhere. Use when starting an audit, threat model, or architecture review on unfamiliar code, and before any vulnerability-hunting pass. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"trailofbits-audit-context-building","task":"Install audit-context-building","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.

Profil de l’actif

Agents de code et de développement

Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.

Voir la catégorie

Scénario

Agents de code

I need a coding agent that can understand a repository, edit code, and review pull requests.

Adéquation Agent

Claude Code + CLI + Codex

Compatible avec Codex, Claude Code, Cursor, CLI ou des Agents personnalisés.

Installer

Prêt

npx skills add trailofbits/skills --skill audit-context-building

Maintenance

À jour

Mis à jour aujourd’hui

Risque

Sûr à essayer

Quality score needs review

Qualité GitHub

6.8K

86/100 Qualité · 86/100 Confiance

Tags de couverture

CodingAgents de codeSécuritéagent-skill

Notes de revue

Quality score needs review

Carte d’adoption Agent

Confiance, audit et préparation à l’installation en un coup d’œil

Ces scores combinent les métadonnées publiques du dépôt, les signaux de revue OpenAgentSkill, la fraîcheur de maintenance et la préparation à l’installation. Ils servent à présélectionner et ne remplacent pas la revue humaine.

Qualité

Excellent
86

High-confidence pick with strong adoption and healthy maintenance signals.

Confiance

Revoir avant installation
83

Bon signal de présélection, mais l’Agent doit examiner les notes d’audit, la politique d’installation et les preuves de résultats avant de l’exécuter.

Audit

Sûr à essayer
89

Revue lisible par machine de la préparation à l’installation, des métadonnées de sécurité, de la maintenance et du risque d’adoption.

Trust Score OpenAgentSkill v5

Candidate à l’installation Agent

À utiliser comme candidat principal après revue humaine ou en sandbox.

CodexClaude CodeCursorOpenAgentSkill CLI

Stars

6.8K stars GitHub

Activité du dépôt

6.8K stars et 585 forks

Maintenance

Mis à jour aujourd’hui

Licence

CC-BY-SA-4.0

Installer

npx skills add trailofbits/skills --skill audit-context-building

Sécurité d’installation

Chemin d’installation standard de package ou runtime

Surface de permissions

filesystem or document access, database access

Résultats Agent

Pas encore de données de résultats Agent

Documentation

Contexte README/SKILL.md solide

Résumé des risques

Risque de métadonnées faible

  • Quality score needs review

Préparation à l’installation

Chemin d’installation disponible

  • Le chemin d’installation est disponible
  • La preuve du dépôt est disponible
  • La licence est déclarée
  • Pas encore de preuve de résultat Agent-Proven

Métadonnées lisibles par Agent

Données de décision lisibles par machine pour ce skill.

Utilisez ce bloc ou le JSON intégré pour décider si un Agent doit installer ce skill, choisir une alternative ou demander d’abord une revue humaine.

View technical data+

Tâches adaptées

  • workflows Automatisation de workflow
  • Équipes Claude Code
  • Équipes qui valorisent les signaux d’adoption GitHub
  • Move data between tools

Agents adaptés

CodexClaude CodeCursorOpenAgentSkill CLICLI

Décision d’installation

Commande
npx skills add trailofbits/skills --skill audit-context-building
Politique
Revoir
Revue humaine
Oui

Confiance et risque

Confiance
83/100
Audit
89/100
Niveau de risque
Sûr à essayer

Boucle de résultat

Endpoint
/api/agent/outcome
ID d’événement
resolve
Résultats
5

Commande d’installation

npx skills add trailofbits/skills --skill audit-context-building

Ne pas utiliser quand

  • Équipes qui nécessitent un SLA soutenu par le fournisseur
  • Environnements fortement conformes sans revue interne de sécurité
  • No OpenAgentSkill engagement data yet
  • Quality score needs review
  • Production credentials, payments, or irreversible account changes without explicit human review

Sécurité Agent v2

69/100 · Revoir avant installation

RéviséRevoir

Bons signaux d’audit et de sécurité, sans indice de permission à haut risque dans les métadonnées publiques.

Consultez la page d’audit, puis autorisez l’installation de l’Agent dans un workflow isolé.

Résoudre via API

Moyen

Accès réseau

La skill récupère probablement des pages distantes, API, dépôts ou services externes.

Moyen

Accès au système de fichiers

La skill peut lire ou écrire des fichiers de projet, documents, artefacts générés ou l’état local de l’espace de travail.

Moyen

Accès à la base de données

La skill peut inspecter des schémas, interroger des bases de données ou travailler avec des stockages persistants.

  • Quality score needs review

Plan de résolution Agent

Laissez un Agent vérifier la pertinence avant l’installation.

L’API Resolve renvoie la skill sélectionnée, des alternatives, la politique de sécurité, les notes d’audit, la cible d’installation et un prompt prêt à l’emploi.

Ouvrir le plan texte

L’Agent doit vérifier

  • Task fit and alternatives from Resolve API.
  • Audit score, trust score, and safety policy warnings.
  • Install target compatibility for Codex, Claude Code, Cursor, or CLI.

Copier le prompt

Task: Use audit-context-building in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20audit-context-building%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/trailofbits-audit-context-building/install
Install command: npx skills add trailofbits/skills --skill audit-context-building
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.

Relais Agent

Donnez à l’Agent le chemin d’installation, pas un autre annuaire.

Utilisez le point de terminaison public pour récupérer la commande, la checklist, les prompts et les liens canoniques.

Ouvrir l’API d’installation

Prompt Agent

Use audit-context-building for this task. Review https://www.openagentskill.com/api/skills/trailofbits-audit-context-building/install, then install with: npx skills add trailofbits/skills --skill audit-context-building

Métadonnées Registry

Profil lisible par Agent pour la sélection automatique de skills.

L’API Registry fournit les signaux de décision, confiance, audit, cas d’usage et installation sans analyser l’interface.

Ouvrir Manifest

Adéquation Agent

97/100

Automatisation de workflow

Plateformes

Claude Code

Rapport d’audit

Sûr à essayer · 89/100

Revue lisible par machine de la préparation à l’installation, des métadonnées de sécurité, de la maintenance et du risque d’adoption.

Voir le rapport d’auditVoir le rapport d’évaluation

Panneau de décision Agent

Choix principal pour Automatisation de workflow

Use this as a leading candidate, then validate the README and install path in your own agent stack.

97
Préparation
Adopter
Étape

Rôle dans la pile

Choix principal

Pertinence principale

Automatisation de workflow

Libellé de confiance

Prêt pour la production

Chemin d’installation

Commande prête

À utiliser lorsque

  • workflows Automatisation de workflow
  • Équipes Claude Code
  • Équipes qui valorisent les signaux d’adoption GitHub

Preuves

  • 6,823 stars GitHub
  • recent repository activity
  • install command or GitHub repo available
  • profil qualité 86/100

revoir d’abord

  • No OpenAgentSkill engagement data yet

Chemin d’implémentation

  1. 1Installez-le dans un Agent en sandbox et exécutez une tâche de Automatisation de workflow de bout en bout.
  2. 2Compare output quality, latency, and failure behavior against at least one alternative.
  3. 3Promote it into production only after reviewing repository permissions, license, and maintenance signals.

Profil de confiance

Revoir avant installation

Bon signal de présélection, mais l’Agent doit examiner les notes d’audit, la politique d’installation et les preuves de résultats avant de l’exécuter.

83
Trust Score OpenAgentSkill

Adoption GitHub

Validé

6.8K stars GitHub

Activité stars/forks

Validé

6.8K stars et 585 forks; l’activité des issues n’est pas disponible dans les métadonnées actuelles

Maintenance récente

Validé

Mis à jour aujourd’hui

Clarté de licence

Validé

CC-BY-SA-4.0

Signaux positifs

  • Revue IA approuvée
  • Le chemin d’installation est disponible
  • La preuve du dépôt est disponible
  • Dépôt maintenu récemment
  • Large GitHub adoption signal
  • La commande d’installation ne présente aucun motif de haut risque évident
  • La boucle de résultats est prête mais nécessite la première exécution réelle de l’Agent

Réviser avant installation

  • Quality score needs review
  • Pas encore de rapports de résultats Agent réels
  • Une revue humaine est requise avant une installation sans surveillance

Action recommandée

À utiliser comme candidat principal après revue humaine ou en sandbox.

Profil qualité

Excellent candidat pour les workflows Agent

High-confidence pick with strong adoption and healthy maintenance signals.

86
Stars GitHub
6.8K
Actualité
Aujourd’hui
Prêt à installer
Oui
Licence
CC-BY-SA-4.0

Adéquation au workflow

Utilisez cette skill dans ces scénarios

Adéquation au workflow

Ajouter à un workflow complet

Liste d’alternatives

Comparer avant installation

Similar skills that may fit this task.

Tout comparer

Vue d’ensemble

--- name: audit-context-building description: Understand a codebase before looking for bugs in it - what each function assumes, what it guarantees, and what it depends on elsewhere. Use when starting an audit, threat model, or architecture review on unfamiliar code, and before any vulnerability-hunting pass. allowed-tools: Task Read Grep Glob ---

# Audit Context Building

Build understanding, not verdicts. This runs before anyone hunts for bugs, and feeds that work.

## When to Use

At the start of an audit, a threat model, or an architecture review, when the code is unfamiliar. Also when an earlier pass produced findings nobody could judge, because no one had mapped out how the system fits together.

## When NOT to Use

Do not name vulnerabilities, suggest fixes, write proofs-of-concept, or rate severity. Those belong to the hunting phase, which runs next and with the whole picture in hand. When the code counts on something and nothing checks it, record that plainly and move on — whether it matters is decided later.

Not worth the tokens on code you already understand.

## Do not analyze in this context

The analysis is long, and this context needs to survive to use it. Dispatch it:

- **A codebase, or more than one function** — run `/audit-context-building:audit-context <path>`. It orients, analyzes each function in its own subagent, and writes `audit-context/DOSSIER.md` plus one file per function under `audit-context/functions/`. Only compact records return here. - **A single function** — dispatch the `audit-context-building:function-analyzer` agent at it. It writes its prose to disk and returns a record.

Then work from what comes back: the index, the unenforced assumptions, the open questions. Read a function's file when you need its detail.

The workflow is what enforces this, not this text: a subagent bound to a return schema cannot return prose. Treat this section as routing, and route.

## What comes back, and how to read it

Each record lists what must always be true (with the line that shows it), what the function takes on faith (with whatever establishes it), which functions it calls and what it needs from each, and anything still unclear. The dossier adds the rules that span several functions, who can reach what, and where the complicated parts cluster.

Two things matter more than the rest:

- **Assumptions marked `nothing found`.** The code counts on something being true and nothing anywhere makes it true. This is the most useful thing to hand the hunting phase. - **The open questions.** An honest list of what is still unclear beats a confident answer that turns out to be wrong. Carry them forward instead of closing them out.

Where two records disagree, both are quoted rather than quietly reconciled. That is a fact about the code, not a flaw in the analysis.

## The format

[ANALYSIS_FORMAT.md](resources/ANALYSIS_FORMAT.md) defines it, and [FUNCTION_MICRO_ANALYSIS_EXAMPLE.md](resources/FUNCTION_MICRO_ANALYSIS_EXAMPLE.md) works through examples in C and Solidity. Read them when extending this plugin or deciding whether a record can be trusted.

The format is the same whatever the target. What changes is what fills each slot, and what counts as a call you cannot see inside. [DOMAIN_NOTES.md](resources/DOMAIN_NOTES.md) maps that across smart contracts, C and C++, decompiled firmware, and web services — read it when the target is not plain source code.

**The rule that matters most: follow the calls.** Whether a function is correct usually depends on something another function does, and you cannot see that from the caller alone. A limit looks enforced because the value came back from a function whose name suggests it was checked. So read the function being called, follow every path through it rather than only the one that succeeds, and say what makes each assumption true. When nothing does, use those words: `nothing found`. Every claim cites a line, or becomes an open question.

Détails techniques

Version
1.0.0
Licence
CC-BY-SA-4.0
Dernière mise à jour
24 août 2026
Publié
24 août 2026

Instantané de décision

Choix principal

97
Prêt
Adopter
Étape

6,823 stars GitHub

Audit

Revue d’installation

Revue d’installation et d’adoption

89
Sûr à essayer
Sécurité
87/100
Maintenance
100/100
Installer
92/100
Ouvrir l’audit completVoir le rapport d’évaluation

Preuves validées par Agent

Preuves validées par Agent

Rapports après resolve, revue, installation et une exécution limitée.

0
Validé
Needs first agent runAuto-installation: revoir d’abordDernier: Inconnu
Taux de réussite
Échec récent
Résultats
0
Qualité de sortie
Échecs
0
Non pertinent
0
Installations
0
Bloqué par le risque
0
Configuration requise
0
Production
0

Aucune donnée de résultat Agent pour l’instant. La première exécution peut signaler succès, besoin de configuration, blocage de risque, échec ou non-pertinence via /api/agent/outcome.

Installer

Ajouter au workflow Agent

Gratuit et open source. Examinez le rapport avant l’installation dans des Agents de production.

Boucle de croissance

Kit de partage

X

Brouillon guidé par scénario pour audit-context-building, prêt pour une publication manuelle sur X.

Note du curateur
audit-context-building: Understand a codebase before looking for bugs in it - what each function assumes, what it gua...

6.8K stars

https://www.openagentskill.com/skills/trailofbits-audit-context-building?ref=x
Ouvrir le brouillon X
Réponse facultative avec commande d’installation
Listing + install path for audit-context-building:
https://www.openagentskill.com/skills/trailofbits-audit-context-building?ref=x

Install: npx skills add trailofbits/skills --skill audit-context-building

Source de la fiche

Indexé par Registry

Revendiable

Cette fiche a été indexée à partir de sources publiques et n’est pas marquée officielle tant qu’une revendication de mainteneur n’est pas approuvée.

Créateur
trailofbits
Indexé par
Index communautaire OpenAgentSkill

L’attribution renvoie au dépôt public ou au profil du créateur. Les créateurs peuvent revendiquer la fiche pour mettre à jour les signaux de propriété.

Revendiquer ce skill

Revendication du propriétaire

Revendiquer cette fiche de skill

Cette fiche Indexé par Registry est attribuée à trailofbits, mais n’est pas encore marquée officielle. Revendiquez-la pour ajouter un signal de propriétaire vérifié et rendre les futures mises à jour de lancement, d’installation et d’audit plus fiables.

Kit de backlinks créateur

Ajoutez les badges de preuve à votre README

Affichez la fiche canonique, les signaux actuels de confiance et d’audit, ainsi que de vraies preuves Agent-Proven là où les développeurs évaluent le dépôt.

[![Listed on OpenAgentSkill](https://www.openagentskill.com/api/badge/trailofbits-audit-context-building?metric=listed&label=Listed)](https://www.openagentskill.com/skills/trailofbits-audit-context-building)
[![OpenAgentSkill Trust](https://www.openagentskill.com/api/badge/trailofbits-audit-context-building?metric=trust&label=Trust)](https://www.openagentskill.com/skills/trailofbits-audit-context-building)
[![OpenAgentSkill Audit](https://www.openagentskill.com/api/badge/trailofbits-audit-context-building?metric=audit&label=Audit)](https://www.openagentskill.com/skills/trailofbits-audit-context-building/audit)
[![Agent Proven](https://www.openagentskill.com/api/badge/trailofbits-audit-context-building?metric=proven&label=Agent%20Proven)](https://www.openagentskill.com/skills/trailofbits-audit-context-building)

Auteur

T

trailofbits

@trailofbits

Adéquation plateforme

Signaux de santé

Stars GitHub
6.8K
Score de qualité
50/100
Dernier push GitHub
24 août 2026
Indications de framework
Inconnu
Vues OpenAgentSkill
0
Copies d’installation
0
Clics sortants
0

Signal de communauté

Indiquez si ce skill semble utile à votre workflow Agent. Les retours agrégés améliorent le classement au fil du temps.

Confiance et sécurité

Revoir avant installation

83
  • Adoption GitHub6.8K stars GitHubValidé
  • Activité stars/forks6.8K stars et 585 forks; l’activité des issues n’est pas disponible dans les métadonnées actuellesValidé
  • Maintenance récenteMis à jour aujourd’huiValidé
  • Clarté de licenceCC-BY-SA-4.0Validé
  • Complétude README/SKILL.mdLes métadonnées incluent suffisamment de contexte d’usage et de workflowValidé
  • Risque dépendances/runtimeAucun indice majeur de risque de dépendance dans les métadonnées publiquesValidé