SKILLEMALL.ai

FC detecting-aws-credential-exposure-with-trufflehog

Scan source code repositories, CI/CD pipelines, and configuration files for exposed AWS credentials using TruffleHog, git-secrets, and AWS-native detection. Use when integrating secrets scanning into CI/CD, auditing repositories (including git history) for historically committed AWS keys, responding to a GuardDuty alert about credential use from an unexpected location, or verifying credential rotation removed all exposed keys.

Blockedguard blocked the skill: signs of malicious behaviour
mukul975/Anthropic-Cybersecurity-Skills Agent Skills author: mukul975 Apache-2.0 4 files · 1 script body ≈ 2 524 tokens Open the sourcegithub.com↗ analyzed 5 d ago

Scan source code repositories, CI/CD pipelines, and configuration files for exposed AWS credentials using TruffleHog, git-secrets, and AWS-native detection.

As a process C 63/100 · Has gaps — weak spots: failures and branches, running it twice, progress reporting

ProcedureAWSGitHubGitLabSecuritySoftware developmenttype and topics are labelled automatically from the skill text
JSON
Technical rating
F
33/100
safety, quality, tests
Safety 60%
0
Quality 40%
82
Run on models
none yet
Process rating
C
63/100
Has gaps
Failures and branches w 10
0
Progress reporting w 2
0
Running it twice w 4
30
the three weakest of ten parameters · all ten
Guard blocked this skill: critical findings below. Do not install it until the author fixes them.

What is at stake

The skill contains fragments that, in the wrong hands, cost money or data. Below: what the installer risks and what the author should do.

Secrets in code
If you install

The files contain someone else's key or token. If it is live, your agent will call third-party services under a stranger's identity; if it was revoked, the skill's scripts simply fail. Such a key often arrives with the author's whole workspace, personal data included.

For the author

The key is visible to everyone who downloaded the skill and has likely been copied by catalog-scanning bots already. Revoke it now, check bills and access logs, then reissue.

How to improve

  1. Remove the critical guard findings (secrets, dangerous commands, hidden instructions): while they stand the skill is blocked and cannot grade above F.
For the model run — optional
  • Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
  • A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.

Guard findings · 9

  • critical Secrets in code secret-aws-key SKILL.md:213
    AWS access key ID
    --access-key-id AKIA…456 \
  • critical Secrets in code secret-aws-key SKILL.md:221
    AWS access key ID
    --lookup-attributes AttributeKey=AccessKeyId,AttributeValue=AKIA…456 \
  • critical Secrets in code secret-aws-key SKILL.md:229
    AWS access key ID
    --access-key-id AKIA…456
Medium and low: 6
  • low Secrets in code secret-aws-key references/api-reference.md:47
    AWS access key ID (placeholder value)
    aws iam get-access-key-last-used --access-key-id AKIAXXXXXXXXXXXXXXXX
    placeholder
  • low Secrets in code secret-aws-key references/api-reference.md:53
    AWS access key ID (placeholder value)
    aws iam update-access-key --access-key-id AKIAXXXXXXXXXXXXXXXX \
    placeholder
  • low Secrets in code secret-aws-key references/api-reference.md:57
    AWS access key ID (placeholder value)
    aws iam delete-access-key --access-key-id AKIAXXXXXXXXXXXXXXXX \
    placeholder
  • low Secrets in code secret-aws-key references/api-reference.md:85
    AWS access key ID (placeholder value)
    WHERE useridentity.accesskeyid = 'AKIAXXXXXXXXXXXXXXXX'
    placeholder
  • low Dangerous commands cmd-pipe-to-shell-known-host SKILL.md:92
    Pipe-to-shell installer from a well-known host (still executes remote code) (documentation of a security skill)
    curl -sSfL https://raw.githubusercontent.com/trufflesecurity/trufflehog/main/scripts/install.sh | sh -s -- -b /usr/local/bin
    security skill
  • low Secrets in code secret-aws-key SKILL.md:142
    AWS access key ID (placeholder value)
    aws iam get-access-key-last-used --access-key-id AKIA…PLE
    placeholder

Files scanned: 4. Evidence is masked. Grey chips explain why severity was lowered.

Against the Agent Skills spec

  • note frontmatter-key unknown frontmatter key "domain"
  • note frontmatter-key unknown frontmatter key "subdomain"
  • note frontmatter-key unknown frontmatter key "nist_csf"
  • note frontmatter-key unknown frontmatter key "mitre_attack"
  • note frontmatter-key unknown frontmatter key "mitre_f3"

Process rating: all ten parameters 63/100

  • 0Failures and branches. Linear process with no failure handling
  • 0Progress reporting. Says nothing while it works
  • 30Running it twice. 20 mutating operations with no state check
  • 50When it triggers. No condition that starts the skill
  • 60Tools and files. Uses tools (bash, web, python) that frontmatter does not declare
  • 60Result and completion. Output format stated, no completion criterion
  • 70Inputs and preconditions. Inputs and preconditions are listed
  • 100Steps. 22 steps
  • 100Consistency. Name and required fields are in place
  • 100Execution cost. Instruction body is 2524 tokens

Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.

Quality signals

  • +5Description has no quoted example phrases that should trigger the skill
  • -41 reference files, but SKILL.md never points to them: the model will not open them
  • -31 of 1 scripts are never mentioned in SKILL.md
  • +2Single-language instructions
  • +4Description says when NOT to use the skill
  • +3Description length 430: enough signal without eating the budget
  • +4Structure: 15 headings
  • +3Step-by-step instructions: 22 items
  • +3Output format is stated explicitly
  • +4Has examples (8 code blocks)
  • +1License stated

Quality base 70; lint remarks subtract, signals add up to 100. Result: 82.