Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Common Llm Security

ASecurity

**πŸ”΄ Confirmed P0: LLM01 β€” Prompt Injection**

571 stars
0 votes
0 copies
0 views
Added 9/24/2026
developmentshellsqlapisecurity

Works with

api

Security Analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned 9/24/2026

$npx -y skills add HoangNguyen0403/agent-skills-standard --skill common-llm-security --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Common Llm Security?

Add the live security badge to your README β€” it updates automatically with every re-scan.

Security grade badge for Common Llm Security
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/hoangnguyen0403-common-llm-security-352195d1/badge)](https://www.skillsdirectory.com/skills/hoangnguyen0403-common-llm-security-352195d1)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
eval-1.baseline.md
## Audit result

**πŸ”΄ Confirmed P0: LLM01 β€” Prompt Injection**

Concatenating the user’s message directly into the system prompt allows the user to alter or override system instructions. Per the checklist, this is an immediate P0 finding and caps the security score at **40/100**.

### OWASP LLM Top 10 assessment

- **LLM01 β€” Prompt Injection:** πŸ”΄ Confirmed. User input is concatenated into the system prompt.
- **LLM02 β€” Sensitive Information Disclosure:** ⚠️ Needs review. Check whether PII, credentials, secrets, or unredacted responses enter prompts or logs.
- **LLM03 β€” Supply Chain:** ⚠️ Needs review. Verify model weights, plugins, dependencies, pinned source revisions, and hashes.
- **LLM04 β€” Data & Model Poisoning:** ⚠️ Needs review. Validate and sanitize user-controlled data before writing it to training data or embedding stores.
- **LLM05 β€” Improper Output Handling:** ⚠️ Needs review. Do not send raw LLM output directly to the DOM, SQL, shell, or redirect URLs.
- **LLM06 β€” Excessive Agency:** ⚠️ Needs review. Confirm that write, delete, execute, and network-capable tools require human confirmation.
- **LLM07 β€” System Prompt Leakage:** ⚠️ Needs review. Prevent system prompts from being exposed through tool output, errors, or API responses.
- **LLM08 β€” Vector & Embedding Weaknesses:** ⚠️ Needs review. Ensure sanitization and tenant namespace isolation for vector-store data.
- **LLM09 β€” Misinformation:** ⚠️ Needs review. Verify outputs before using them for medical, financial, legal, or other critical decisions.
- **LLM10 β€” Unbounded Consumption:** ⚠️ Needs review. Configure `max_tokens`, rate-limit invocations, and cap agent loop depth or iterations.

## Remediation

Keep the system prompt static and pass the user message as a separate `user` turn:

```js
const messages = [
  {
    role: "system",
    content: STATIC_SYSTEM_PROMPT,
  },
  {
    role: "user",
    content: userMessage,
  },
];

const response = await openai.chat.completions.create({
  model: "your-approved-model",
  messages,
  max_tokens: 512,
});
```

Do not interpolate `userMessage` into `STATIC_SYSTEM_PROMPT`. Validate and sanitize user input as defense in depth, but do not treat sanitization as a replacement for message-role separation. Also sanitize and validate model output before sending it to any DOM, SQL, shell, redirect, persistence, or tool-execution sink.

Attribution

HoangNguyen0403HoangNguyen0403
View sourceSee grades on GitHubMore from HoangNguyen0403 β†’
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Clean Code

Pragmatic coding standards - concise, direct, no over-engineering, no unnecessary comments

304955 votes

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

286712 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2222 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Writing Plans

Use when you have a spec or requirements for a multi-step task, before touching code

2927051 votes
View all in development β†’