SKILLEMALL.ai

CB deploying-ransomware-canary-files

Deploys and monitors ransomware canary files using Python's watchdog library, placing decoy files mimicking high-value targets (financial records, credentials, database exports) where ransomware enumerates first, and alerting via email, Slack, or syslog on any read/modify/rename/delete. Use for early-warning ransomware detection on file servers, NAS, or endpoints, or to supplement EDR where agents can't be deployed.

mukul975/Anthropic-Cybersecurity-Skills Agent Skills author: mukul975 Apache-2.0 4 files · 1 script body ≈ 919 tokens Open the sourcegithub.com↗ analyzed 5 d ago

Deploys and monitors ransomware canary files using Python's watchdog library, placing decoy files mimicking high-value targets (financial records…

As a process B 65/100 · Nearly there — weak spots: failures and branches, running it twice

ProcedureSlackInfrastructuretype and topics are labelled automatically from the skill text
JSON
Technical rating
C
84/100
safety, quality, tests
Safety 60%
86
Quality 40%
82
Run on models
none yet
Process rating
B
65/100
Nearly there
Failures and branches w 10
0
Running it twice w 4
30
When it triggers w 12
50
the three weakest of ten parameters · all ten

How to improve

    For the model run — optional
    • 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 · 14

    ✓ No critical or high findings

    Medium and low: 14
    • low Risky intent intent-offensive-security references/api-reference.md:1
      Offensive-security / dual-use content (legitimate for authorised testing; review intended use)
      # API Reference: Deploying Ransomware Canary Files
    • low Risky intent intent-offensive-security references/api-reference.md:37
      Offensive-security / dual-use content (legitimate for authorised testing; review intended use)
      ## Ransomware Extension Detection
    • low Exfiltration exfil-webhook-url references/api-reference.md:52
      Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)
      python agent.py --action monitor --slack-webhook https://hooks.slack.com/...
      placeholder
    • low Risky intent intent-offensive-security references/api-reference.md:73
      Offensive-security / dual-use content (legitimate for authorised testing; review intended use)
      - Elastic Security Labs: Ransomware Canary Files: https://www.elastic.co/security-labs/ransomware-in-the-honeypot-how-we-capture-keys
    • low Risky intent intent-offensive-security references/api-reference.md:74
      Offensive-security / dual-use content (legitimate for authorised testing; review intended use)
      - Huntress Ransomware Canaries: https://support.huntress.io/hc/en-us/articles/4404005167763
    • low Risky intent intent-offensive-security references/api-reference.md:76
      Offensive-security / dual-use content (legitimate for authorised testing; review intended use)
      - CISA #StopRansomware Guide: https://www.cisa.gov/stopransomware/ransomware-guide
    • low Risky intent intent-wallet-secrets scripts/agent.py:64
      Handles crypto-wallet secrets (seed / mnemonic / private key) — a classic stealer target (quoted — discussed, not commanded)
      b"BIP39 Mnemonic Seed Phrase (DO NOT SHARE)\n"
      quoted
    • low Secrets in code secret-aws-key scripts/agent.py:81
      AWS access key ID (placeholder value)
      b"svc-prod-deploy,AKIA…PLE,wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY\n"
      placeholder
    • low Secrets in code secret-aws-key scripts/agent.py:82
      AWS access key ID (placeholder value)
      b"svc-backup,AKIA…PLE,je7M…wBF/2Zp9Utk/h3yC…KEY\n"
      placeholder
    • low Risky intent intent-offensive-security SKILL.md:2
      Offensive-security / dual-use content (legitimate for authorised testing; review intended use)
      name: deploying-ransomware-canary-files
    • low Risky intent intent-offensive-security SKILL.md:3
      Offensive-security / dual-use content (legitimate for authorised testing; review intended use)
      description: Deploys and monitors ransomware canary files using Python's watchdog library, placing decoy files mimicking high-value targets (financial records, credentials, database exports) where ran
    • low Risky intent intent-offensive-security SKILL.md:5
      Offensive-security / dual-use content (legitimate for authorised testing; review intended use)
      subdomain: ransomware-defense
    • low Risky intent intent-offensive-security SKILL.md:7
      Offensive-security / dual-use content (legitimate for authorised testing; review intended use)
      - ransomware
    • low Risky intent intent-offensive-security SKILL.md:45
      Offensive-security / dual-use content (legitimate for authorised testing; review intended use)
      # Deploying Ransomware Canary Files

    Files scanned: 4. Evidence is masked. Grey chips explain why severity was lowered.

    Against the Agent Skills spec

    • note frontmatter-key unknown frontmatter key "domain"
    • note frontmatter-key unknown frontmatter key "subdomain"
    • note frontmatter-key unknown frontmatter key "nist_csf"
    • note frontmatter-key unknown frontmatter key "mitre_attack"
    • note frontmatter-key unknown frontmatter key "mitre_f3"

    Process rating: all ten parameters 65/100

    • 0Failures and branches. Linear process with no failure handling
    • 30Running it twice. 6 mutating operations with no state check
    • 50When it triggers. No condition that starts the skill
    • 60Tools and files. Uses tools (python) that frontmatter does not declare
    • 60Result and completion. Output format stated, no completion criterion
    • 70Inputs and preconditions. Inputs and preconditions are listed
    • 100Steps. 15 steps
    • 100Consistency. Name and required fields are in place
    • 100Execution cost. Instruction body is 919 tokens
    • 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
    • -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
    • +2Single-language instructions
    • +4Description says when NOT to use the skill
    • +3Description length 419: enough signal without eating the budget
    • +4Structure: 11 headings
    • +3Step-by-step instructions: 15 items
    • +3Output format is stated explicitly
    • +4Has examples (1 code blocks)
    • +1License stated

    Quality base 70; lint remarks subtract, signals add up to 100. Result: 82.