aws-security
Skill0 starsChanged 3 months agoApache-2.0View on GitHub
PII/sensitive data identification and handling, destructive command control, and the secret-entry protocol. Applies to every aws-* skill. Triggers: "sensitive data", "민감정보", "pii", "secret", "시크릿", "password", "비밀번호", "delete", "삭제", "destructive", "파괴적", "secrets manager".
- Reads credentials
3 other projects use a version of this.
Adopted by
Most recently taken up by
- delorenj/skillstheir own version, first seen Oct 2, 2026
- aws/agent-toolkit-for-awstheir own version, first seen Jun 17, 2026
- eliecer2000/kiro-bootstraptheir own version, first seen Mar 22, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- aws/agent-toolkit-for-aws★ 2.8ksame name
- delorenj/skills★ 15same name
- eliecer2000/kiro-bootstrap★ 9same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- aws-accessSkill
- aws-cliSkill
- aws-onboardingSkill
- aws-servicesSkill
- aws-ssmSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Never expose the following in agent output, summaries, code, commits, or logs:
- Very specific: line 24
When CLI output mixes them in, exclude the field via --query before summarizing.
- Distinctive: line 31
Never ask the user to paste a secret into chat — agents must not request it, users must not do it.
- Distinctive: line 34
When a command needs a real value: hand over a template and the user runs it in their own terminal:
- Very specific: line 53
Impact list first: before deleting, output the affected resource list, count, and names (describe/list + --query)
- Distinctive: line 56
Explicit approval: never execute without showing the list — not "delete?" but "about to delete the 3 resources below — approve?"
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AWS Security Rules (common to every aws-* task)
1. Identifying sensitive data
Never expose the following in agent output, summaries, code, commits, or logs:
| Class | Examples |
| Credentials | access keys (AKIA...), secret keys, tokens (Bearer ...), pem contents |
| PII | names, emails, phone numbers, national IDs, bank/card numbers, full home paths (~/...) |
| Infrastructure | DB connection strings, .env values, internal domains, SSH host keys |
| AWS | Secrets Manager / Parameter Store plaintext, credential report raw content |
On detection: replace with <REDACTED> or a placeholder and add a one-line warning.
When CLI output mixes them in, exclude the field via --query before summarizing.
2. Secret-entry protocol (hard rule for agents)
Principle: secret values never exist anywhere the agent can see — not in suggested commands, not in output, not in the transcript.
- Never ask the user to paste a secret into chat — agents must not request it, users must not do it.
- Suggested commands carry references only (
$SECRET_ID,--secret-id, an env var name) — never values. - When a command needs a real value: hand over a template and the user runs it in
their own terminal:
- The
! <command>prefix is also forbidden — its input and output are visible to the agent in the session transcript - The user reports back only success/failure
- The
- Secrets Manager lookups follow the same rule: the agent must never receive the output
of
get-secret-value. The user runs it themselves, or the application runtime decrypts. - Writing
.env/config files: the agent writes key names with placeholders only; the user fills values in an editor.
Rationale: a secret that enters the transcript cannot be removed — it persists in caches, logs, and summaries.
3. Destructive command control
Targets: terminate/delete/rb/rm/detach, put-* (overwrites), update* --replace,
IAM policy edits, cloudformation delete-stack, s3api delete-objects — anything
irreversible.
Procedure (order is mandatory):
- Impact list first: before deleting, output the affected resource list, count, and
names (
describe/list+--query) - Dry-run whenever available:
--dry-run - Explicit approval: never execute without showing the list — not "delete?" but "about to delete the 3 resources below — approve?"
- Minimum scope: no
--all, no wildcards, no unconditioneddelete-objects— explicit IDs/names only - Verify after execution: re-query and report the result
For IAM/security-group changes, snapshot the current values (json output) to a file before modifying — that is the rollback record.
4. Where these rules apply
- Main thread: follow this skill
- aws-ops subagent: the same rules are embedded in agents/aws-ops.md (skill loading is not guaranteed inside agents)
- The SSO profile itself is effectively the secret-avoidance mechanism — if something demands long-lived keys, refuse and propose the SSO path instead
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

