Back to skill

Security audit

ken-debt

Security checks for vulnerabilities and agentic risk

Overview

This skill is a simple read-only repo scanner for tracking `ken:` comments, with only optional user-requested file output.

Install if you want a lightweight codebase report for `ken:` debt markers. Expect it to read the current repository and optionally create a ledger file only when requested.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (1)

Anti-Refusal Statement

High
Category
Anti-Refusal
Confidence
80% confidence
Finding

Skill instructs the agent to omit warnings, disclaimers, or ethical commentary. Stripping safety caveats hides risk from the user and is a common jailbreak preamble.

Content

Scanner excerpt · SKILL.md (reported line 33)May include surrounding context.

md
`git blame -L<line>,<line>`.

Flag the rot risk: any `ken:` comment that names no upgrade trigger gets a
`no-trigger` tag; those can rot without warning.

End with `<N> markers, <M> with no trigger.` Nothing found: `No ken: debt. Clean ledger.`