BF Crypto Audit
Weak cryptography detector (OWASP A02:2021 — Cryptographic Failures). Scans Python, JavaScript/TypeScript, Go, Java, and PHP source code for 10 classes of insecure cryptography — MD5/SHA1 password hashing, PRNG for security-sensitive values, hardcoded IVs, ECB mode, DES/RC4/Blowfish, RSA key size under 2048 bits, weak JWT secrets, bcrypt rounds too low, TLS 1.0/1.1 acceptance, and hardcoded cryptographic keys in source. Zero external dependencies. CI fail-gate included.
As a process F 26/100 · Will not run — References files that are not bundled: ?:md5|sha1|sha256|sha224, ?:MD5|SHA-?1|SHA-?256, ?:md5|sha1|sha256
What is at stake
Medium-severity findings: the skill is probably honest, but read what alarmed the scanner.
Below is the worst case for this category. The finding here is medium: the guard saw a sign, not a proof.
The files contain someone else's key or token. If it is live, your agent will call third-party services under a stranger's identity; if it was revoked, the skill's scripts simply fail. Such a key often arrives with the author's whole workspace, personal data included.
The key is visible to everyone who downloaded the skill and has likely been copied by catalog-scanning bots already. Revoke it now, check bills and access logs, then reissue.
How to improve
- Say in the description WHEN to use the skill ("use when…", example requests): that is the agent's main cue.
- The SKILL.md body is over 5,000 tokens: move reference detail into references/ and load it when needed.
- The text references files that are not there: add them or drop the references.
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 1
✓ No critical or high findings
Medium and low: 1
-
medium Secrets in code
secret-labelled-tokenSKILL.md:112Labelled token / key literal (vendor format unknown — verify it is not a live credential)Hardcoded AES key: SECRET_KEY = "my-s…234"
Files scanned: 2. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
name-formatname should be kebab-case (lowercase letters, digits, hyphens) - warning
description-no-whendescription does not say WHEN to use the skill (no "use when") - warning
body-longSKILL.md body ≈ 7135 tokens (recommended < 5000); move details to references/ - warning
missing-refreference to a missing file: ?:md5|sha1|sha256|sha224 - warning
missing-refreference to a missing file: ?:MD5|SHA-?1|SHA-?256 - warning
missing-refreference to a missing file: ?:md5|sha1|sha256 - warning
missing-refreference to a missing file: ?:md5|sha1 - warning
missing-refreference to a missing file: (?:[A-Za-z0-9+/=]{16,}|[0-9a-fA-F]{16,} - warning
missing-refreference to a missing file: ?:DES|DESede|RC4|ARCFOUR|Blowfish - warning
missing-refreference to a missing file: ?:des|des-ede3|rc4|bf - warning
missing-refreference to a missing file: ?:DES|3DES|RC4|BF - note
frontmatter-keyunknown frontmatter key "homepage"
Process rating: all ten parameters 26/100
- 0Tools and files. 8 referenced file(s) missing: ?:md5|sha1|sha256|sha224, ?:MD5|SHA-?1|SHA-?256, ?:md5|sha1|sha256
- 0Result and completion. Does not say what the result is
- 0Inputs and preconditions. Does not say what the process needs to start
- 0Failures and branches. Linear process with no failure handling
- 0Progress reporting. Says nothing while it works
- 20When it triggers. No condition that starts the skill
- 30Running it twice. 1 mutating operations with no state check
- 40Consistency. Frontmatter name (Crypto Audit) differs from the folder (phy-crypto-audit)
- 70Execution cost. Instruction body is 7135 tokens
- 100Steps. 15 steps
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +5Description has no quoted example phrases that should trigger the skill
- +4Description does not say when NOT to use the skill (false activations)
- +3Output format is not stated: the model decides each time
- +2Single-language instructions
- +3Description length 474: enough signal without eating the budget
- +4Structure: 19 headings
- +3Step-by-step instructions: 15 items
- +4Has examples (4 code blocks)
- +1License stated
Quality base 70; lint remarks subtract, signals add up to 100. Result: 45.