refactor-audit — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited refactor-audit (Agent Skill) and scored it 87/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 1 high-severity and 1 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 2 flagged
The text {match} is the classic direct prompt-injection phrasing. Placed in a skill body that the agent reads as trusted instructions, it tries to make the agent abandon its prior rules and follow whatever comes next — a full system-prompt override.
ignore/disregard/forget … previous instructions sentence.The text {match} tells the agent to skip the normal "ask the user first" gate. Used adversarially it removes the human-in-the-loop check before destructive or sensitive actions, turning a normally-gated agent into a fire-and-forget executor.
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Today: !date "+%Y-%m-%d" Branch: !git branch --show-current Framework: !test -f vitest.config.ts -o -f vitest.config.js -o -f vitest.config.mts && echo "vitest" || (test -f jest.config.ts -o -f jest.config.js -o -f jest.config.mjs && echo "jest" || (test -f conftest.py -o -f pytest.ini && echo "pytest" || (grep -q '"pytest"' pyproject.toml 2>/dev/null && echo "pytest" || (test -f playwright.config.ts && echo "playwright" || (ls *_test.go 2>/dev/null | head -1 | grep -q . && echo "go" || (test -f Cargo.toml && echo "rust" || echo "unknown")))))) Git diff stat: !git diff --stat HEAD 2>/dev/null | tail -1
You are performing a refactoring readiness assessment. This skill answers one question: "Is this code ready to be safely refactored?"
Read procedure.md in this skill folder for the full 3-phase protocol.
/test-suite for baseline generation.This skill creates a clear workflow with other skills:
/refactor-audit → "Is it ready?" (this skill)/code-review → "Did it work?" (post-refactor diff review)/test-suite → Generate baseline tests if coverage prerequisite fails/code-review for diff-based review after refactoring./test-suite for that (though this skill may recommend it as a prerequisite)./security-scan for that.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.