skills/connorads/dotfiles/hk/Gen Agent Trust Hub

hk

Pass

Audited by Gen Agent Trust Hub on Oct 16, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill establishes a significant attack surface for indirect prompt injection by configuring an agent to process untrusted repository content through various linters, formatters, and custom scripts.
  • Ingestion points: The agent is instructed to run tools on staged files ({{files}}) identified by glob patterns in hk.pkl across all repository files (e.g., source code, configuration files, markdown).
  • Boundary markers: The skill does not provide explicit prompt boundary markers or instruction-override warnings when passing repository content to these automated tools.
  • Capability inventory: The configured system has the capability to execute shell commands via Git hooks, perform automated file modifications ('fix' mode), and block Git operations (commits/pushes).
  • Sanitization: No evidence of sanitization or escaping of file content was found before the data is processed by the configured tools.
  • [COMMAND_EXECUTION]: The skill centers on configuring Git hooks that execute arbitrary shell commands during development workflows.
  • Evidence: The skill sets up a tracked wrapper script at .hk-hooks/pre-commit which executes exec "$HK_BIN" run pre-commit -q "$@".
  • Evidence: Configuration examples in hk.pkl define shell commands for tools like pnpm exec prettier, ruff check, go test ./..., and custom shell scripts for branch protection.
  • [EXTERNAL_DOWNLOADS]: The skill fetches and incorporates remote configuration files from external repositories.
  • Evidence: The hk.pkl configuration files use Pkl's amends and import features to download Config.pkl and Builtins.pkl from the official jdx/hk GitHub repository.
  • [DYNAMIC_EXECUTION]: The skill supports a testing framework that involves dynamic file generation and command execution in a sandboxed environment.
  • Evidence: The tests {} block in hk.pkl (managed by hk test) allows for creating inline file fixtures and running setup/verification commands like chmod +x or custom Bash scripts during the testing phase.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 16, 2026, 05:06 PM