Logo vun Paranoid

Paranoid

Communautéit
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.

Iwwersiicht

Editeurkulchankas
Repositoryparanoid
Skill-Nummparanoid
Stären
48
Forks
3
Matgeliwwert Fichieren
7
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 7 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum kulchankas op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Paranoid an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/kulchankas/paranoid/tree/main/skills/paranoid
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Paranoid an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Paranoid automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Paranoid net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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.

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill 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.

Firwat Paranoid op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Paranoid besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Paranoid an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/kulchankas/paranoid/tree/main/skills/paranoid an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Paranoid benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Paranoid benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Paranoid domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Paranoid gratis?

Jo. De Skill gëtt vum kulchankas ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇