BC signet-guardian
Payment guard middleware for AI agents. Use whenever any skill is about to initiate a payment. Runs a preflight check against the user's policy (payments enabled, per-transaction limit, monthly cap). Returns ALLOW, DENY, or CONFIRM_REQUIRED. Other payment-capable skills must call signet-preflight before proceeding and signet-record after a successful payment.
Payment guard middleware for AI agents.
As a process C 64/100 · Has gaps — weak spots: result and completion, inputs and preconditions
How to improve
- 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 · 5
✓ No critical or high findings
Medium and low: 5
-
low Secrets in code
secret-high-entropy-tokenpnpm-lock.yaml:28High-entropy token-like string (may be an id, hash or a credential)resolution: {integrity: sha5…7pY+zoMV…h0x/Ptw8…8dg==} -
low Secrets in code
secret-high-entropy-tokenpnpm-lock.yaml:40High-entropy token-like string (may be an id, hash or a credential)resolution: {integrity: sha5…b00+Gxjx…zRc/oZwU…hzA==} -
low Secrets in code
secret-high-entropy-tokenpnpm-lock.yaml:58High-entropy token-like string (may be an id, hash or a credential)resolution: {integrity: sha512-vHk/hA7/1Ack…wbo+jaSh…Gtl+A5zq…HFg==} -
low Secrets in code
secret-high-entropy-tokenpnpm-lock.yaml:70High-entropy token-like string (may be an id, hash or a credential)resolution: {integrity: sha5…Dsc+j03S…0oA==} -
low Secrets in code
secret-high-entropy-tokenpnpm-lock.yaml:172High-entropy token-like string (may be an id, hash or a credential)resolution: {integrity: sha5…NS8+tHW7…WOF+PEzk…X4Q==}
Files scanned: 10. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
✓ No remarks against the Agent Skills spec
Process rating: all ten parameters 64/100
- 0Result and completion. Does not say what the result is
- 0Inputs and preconditions. Does not say what the process needs to start
- 60Tools and files. Uses tools (bash) that frontmatter does not declare
- 70When it triggers. States when to use, but not when not to
- 100Steps. 27 steps
- 100Failures and branches. 4 branches, has a failure section
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 1861 tokens
- 100Running it twice. Mutating operations check current state
- 100Progress reporting. Reports progress
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
- -41 reference files, but SKILL.md never points to them: the model will not open them
- -31 of 1 scripts are never mentioned in SKILL.md
- +1No license
- +2Single-language instructions
- +3Description length 361: enough signal without eating the budget
- +4Structure: 11 headings
- +3Step-by-step instructions: 27 items
- +4Has examples (4 code blocks)
Quality base 70; lint remarks subtract, signals add up to 100. Result: 77.