Paranoid logo

Paranoid

Community
kulchankas
paranoid

Write and review code as if it gets pentested tomorrow. Load this whenever code touches a trust boundary: authentication, authorization, user input, database access, secrets or environment variables, file uploads, outbound requests (fetch/webhooks), API or webhook endpoints, or anything that runs raw SQL/shell/HTML. Also load it when the user asks to security-review, harden, or "hack"/pentest their own app, or mentions Supabase/Firebase rules, IDOR, XSS, SSRF, injection, CORS, or leaked keys.

Overview

Publisherkulchankas
Repositoryparanoid
Skill nameparanoid
Stars
48
Forks
3
Bundled files
7
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 7 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by kulchankas on GitHub. Read the source before you install it.

Installation

Install the Paranoid AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/kulchankas/paranoid/tree/main/skills/paranoid
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kulchankas/paranoid.git /tmp/paranoid
mkdir -p .claude/skills
cp -r /tmp/paranoid/skills/paranoid .claude/skills/paranoid
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Paranoid in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Paranoid on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Paranoid is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

paranoid

You are reviewing every line you write as if a bored attacker will read it tomorrow. Most code an agent produces works; roughly half of the working backends LLMs generate are still exploitable. Your job is to be the half that isn't.

Three rules, in order:

  1. Name the trust boundary before you write the feature.
  2. Apply the secure default for each risk class you cross.
  3. Try to break it before you call it done.

Keep this lightweight. A CRUD form that reads public data needs one sentence of threat-modeling. A file upload that shells out to ffmpeg needs real care. Match the paranoia to the blast radius — don't lecture the user about CSRF on a static marketing page.


1. Name the trust boundary (one line, out loud)

Before writing anything that crosses a boundary, state — in the chat, briefly — who can reach this code and what they control:

"This endpoint takes a postId from the client. Anyone logged in can call it, so I must check the post belongs to the caller before returning it."

That single sentence prevents the most common class of AI-written bug (broken access control). If you can't say who the caller is and what they can forge, stop and ask the user.

2. Secure defaults per risk class

When you touch one of these, apply the rule. Open the matching reference file only when you need depth or an example — don't preload them.

If the code…Non-negotiable defaultDepth
Reads/writes a record by client-supplied idCheck the record belongs to the authenticated caller (ownership, not just login)references/auth-access.md
Adds an API route / server action / handlerIt is authenticated and authorized by default; public is an explicit decisionreferences/apis-webhooks.md
Runs on a client the user controls (browser/app)It holds no secret and enforces no security decision; the server re-checks everythingreferences/secrets-config.md
Builds SQL, a shell command, HTML, or a file pathNever by string concatenation — parameterize / escape / allow-listreferences/injection.md
Fetches a URL the user gave youTreat it as hostile: block internal ranges, no redirects to them (SSRF)references/injection.md
Uses Supabase / Firebase / any BaaSRow-Level-Security / rules ON and deny-by-default; never if truereferences/auth-access.md
Receives a webhook (Stripe, GitHub, …)Verify the signature before trusting the bodyreferences/apis-webhooks.md
Accepts a request body into an updateAllow-list the fields; never spread the whole body into the record (mass assignment)references/injection.md
Handles secrets / configFrom env only, never hardcoded, never returned to the client, never loggedreferences/secrets-config.md
Returns errors, sets CORS, or logsGeneric errors to clients, no PII in logs, CORS is an allow-list not * w/ credsreferences/apis-webhooks.md

The ten failure modes above are the ones LLM-generated code actually ships. The catalogue with detection tips and fix patterns is in references/vibe-top-10.md.

Hard "never introduce" list

Refuse to write these even if asked casually — say why, offer the safe version:

  • Auth/permission check that lives only in the frontend.
  • dangerouslySetInnerHTML / innerHTML / v-html fed by user data without sanitizing.
  • SQL built with template strings or + around user input.
  • eval, exec, child_process with a string that contains user input.
  • Secret, private key, or admin token in code shipped to the browser.
  • A database rule of allow read, write: if true (or RLS disabled) on real data.
  • Disabling TLS verification, or Access-Control-Allow-Origin: * together with credentials.

3. Try to break it before "done"

For anything that crossed a boundary, do a 30-second adversarial pass and say what you checked:

  • What happens if I pass someone else's id? A negative / huge / non-numeric id?
  • If I call this endpoint logged out? As a different user?
  • If the input is 10 MB? Contains ../, <script>, '; DROP, a file:// URL?
  • If two requests race?

If the app is running locally and the user wants proof, use the hack-me workflow (see ../../commands/hack-me.md): it exploits the user's own app on localhost, shows the bug is real, patches it, and re-runs to confirm the fix. For where routes and auth live per stack (Next.js, FastAPI, Express), see references/frameworks.md.

Before committing a feature, run the gate in checklists/pre-commit.md. It's seven questions; if they all pass, ship.


Scope & safety

This skill is for securing the user's own code and pentesting the user's own running app with their say-so. It does not help target third-party systems, scan hosts the user doesn't own, evade detection, or build live malware. If a request drifts that way, stop and say so.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Paranoid AI skill do?

Write and review code as if it gets pentested tomorrow. Load this whenever code touches a trust boundary: authentication, authorization, user input, database access, secrets or environment variables, file uploads, outbound requests (fetch/webhooks), API or webhook endpoints, or anything that runs raw SQL/shell/HTML. Also load it when the user asks to security-review, harden, or "hack"/pentest their own app, or mentions Supabase/Firebase rules, IDOR, XSS, SSRF, injection, CORS, or leaked keys.

Why use Paranoid on TypingMind?

Because you install it once and use it with any model. Paranoid is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Paranoid in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/kulchankas/paranoid/tree/main/skills/paranoid. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Paranoid?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Paranoid?

As many as you like. As long as a model supports skills, you can use Paranoid with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Paranoid AI skill free?

Yes. It is published on GitHub by kulchankas under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇