Skip to content
Agentmart
Submit a tool

ai-app-security-audit

Use when auditing AI applications, LLM features, agent workflows, RAG systems, tool-calling code, prompt pipelines, model output handling, AI API keys, cost…

Skill by cogine-ai

IndexedApache-2.0★ 3
Write a review

Chalk Labs

Need help deploying ai-app-security-audit?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/cogine-ai-ai-app-security-audit

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when auditing AI applications, LLM features, agent workflows, RAG systems, tool-calling code, prompt pipelines, model output handling, AI API keys, cost controls, or skill/agent supply-chain risks.

Use cases: backend, ml, security, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/ai-app-security-audit

What's inside

Skill name
ai-app-security-audit
Description
Use when auditing AI applications, LLM features, agent workflows, RAG systems, tool-calling code, prompt pipelines, model output handling, AI API keys, cost controls, or skill/agent supply-chain risks.
License
Apache-2.0
Instructions
109 lines in SKILL.md · view on GitHub

Files (2)

  • SKILL.md
  • openai.yaml · agents/

SKILL.md (first lines)

# AI App Security Audit

Use this skill for security work specific to AI applications. It complements `security-best-practices`; do not replace framework security checks with this skill.

## Core Rule

Only report findings with a concrete exploit path or concrete failure scenario. Do not list generic AI risks unless the current code, config, prompt flow, or architecture actually exposes them.

## Scope

Audit these surfaces when present:

- Prompt assembly and role boundaries.
- User content flowing into system prompts, tool schemas, eval prompts, or agent instructions.
- Tool/function calling and argument validation.
- RAG ingestion, retrieval, citation, and source trust.
- LLM output parsing, schema validation, sanitization, and downstream execution.
- AI API keys, provider credentials, model routing, and proxy credentials.
- Cost, quota, retry, queue, and spend amplification controls.
- Agent memory, long-term context, uploaded files, browser sessions, and workspace access.
- Skill/plugin/agent supply chain, including local instructions that can run commands or read credentials.

## Workflow

1. Map AI data flow.
   - Identify inputs: user text, files, URLs, database rows, RAG chunks, web pages, tool outputs.
   - Identify prompt construction: system, developer, user, tool, and hidden context.
   - Identify model calls and providers.
   - Identify tool calls, side effects, and output consumers.

2. Find trust boundary crossings.
   - Untrusted content entering privileged prompt positions.
   - Untrusted content shaping tool names, schemas, arguments, SQL, shell commands, file paths, URLs, or auth scopes.
   - Model output becoming executable code, HTML, SQL, shell, JSON instructions, or persisted state.

3. Check AI-specific risks.
   - Prompt injection that changes instructions or tool behavior.
   - RAG poisoning or untrusted retrieval content overriding app policy.
   - Tool call without schema validation, authorization, or allowlists.
   - Output parser trusting malformed, empty, hallucinated, or refusal responses.
   - Missing rate limits, retry caps, token caps, queue caps, or budget limits.
   - Secrets exposed through logs, traces, prompts, eval fixtures, screenshots, or tool results.
   - Cross-user memory or document leakage.
   - Unsafe browser, filesystem, terminal, or SaaS-account actions.

4. Verify before reporting.
   - Quote the exact file and line when possible.
   - Explain attacker control, trust boundary, exploit path, impact, and why existing controls do not block it.
   - If confidence is below 8/10 for a normal audit, mark it as `Needs verification` instead of a finding.

5. Produce fixes or a report depending on the user's request.
   - For a report-only audit, do not edit files.
   - For fix work, address one finding at a time and run the relevant tests.

## False Positive Rules

- User content in a normal user-message position is not prompt injection by itself.
- A model returning wrong prose is not a security issue unless it crosses into privileged action, data exposure, fraud, compliance, or cost impact.
- Missing HSTS, TLS, or generic web headers belongs in `security-best-practices`, not this skill, unless directly tied to AI credential or data exposure.
- A theoretical jailbreak is not reportable without an app-specific path to data, tools, cost, or policy bypass.

## Report Contract

Use this structure:

```markdown
## AI App Security Audit

### Executive Summary
Overall risk:
Audit scope:
Confidence:

### AI Data Flow
Inputs:
Prompt assembly:
Model calls:
Tool calls:
Stored outputs/memory:

### Findings

#### AI-SEC-001: <title>
Severity: Critical / High / Medium / Low
Confidence: 8/10+
Evidence: <file:line>
Attacker control:
Trust boundary crossed:
Exploit path:
Impact:
Existing controls:
Recommended fix:
Validation:

### Needs Verification
- Items with plausible risk but insufficient proof.

### Not In Scope
- Security areas intentionally left to other skills or audits.
```

## Severity Guide

- Critical: secret exfiltration, cross-tenant data exposure, arbitrary tool execution, irreversible external side effects, or uncontrolled spend.
- High: prompt/tool/RAG path that can access sensitive data, perform unauthorized writes, or materially bypass policy.
- Medium: validated but bounded risk with limited data/action/cost impact.
- Low: evidenced hardening issue with a concrete failure scenario but no immediate exploit path.

From cogine-ai/cogine-dev-skillset, Apache-2.0.

More from cogine-ai/cogine-dev-skillset

Signals

Stars
3
Forks
1
Open issues
0
Last commit (this folder)
Jun 25, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
Website
cogine.ai
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from cogine-ai

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get ai-app-security-audit running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying ai-app-security-audit?

CallGet help
Cite this page

ai-app-security-audit skill. Agent Mart. https://agentmart.dev/skills/cogine-ai-ai-app-security-audit (last updated 2026-10-24)