security-scan

security-scan is a skill for Claude Code from Jacopalas/agentic-ai-palas. It costs 45 tokens per session (1,365 once invoked), scanned A, original, MIT.

A basic security checker for a codebase, the collection of files that make up a software project. It looks for exposed credentials, common risky code patterns, and unsafe configuration files.

In plain words
What is it for?
Use it to scan a project or selected folder for leaked secrets, dangerous files such as environment files, vulnerable patterns, and risky settings.
Why use it?
It helps find passwords, API keys, private keys, and other sensitive information that may have been included in code or committed to version control. It also flags common security risks before they cause harm.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the palas-security plugin — 1 skill shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/jacopalas/agentic-ai-palas/security-scan
Any agent
npx skills add Jacopalas/agentic-ai-palas --skill security-scan
Clone the repo
git clone --depth 1 https://github.com/Jacopalas/agentic-ai-palas

Made for: Claude Code.

Or install palas-security, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for security-scan

README.md
[![agentmods](https://agentmods.dev/badge/skills/jacopalas/agentic-ai-palas/security-scan.svg)](https://agentmods.dev/skills/jacopalas/agentic-ai-palas/security-scan)
Your own site
<a href="https://agentmods.dev/skills/jacopalas/agentic-ai-palas/security-scan"><img src="https://agentmods.dev/badge/skills/jacopalas/agentic-ai-palas/security-scan.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,365 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00045 $0.01365
Opus 5 $0.00023 $0.00682
Sonnet 5 $0.00009 $0.00273
Haiku 4.5 $0.00005 $0.00136

Measured 5d ago against content hash 61a423760979, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

security-scan scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/palas-security/skills/security-scan/SKILL.md · 182 lines

How it starts

The opening of the file, as written. The whole thing — 182 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/palas-security:security-scan — Basic Security Scanning

IMPORTANT: Before starting execution, inform the user: "ESTOY EJECUTANDO EL SKILL /palas-security:security-scan"

Scan codebase for common security issues: exposed secrets, vulnerable patterns, and risky configurations.

Usage

/security:security-scan [target]

Arguments:

  • target (Optional): File or directory to scan. Defaults to current directory.

What Gets Scanned

1. Exposed Secrets

Patterns that indicate leaked credentials:

Pattern Examples
API Keys api_key, apikey, api-key
Secrets secret, password, passwd, pwd
Tokens token, auth_token, access_token
Private Keys private_key, -----BEGIN.*PRIVATE KEY-----
AWS AKIA, aws_access_key_id, aws_secret_access_key
Database DATABASE_URL, DB_PASSWORD, connection_string

2. Dangerous Files

Files that should never be committed:

File Risk
.env Environment variables with secrets
.env.local Local environment overrides
credentials.json Service account credentials
*.pem, *.key Private keys
id_rsa, id_ed25519 SSH private keys
.npmrc with tokens npm authentication
secrets.yaml Kubernetes secrets

3. Risky Code Patterns

Pattern Language Risk
eval() JS/Python Code injection
exec() Python Command injection
dangerouslySetInnerHTML React XSS vulnerability
innerHTML = JS XSS vulnerability
shell=True Python subprocess Command injection
SQL string concatenation Any SQL injection
disable_ssl_verification Any MITM vulnerability

Behavior

  1. Scan for secrets: Search for exposed credentials
  2. Check dangerous files: Look for files that shouldn't exist
  3. Detect risky patterns: Find vulnerable code patterns
  4. Check .gitignore: Verify sensitive files are ignored
  5. Report findings: Summarize issues by severity

Read the full file on GitHub · 182 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 182 lines · 45 tokens per session scan A 61a423760979

Subscribe to this mod's changes

security-scan is a skill published in the GitHub repository Jacopalas/agentic-ai-palas (2 stars, last pushed 5mo ago), licensed MIT. It adds 45 tokens to every session and 1,365 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

create-custom-grader

Use when converting an existing benchmark, rubric, verifier, task YAML/JSON, or domain check into SkillEvaluator BYOG/BYOT custom evaluation.

NVIDIA/SkillEvaluator · 35 tokens

simple

Summarize short user notes into clear action items.

NVIDIA/SkillEvaluator · 13 tokens

agent-ready-cloudflare

Audit and improve website readiness for AI agents using the Cloudflare "Is It Agent Ready?" scanner (isitagentready.com). Covers scanning via API, interpreting results, generating implementation prompts, and fixing every check. Use when the user mentions "agent ready", "isitagentready", "AI agent scan", "agent…

fabricioctelles/skills · 158 tokens

aidlc-master

Runs the AWS AI-DLC (AI-Driven Development Life Cycle) methodology end to end: an adaptive three-phase workflow (Inception → Construction → Operations) with human approval gates, a full audit trail, and all artifacts in aidlc-docs/. Use when the user says "Using AI-DLC", "AI-DLC", "AIDLC", "aidlc-master", or asks for…

fabricioctelles/skills · 243 tokens

security-specialist

Runs security audits on codebases — full scans, diff reviews, threat models, vulnerability triage, remediation guidance, and finding tracking. Activate when the user says "security scan", "audit this repo", "review this PR for security", "threat model", "triage vulnerabilities", "fix this vuln", or "track findings".

fabricioctelles/skills · 72 tokens

ralph-loop-kiro-specs

Automated iterative agent runner for spec-based development in Kiro. Wraps kiro-cli in a self-correcting bash loop that picks up tasks from a Kiro spec, implements them one at a time, verifies against exit criteria, and accumulates corrections and codebase patterns across iterations. Use this skill when the user…

fabricioctelles/skills · 192 tokens