Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

RTK CLI security audit: injection and hooks v1.0.0

Use this resource to audit the RTK CLI for command injection and hook security

New

  • 577 downloads
  • 143 likes
  • 241 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install cli-command-injection-security-audit

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent builds RTK's threat model, walks through the command execution and hook code, and ranks risks from critical to safe. It suggests environment and input validation. You get a security report with the fixes to apply.

Mostly picked by

Updated November 2, 2026

Card for the “RTK CLI security audit: injection and hooks” skill

Details

Generates with
Your agent's model
Licence
Apache-2.0

Similar resources

View all

What you get

  • SKILL.md: threat model and risk categories
  • SKILL.md: audit patterns (hook not checking its source, execution without validation)
  • SKILL.md: best practices for validating the hook environment

Good fit for

  • You change RTK's hooks or shell command execution
  • A release is planned and you want an audit before publishing

Not for

    Tags

    • security
    • injection
    • shell
    • hooks

    About

    You say

    “Audit the rtk-rewrite.sh script and how shell commands are passed, to detect injection.”

    Card for the “RTK CLI security audit: injection and hooks” skill

    Skill published by rtk-ai under the Apache-2.0 license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to audit the RTK CLI for command injection and hook security
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE10.7 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • SKILL.md13.8 KB

    Origin and licence

    Listed unmodified

    Author
    rtk-ai
    Source
    github.com/rtk-ai/rtk/tree/e05c7bdfacfcfe1f845d11f47339e4eae63eb3f5/.claude/skills/security-guardian
    Licence
    Apache-2.0

    Notice

    « security-guardian » (rtk-ai, Apache-2.0) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.