Skills
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
npx skills add Tektonic-Company/lyber-skillsAdd -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:
mkdir -p ~/.claude/skills && ln -s "$PWD/skills/lyber-audit" ~/.claude/skills/lyber-auditRun 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.
- Start. The script reads the languages and the test runners, and lists the routes it can see.
- Map. The agent writes one row per entry point, with the rules it must keep and who can reach it.
- Review and prove. Each row is reviewed. A flaw is kept only when a test added to your suite fails because of it.
- Write. The findings are checked and written as a SARIF file.
- 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
| Verdict | When | Exit code |
|---|---|---|
NOT YET | A proven flaw scored at the policy's blockAt or above, or a committed secret | 1 |
INCOMPLETE | Nothing blocks, but fewer entry points were reviewed than the policy's minCoverage asks | 2 |
SHIP, N TO FIX | Only proven flaws below blockAt | 0, or 1 with "failOn": "any" |
SHIP | Nothing 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:
{ "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
.envfiles 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
| Covered | Not in this version |
|---|---|
| Rights, identity, flows, money and limits, data that leaves, dangerous calls and configuration in code | Dependency advisories and secrets in the git history: use your own scanners for those |
| What the repository's code and tests can show | A 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.