Learn Everything

Module · Claude Engineer

Keeping Claude Code Safe

Permissions, secrets and the untrusted text that ends up in your context window.

2 topics4 interactive tasks

TOPIC 01

Permissions & Secrets

What runs without asking, and what must never reach the model at all.

What you'll practice

  • Set the Permission Set — guided · beginner
  • Keep Secrets Out of the Context — practice · intermediate

A command you'll meet

cat ~/.claude/security/permissions.md

An agent with shell access is a security decision. Open the task below for the full walkthrough.

TOPIC 02

Untrusted Content

The issue text, the web page and the dependency readme are all instructions you did not write.

What you'll practice

  • Spot a Prompt Injection — challenge · advanced
  • Review What the Agent Proposes — practice · intermediate

A command you'll meet

cat ~/.claude/security/untrusted.md

The context window is an input. Treat everything in it as one. Open the task below for the full walkthrough.