Skills

Markdown

Lyber audit

A security audit skill for your coding agent. A flaw counts only when a test in your repository's own suite fails because of it.

lyber-audit is a skill: a folder of instructions and one script that your coding agent loads. The agent lists every entry point of the repository and checks each against the rules the code has to hold: who can read which data, who can act on what, the order of steps, who gets billed. It proves each flaw with a test in the repository's own suite that fails today. A local policy turns what is proven into a verdict.

Install

terminal
npx skills add Tektonic-Company/lyber-skills

Add -g to install it for every project instead of the current one. The command comes from the open skills CLI. The skill is listed on skills.sh and its source is on GitHub under the MIT license.

Without the CLI, clone the repository and link the skill's folder where your agent looks for skills. For Claude Code, from the clone:

terminal
mkdir -p ~/.claude/skills && ln -s "$PWD/skills/lyber-audit" ~/.claude/skills/lyber-audit

Run it

Open the repository to audit in your coding agent and type /lyber-audit. It works in Claude Code and in any agent that reads SKILL.md folders. The script needs Node 20 or later and has no dependencies.

  1. Start. The script reads the languages and the test runners, and lists the routes it can see.
  2. Map. The agent writes one row per entry point, with the rules it must keep and who can reach it.
  3. Review and prove. Each row is reviewed. A flaw is kept only when a test added to your suite fails because of it.
  4. Write. The findings are checked and written as a SARIF file.
  5. Verdict and report. The policy gives the verdict, with an exit code for CI and one report page that opens offline.

The run writes a .lyber/ folder in the audited repository. .lyber/audit/ holds the map and the findings, meant for git. .lyber/out/ holds the SARIF file, the verdict and report.html, and is kept out of git.

Verdicts

VerdictWhenExit code
NOT YETA proven flaw scored at the policy's blockAt or above, or a committed secret1
INCOMPLETENothing blocks, but fewer entry points were reviewed than the policy's minCoverage asks2
SHIP, N TO FIXOnly proven flaws below blockAt0, or 1 with "failOn": "any"
SHIPNothing proven, and enough entry points reviewed (all of them, by default)0

The policy is .lyber/policy.json in the audited repository. Without one, these defaults apply:

.lyber/policy.json
{ "blockAt": 7, "blockSecrets": true, "minCoverage": 1, "failOn": "block" }

In CI, the script's verdict command rereads the committed map and findings. It gates on the last audit, not on new code.

What leaves your machine

From the skill, nothing. Its script makes no network request, and the review reads code and runs tests on your machine. Your code goes only where your coding agent already sends it: to the model that agent runs on. The skill calls no Lyber endpoint and needs no Lyber key.

  • The agent is told to read settings files through the script, which masks keys, tokens and passwords before the agent sees them. In .env files it gives the names and hides every value that could be a credential.
  • A committed secret is reported by file, line and kind, never by value.
  • The skill's rules keep the review local: no request to a deployed system or a third-party API, and no real credentials or personal data.

What it covers

CoveredNot in this version
Rights, identity, flows, money and limits, data that leaves, dangerous calls and configuration in codeDependency advisories and secrets in the git history: use your own scanners for those
What the repository's code and tests can showA deployed system, its proxies and cloud settings: a flaw that depends on one is reported as a lead, not as proven

Looking for a review that runs on Lyber's models? The security review workflow is a separate, server-side API.