Logo: Moai Ref Owasp Checklist

Moai Ref Owasp Checklist

OrganisatiounBeléift
modu-ai
moai-ref-owasp-checklist

OWASP Top 10 security checklist, authentication patterns, input validation, and HTTP security headers reference. Agent-extending skill that amplifies backend-implementation and security-audit workflows with production-grade security patterns. NOT for: frontend UI, DevOps deployment, performance optimization, testing strategy.

Iwwersiicht

Editeurmodu-ai
Repositorymoai-adk
Skill-Nummmoai-ref-owasp-checklist
Stären
1.2K
Forks
226
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzApache-2.0
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.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    modu-ai huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Moai Ref Owasp Checklist an TypingMind, fir e mat all LLM ze benotzen, oder setzt 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 „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/modu-ai/moai-adk/tree/main/.claude/skills/moai-ref-owasp-checklist
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng 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 d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/modu-ai/moai-adk.git /tmp/moai-adk
mkdir -p .claude/skills
cp -r /tmp/moai-adk/.claude/skills/moai-ref-owasp-checklist .claude/skills/moai-ref-owasp-checklist
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Moai Ref Owasp Checklist 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 Moai Ref Owasp Checklist automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Moai Ref Owasp Checklist 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-Schlësselen.

  • 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.

OWASP Security Checklist Reference

Target Agents

  • manager-develop - Applies checklist during backend API implementation (cycle_type=tdd or cycle_type=ddd context)
  • /moai review with a security focus - Primary security-audit invocation surface; equivalently available as a per-spawn Agent(general-purpose) security specialist per archived-agent-rejection.md §C

OWASP API Security Top 10

RankVulnerabilityCheckDefense
A1BOLA (Broken Object Level Authorization)Can user A access user B's resources?Verify object ownership at every endpoint
A2Broken AuthenticationWeak passwords, unlimited login attempts?bcrypt (cost 12+), rate limit, MFA
A3Broken Object Property Level AuthorizationAre hidden fields exposed in responses?Response DTOs, field-level filtering
A4Unrestricted Resource ConsumptionCan mass requests crash the server?Rate limiting, enforce pagination limits
A5Broken Function Level AuthorizationCan regular users call admin APIs?RBAC middleware, permission checks
A6Unrestricted Access to Sensitive Business FlowsCan a sensitive flow be automated or abused in bulk?Flow-level rate limits, anomaly detection, challenge on abuse signals
A7SSRF (Server-Side Request Forgery)Can URL input reach internal or metadata endpoints?Egress allowlist, block internal/metadata ranges, validate fetch targets
A8Security MisconfigurationDebug mode, verbose errors, or default accounts exposed?Production-hardened config, security headers, inspect deployed config
A9Improper Inventory ManagementUndocumented, shadow, or old-version endpoints reachable?Maintain an API inventory; deprecate and decommission old versions
A10Unsafe Consumption of APIsAre external/third-party API responses trusted blindly?Validate external responses against a schema, set timeouts, treat upstream data as untrusted

Authentication Checklist

Password Policy

  • Minimum 8 characters, show strength meter (not strict rules)
  • bcrypt (cost factor 12+) or Argon2id
  • Temporary lock after 5 failed attempts (15 min) or CAPTCHA
  • Prevent reuse of last 5 passwords

JWT Configuration

SettingRecommended Value
Access Token Expiry15-30 minutes
Refresh Token Expiry7-14 days
AlgorithmRS256 (asymmetric) or HS256
StoragehttpOnly + secure + sameSite cookie
PayloadMinimal: userId, role only (no PII)
RenewalSilent refresh or token rotation

Session Security

  • Regenerate session ID after login
  • Invalidate session on logout (server-side)
  • Set session timeout (30 min idle)
  • Bind session to IP/User-Agent (optional, strict)

HTTP Security Headers

HeaderValuePurpose
Strict-Transport-Securitymax-age=31536000; includeSubDomainsForce HTTPS
X-Content-Type-OptionsnosniffPrevent MIME sniffing
X-Frame-OptionsDENY or SAMEORIGINPrevent clickjacking
Content-Security-Policydefault-src 'self'Prevent XSS
Referrer-Policystrict-origin-when-cross-originLimit referrer
Permissions-Policycamera=(), microphone=()Restrict browser features

Input Validation Checklist

TypeMethodTool
Schema validationType + structure checkZod, Joi, pydantic, Go validator
Length limitsMin/max constraintsSchema definitions
SQL InjectionParameterized queriesORM (Prisma, GORM, SQLAlchemy)
XSS PreventionHTML escapingDOMPurify (client), server escape
Path TraversalPath normalizationfilepath.Clean + whitelist
File UploadType + size validationMIME type + magic number check
CORSOrigin whitelistNever origin: '*' with credentials

Sensitive Data Handling

Data TypeStorageTransmissionLogging
Passwordsbcrypt hash onlyHTTPS onlyNEVER
API KeysEnvironment variablesHeader (Authorization)Masked (first 4 chars)
PIIEncrypted (AES-256)HTTPS onlyMasked
Credit CardsTokenized (payment provider)Provider SDKNEVER
SessionshttpOnly cookieHTTPS onlyNEVER

Security Review Severity Levels

LevelLabelActionExample
P0CRITICALBlock releaseSQL injection, auth bypass
P1HIGHFix before mergeMissing authorization check
P2MEDIUMFix within sprintWeak password policy
P3LOWTrack in backlogMissing security header

Trust Boundary Verification Principles

PrincipleApplies ToDefense
Cached/client-supplied session state is not proof of current identityAny framework caching or locally decoding a session/JWT valueRe-verify identity against the server-side source of truth (session store, token introspection, identity provider) before every authorization decision
Edge/gateway/middleware auth checks are a UX convenience, not a security boundaryReverse proxies, framework middleware, API gateways, serverless edge functionsEvery mutation-handling endpoint independently re-checks authentication AND resource-ownership authorization
Scheduled/cron-triggered HTTP endpoints are still public URLsAny scheduler that invokes an HTTP endpoint (cron jobs, scheduled serverless functions, container-orchestrator scheduled jobs)Require a shared-secret bearer check (constant-time compare) on every scheduled-endpoint invocation
Production builds must not expose source maps or equivalent debug artifactsAny bundler/build toolDisable production source maps, verbose stack traces, and build manifests in production configuration
Webhook receivers must verify a signature/HMAC header before trusting the payloadAny webhook providerVerify signature/HMAC against a shared secret before treating the payload as legitimate business data

Common Rationalizations

RationalizationReality
"This is an internal application, OWASP does not apply"Internal applications are reachable from compromised internal services. OWASP applies to all web applications.
"The framework handles XSS protection"Frameworks protect default rendering paths. Dynamic HTML insertion, innerHTML, and template literals bypass the protection.
"We do not store sensitive data, so encryption is unnecessary"Session tokens, API keys, and PII are sensitive data. If the application has users, it has sensitive data.
"Security headers are just defense-in-depth, not critical"Each security header blocks a specific attack class. Missing CSP enables XSS even when output is escaped.
"I will do a security review before release"Late security reviews find issues that are expensive to fix. Secure coding practices prevent them from the start.

Red Flags

  • User input rendered in HTML without escaping or sanitization
  • SQL query built with string concatenation instead of parameterized queries
  • Authentication token stored in localStorage instead of httpOnly cookie
  • Missing Content-Security-Policy header on response
  • Secrets (API keys, passwords) found in source code or configuration files committed to git

Verification

  • OWASP Top 10 checklist reviewed for the change (show which items were evaluated)
  • User input sanitized before rendering in HTML output
  • All database queries use parameterized statements
  • Security headers present (CSP, X-Frame-Options, X-Content-Type-Options)
  • No secrets found in source code (show grep results for common secret patterns)
  • Authentication tokens use httpOnly, Secure, SameSite cookie attributes

Heefeg gestallte Froen

Wat mécht de KI-Skill Moai Ref Owasp Checklist?

OWASP Top 10 security checklist, authentication patterns, input validation, and HTTP security headers reference. Agent-extending skill that amplifies backend-implementation and security-audit workflows with production-grade security patterns. NOT for: frontend UI, DevOps deployment, performance optimization, testing strategy.

Firwat Moai Ref Owasp Checklist op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Moai Ref Owasp Checklist 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 en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Moai Ref Owasp Checklist an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/modu-ai/moai-adk/tree/main/.claude/skills/moai-ref-owasp-checklist an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Moai Ref Owasp Checklist 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 Moai Ref Owasp Checklist benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Moai Ref Owasp Checklist domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Moai Ref Owasp Checklist gratis?

Jo. modu-ai huet de Skill ënner der Lizenz Apache-2.0 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 weiderverwendbare Pak vun Instruktiounen, deen 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 e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

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