c-audit SKILL.md skillA

c-audit from artalis-io/hull is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add artalis-io/hull/c-audit@git:20260826.b165db6

Pins git:20260826.b165db6 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
artalis-io/hull
Path
.claude/skills/c-audit/SKILL.md
Versions recorded
5
Latest version
git:20260826.b165db6, committed Aug 26, 2026
First version recorded
Mar 3, 2026
Size
42,452 bytes
Repository stars
19
License
AGPL-3.0

Audit C code for security, safety, and memory management. Use when reviewing or hardening C modules.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# C Code Audit Skill

Perform comprehensive security, safety, and quality audits on Hull C code.

**Target:** $ARGUMENTS (default: all `src/cap/`, `src/runtime/`, and `include/hull/` files)

## Usage

```
/c-audit                              # Audit all source files
/c-audit src/cap/hull_cap_db.c        # Audit a specific file
/c-audit --fix                        # Audit and apply fixes
```

## Audit Categories

### 1. Memory Safety (Critical)

| Issue | Pattern to Find | Severity |
|-------|-----------------|----------|
| Buffer overflow | `strcpy`, `strcat`, `sprintf`, `gets`, unbounded loops | Critical |
| Unbounded string ops | `strlen`, `strcmp` on untrusted input | Critical |
| Unsafe integer parsing | `atoi`, `atol`, `atof` (no error detection, no bounds) | High |
| Integer overflow | `malloc(a * b)` without overflow check | Critical |
| Use-after-free | Pointer used after `free()` | Critical |
| Double-free | `free()` called twice on same pointer | Critical |
| Null dereference | Pointer used without NULL check | High |
| Uninitialized memory | Variables used before assignment | High |
| Missing null terminator | String buffer not explicitly terminated | High |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add artalis-io/hull/c-audit@sha256:f6a6856a460b1273

The line at the top of this page pins the label git:20260826.b165db6, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_qmlhntqrnzlbcyk6.svg)](https://markdownregistry.com/a/art_qmlhntqrnzlbcyk6)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Mar 3, 2026 and Aug 26, 2026, about one every 44 days.

versioncommittedcommitsizeaudit
git:20260826.b165db6 latest2026-08-26 b165db6 42,452 BA view · diff
git:20260622.6c126352026-06-22 6c12635 42,520 BA view · diff
git:20260618.71e33d72026-06-18 71e33d7 26,822 BA view · diff
git:20260617.c7c8b292026-06-17 c7c8b29 14,562 BA view · diff
git:20260303.0664b9f2026-03-03 0664b9f 10,736 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (42452 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

artalis-io/hull · 19 stars · license AGPL-3.0 · pushed 2026-10-25 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_qmlhntqrnzlbcyk6
GET https://markdownregistry.com/api/v1/resolve?ref=artalis-io/hull/c-audit
GET https://markdownregistry.com/api/v1/blob/f6a6856a460b1273856fea0434a0cb1c946531b8ba025b8dd3dd18d1245b4737

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from artalis-io/hull

js-audit SKILL.md skill
artalis-io/hull · .claude/skills/js-audit/SKILL.md · Audit JavaScript stdlib code for security, correctness, and sandbox safety. Use when reviewing or hardening JS modules.
git:20260826.b165db6 · audit A · 19 stars
lua-audit SKILL.md skill
artalis-io/hull · .claude/skills/lua-audit/SKILL.md · Audit Lua stdlib code for security, correctness, and sandbox safety. Use when reviewing or hardening Lua modules.
git:20260826.b165db6 · audit A · 19 stars
AGENTS.md AGENTS.md file
artalis-io/hull · AGENTS.md
git:20261005.6305f1f · audit B · 19 stars
CLAUDE.md CLAUDE.md file
artalis-io/hull · CLAUDE.md
git:20261025.0eda8b4 · audit C · 19 stars
CLAUDE.md@examples/todo CLAUDE.md file
artalis-io/hull · examples/todo/CLAUDE.md
git:20260826.b165db6 · audit A · 19 stars

Every file in artalis-io/hull

Browse by kind, by grade A, or by owner.