Binary blob audit

From jmagly/aiwg · View interactive version

Binary blob audit is an AI agent skill from the GitHub repository jmagly/aiwg. Scan tracked repository files for committed binary blobs and report reviewability/provenance exceptions

How to use this skill

Skill file

Binary Blob Audit

Scan source repositories for committed binary blobs. This enforces the no-binary-blobs rule and maps curl Practice 6 into an AIWG security-engineering control.

Execution Flow

  1. Run git ls-files -z to enumerate tracked files.
  2. For each file, collect size, MIME classification, and last touched commit.
  3. Flag binary MIME types and extension-blocklisted files: .so, .dll, .dylib, .exe, .bin, .dat, .o, .a, .jar, .war.
  4. Classify exceptions:
  1. Emit a report with violations and allowed exceptions.

Output

Each finding includes path, MIME type, byte size, last touched commit, exception status, and remediation.

CI

Run in report-only mode first:

aiwg run skill binary-blob-audit

Gate new violations after baselining:

aiwg run skill binary-blob-audit -- --fail-on-violation

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.