lua-audit SKILL.md skillA

lua-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/lua-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/lua-audit/SKILL.md
Versions recorded
2
Latest version
git:20260826.b165db6, committed Aug 26, 2026
First version recorded
Mar 3, 2026
Size
10,205 bytes
Repository stars
19
License
AGPL-3.0

Audit Lua stdlib code for security, correctness, and sandbox safety. Use when reviewing or hardening Lua 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

# Lua Code Audit Skill

Perform comprehensive security, correctness, and quality audits on Hull Lua stdlib code.

**Target:** $ARGUMENTS (default: all `stdlib/lua/hull/*.lua` files)

## Usage

```
/lua-audit                              # Audit all Lua stdlib modules
/lua-audit stdlib/lua/hull/template.lua # Audit a specific module
/lua-audit --fix                        # Audit and apply fixes
```

## Hull Lua Context

Hull Lua code runs inside a sandboxed Lua 5.4 interpreter:
- **Removed globals:** `io`, `os`, `loadfile`, `dofile`, `load`
- **Available libs:** base, table, string, math, utf8, coroutine
- **Custom `require()`:** resolves only from embedded stdlib registry
- **Memory limit:** 64 MB (custom allocator)
- **C capabilities:** `db`, `crypto`, `time`, `env`, `fs`, `http` - accessed through hull globals, NOT Lua standard libs

## Audit Categories

### 1. Sandbox Safety (Critical)

| Issue | Pattern to Find | Severity |
|-------|-----------------|----------|
| Sandbox escape | Use of `load()`, `loadstring()`, `dofile()`, `loadfile()` | Critical |
| Unsafe eval | String-to-code conversion outside C bridge `_compile()` | Critical |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add artalis-io/hull/lua-audit@sha256:0a4bff1193fb6f0d

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_pux2dye3ewdoy4lo.svg)](https://markdownregistry.com/a/art_pux2dye3ewdoy4lo)

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

Versions

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

versioncommittedcommitsizeaudit
git:20260826.b165db6 latest2026-08-26 b165db6 10,205 BA view · diff
git:20260303.0664b9f2026-03-03 0664b9f 10,215 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 (10205 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_pux2dye3ewdoy4lo
GET https://markdownregistry.com/api/v1/resolve?ref=artalis-io/hull/lua-audit
GET https://markdownregistry.com/api/v1/blob/0a4bff1193fb6f0d0c5f33e9d80176829613cd3f5ac64cf01c330527e37490ed

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

c-audit SKILL.md skill
artalis-io/hull · .claude/skills/c-audit/SKILL.md · Audit C code for security, safety, and memory management. Use when reviewing or hardening C modules.
git:20260826.b165db6 · audit A · 19 stars
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
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.