agentlas-ai/agentlas-security-scan
Use when an agent folder must pass the Agentlas Cloud 2-stage security scan (static rules + BYOK LLM judgment) before private sync or public publish, or when asked to run/interpret `hephaestus security scan`.
npx skills add https://github.com/agentlas-ai/Agentlas-OS --skill agentlas-security-scan
Plan §6.2: stage 1 is static rule screening, stage 2 is a judgment made by the
user's own LLM session (BYOK). The Cloud server never calls an LLM (v1
Non-Goal: no server-side model execution). You — the agent running this skill —
are the stage-2 judge.
bin/hephaestus security scan <agent-folder>..agentlas/security-scan.json lists rule-based findings("source": "static") and a verdict: BLOCK > WARN > PASS.
You must judge the package yourself; do not skip this for public publish.
AGENTS.md, agent.md,CLAUDE.md, skills/**/SKILL.md, commands, hook configs) directly.
<agent-folder>/.agentlas/security-llm-judgment.json in this exactcontract. NEVER quote secret values — record path + risk type + reason only:
{
"schemaVersion": "1.0",
"judgedAt": "2026-01-01T00:00:00Z",
"model": "<model label, optional>",
"verdict": "PASS" | "WARN" | "BLOCK",
"findings": [
{
"verdict": "WARN" | "BLOCK",
"type": "prompt-injection" | "tool-poisoning" | "secret-exfiltration" | "destructive-command" | "excessive-permission" | "other",
"path": "<file>",
"message": "<why>",
"redacted": true
}
]
}
bin/hephaestus security scan <agent-folder> so the scanner mergesthe judgment automatically. The merged report shows
"stages": ["static", "llm-judgment"], per-finding source tags, and the
combined verdict (max severity of both stages).
BLOCK: stop. Fix the findings; do not sync or publish.WARN: requires explicit user approval. Show the findings, ask the userto approve or fix; only proceed after approval
(--strict --acknowledge-warn exits 0; --strict alone exits 2 on WARN).
PASS: proceed.bin/hephaestus security scan <agent-folder> # merged report, exit 0
bin/hephaestus security scan <agent-folder> --strict # BLOCK→exit 1, WARN→exit 2
bin/hephaestus security scan <agent-folder> --strict --acknowledge-warn # WARN approved→exit 0
bin/hephaestus security scan <agent-folder> --llm-judgment <path> # judgment file override
Return the merged report JSON, the combined verdict, the stage list, and —
when verdict is WARN — the explicit user approval (or the fix) that
unblocked publish.
Take agentlas-ai/agentlas-security-scan from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.