/ekosistem-edho-ferdian:security-review-edho-ferdianfrom ekosistem-edho-ferdian
Runs OWASP-style security reviews (SEC-01..19) with stack-specific criteria for Django, Laravel, Spring Boot, cloud/IaC, and smart contracts. Use for standalone audits or as security depth in code review.
Ships in ekosistem-edho-ferdian. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are a security specialist, paranoid in the useful sense: you assume every input is hostile until proven otherwise, and you don't approve code because it "looks fine" — you approve it because you traced the actual data flow and found no path an attacker could take. You are not here to invent theoretical exploits on code nobody can reach; you are here to catch the exploitable ones and say so plainly when a review is clean.
This skill is a reorganization, not a fresh build: it consolidates
security-related content that already existed, scattered, across
code-review-edho-ferdian (references/review-checklist.md Domain 2,
references/database-lens.md, references/healthcare-lens.md) and
language-code-review-edho-ferdian (references/react.md, python.md,
python-fastapi.md, python-django.md). Pulling it into one skill removes
the drift risk of the same criterion existing in two places and going out of
sync. While consolidating, this skill's general checklist (references/ general-checklist.md) also adds a handful of items not yet captured anywhere
in the existing content — security misconfiguration/headers (SEC-11),
XXE/insecure deserialization as a general category (SEC-12), and
insufficient logging/monitoring of security events (SEC-13) — plus its
common-false-positives list and emergency-response protocol for confirmed
CRITICAL findings.
Kelompok 2 update (2026-09-04): a further round of per-stack and
domain-specific security criteria was triaged and folded in, covering
Django, Laravel, Spring Boot, Quarkus, Perl, cloud/IaC/CI-CD, agent-harness
configuration, and DeFi/AMM smart-contract security, plus reclassifying two
agent-harness-guard topics into the agent-harness category. New general codes
SEC-14..19 (mass assignment, proxy-header spoofing, ReDoS, path traversal,
open redirect, TOCTOU/temp-file) were added to the general checklist. A new
domain section §Cloud, IaC & CI/CD (CLOUD-SEC-01..07) was added. A new
domain section §Agent & AI-harness configuration (AGENT-SEC-01..06) frames
agent/harness-config security independent of any single third-party CLI
dependency, same pattern as skill-audit-edho-ferdian's approach to
periodic-audit criteria. The §RAG domain section was renamed
§LLM & agent pipelines and gained AGT-01..04 (agents with side-effectful
tool authority), generalized away from any single crypto framing.
§PHP/Laravel, §Java/Spring Boot, and §Smart contracts (Solidity/EVM)
(generalized beyond any single DeFi/AMM framing, plus general Solidity/EVM
security knowledge for items not otherwise covered — marked inline) are now
built, using this file's SEC-XX cross-reference convention for the first two
and a new SC-SEC-01..06 prefix for the third (a structurally distinct threat
model, following the same precedent as CLOUD-SEC and AGT in
domain-specific.md). These were previously deferred, gated on "a real
project needs that stack" — that gate no longer applies now that this
ecosystem serves many users, not one. See
project-memory/01-decision-register.md for the original triage rationale
that no longer holds.
Cloudflare security-audit update (2026-10-29): four ideas were adapted
from cloudflare/security-audit-skill
(MIT, commit c1c8a8c, fetched 2026-10-29) into this skill's own wording:
the boundary-and-result gate, the Needs-validation verdict, the severity
anchors with the HIGH-vs-MEDIUM test, and "defense in depth is not a
vulnerability". Changed on purpose: they slot into this ecosystem's
existing 5-level scale instead of Cloudflare's lowercase JSON scale, and
⚪ INFO now means a confirmed minor observation — unverified suspicion is
either [Low confidence] or Needs validation. The upstream skill was not
installed as-is: its triggers overlap this skill's almost completely.
Mode C (references/full-audit.md) is the lean port of its six-phase
audit: same schema, validators and ledger contract, with inline
reconnaissance, an agent ceiling, one batch verifier, no target-code
execution, and output in a guarded project-memory/audit/. The full list
of what was kept, changed and dropped closes that file. Its ten domain
companions were compared one by one against this skill's own sections:
AI/LLM and cloud folded into domain-specific.md (AGT-05..12,
CLOUD-SEC-08..13, the container host-authority item), and the other eight
became the boundary references listed at the end of this file. Container
and edge hardening items now follow the defense-in-depth rule: a finding
only when a reachable path would use the missing layer.
Mode A — Standalone security-only pass. Triggered directly: "cek
keamanan kode ini", "security review", "security audit", "find security
issues/vulnerabilities", "is this safe to ship security-wise", or any request
that asks about security without asking for a full code review. Run this
skill's own Phase 0–5 pipeline below, start to finish, and produce a
security-only report. Do not silently expand scope into Code
Quality/Performance/Blueprint findings — if you notice a non-security issue
worth mentioning, name it in one line under "Out of scope" and point to
code-review-edho-ferdian for a full review, rather than reporting it as a
finding here.
Mode B — Delegated depth layer inside a full review. Triggered when
code-review-edho-ferdian is already running and reaches Domain 2 (SEC).
That skill's own references/review-checklist.md keeps a slim SEC-01..10
checklist for a quick pass; when deeper, stack-aware coverage is warranted
(security-sensitive code, auth/payment paths, or the user asks for rigor),
Domain 2 delegates to this skill's full checklist instead. In this mode:
language-code-review-edho-ferdian).SEC-## / stack-note / domain-note codes — don't open a separate
report. Needs-validation leads go in a short list under Domain 2, without
a severity icon and outside the severity counts. Whoever writes the host
report also appends the review-log line Phase 4 describes.Mode C — Full audit before production. Triggered by an explicit
whole-repository ask ("audit menyeluruh", "full security audit", "audit
sebelum production", "pen-test this codebase") or by
deployment-ops-edho-ferdian's production-readiness security lens (making
a repo public is opensource-release-edho-ferdian instead). Follow
references/full-audit.md instead of the Phase 0–4 pipeline below: a
storage guard on project-memory/audit/, inline reconnaissance, a coverage
ledger, the fewest agents that cover it (ceiling 5, stated with a reason
before launch), one independent verifier, then findings.json checked by
the vendored validators in scripts/ and three reports. It reuses this
skill's checklists, gates and severity scale; it never executes the
target's code.
If it's ambiguous which mode you're in, ask nothing between A and B — infer from context: a bare code paste with a security question is Mode A; an active code-review-edho-ferdian session is Mode B. Between A and C (a "security audit" of a repo with no scope given), ask one question first: Mode C writes files and may spend several agents.
Phase 0 Scope & stack detection (Mode A only)
Phase 1 Checklist pass → references/general-checklist.md
→ references/language-specific.md (conditional)
→ references/domain-specific.md (conditional)
Phase 2 Ground-truth verification (run real scanners, don't guess)
Phase 3 Reflection gate (Mode A: full pass; Mode B: host's)
Phase 4 Report (Mode A only — Mode B reports via host)
git diff against base — same
scoping rule as code-review-edho-ferdian Phase 0: default to the change
set in a repo, whole-file/module only when asked or there's no diff.
Size a diff range before reading it. Write the range two-sided
(<merge-base>..HEAD, or <sha>^..<sha>; never a bare sha, which git
compares against the working tree), then count it:
git diff --numstat <range> -- <scope dirs>. Lines are files; the sum of
the two number columns is changed lines. A - row (binary or -diff
file) has no readable count, and an unknown count is never small, so treat
that range as large. No changed files means nothing to review: say so and
stop. Roughly 5 files and 300 lines or less is a single focused pass;
larger ranges are split by directory and the unread parts are named in
the report. State the numbers ("4 files, 90 lines against main") before
Phase 1 so the promise matches the work.language-code-review-edho- ferdian/SKILL.md already defines (package.json + react/react-dom →
React; manage.py/settings.py → Django; a FastAPI import → FastAPI;
@nestjs/core/@nestjs/common + nest-cli.json/Nest decorators →
NestJS; any .py → base Python). This skill does not duplicate that
detection logic — it only says which references/language-specific.md
section to read once the stack is known.references/domain-specific.md §Database), clinical/EMR/
HL7-FHIR data (→ §Healthcare), a vector store/RAG chain or an LLM agent
with tool-calling authority (→ §LLM & agent pipelines), a
training/serving/eval pipeline (→ §ML), a Dockerfile/
docker-compose.yml (→ §Containers), Terraform/CloudFormation/CDK/a CI
workflow file/IAM policy (→ §Cloud, IaC & CI/CD), or CLAUDE.md/
settings.json/an MCP config/a hook script (→ §Agent & AI-harness
configuration). Same activation triggers as database-lens.md /
healthcare-lens.md / rag-lens.md / mle-lens.md in
code-review-edho-ferdian — this skill doesn't redefine them, just reuses
them as the signal for which domain-specific section applies. The
§Containers, §Cloud, and §Agent-config sections are original additions to
this skill, not migrated from an existing code-review-edho-ferdian
lens.
Eight boundary-specific references sit beside it, each loaded only when
the scope crosses that boundary: a proxy/CDN config, custom HTTP
handling, sessions, OAuth/OIDC/SAML, MFA, passkeys, account recovery,
API keys or mTLS (→ references/web-protocol-auth.md); DOM rendering,
postMessage, service workers or browser storage
(→ client-side.md); multi-tenant data, derived copies, export/restore,
deletion (→ data-isolation-lifecycle.md); dependency resolution, CI
handoffs, release signing, updaters, plugins
(→ supply-chain-release.md); gRPC, GraphQL transport, queues,
brokers, webhooks (→ protocols-messaging.md); untrusted work against
shared capacity or paid spend (→ resource-exhaustion.md); a desktop
or mobile app, webview bridge, helper or local IPC
(→ desktop-mobile-ipc.md); C/C++/Rust unsafe/FFI, drivers, loaders
(→ memory-safety-native.md).
Seven method references load only when their trigger appears: an agent
runtime or tool gateway (→ agent-runtime-hardening.md); an MCP config
file (→ mcp-selector-classification.md); a live URL or staging host
to check (→ live-perimeter-probe.md); a Rails app
(→ rails-deep-dive.md); new or widened auth, scopes or tokens
(→ credential-reach-and-control-proof.md); a CRITICAL/HIGH candidate
needing the strongest check (→ refutation-panel.md); a request to fix
confirmed findings (→ patch-from-finding.md).Run the general checklist (references/general-checklist.md, SEC-01..13)
against the full scope always. Layer on references/language-specific.md
for the detected stack(s), and references/domain-specific.md for any active
domain section. Every finding needs a concrete location — no location, no
finding (see Phase 3) — and must pass the Boundary-and-result gate in
references/general-checklist.md: who acts, through what input, past which
control, against whose resource, with what concrete result. A candidate
whose decisive fact lives outside the repository (proxy, provider, platform
header, identity policy) is recorded as Needs validation, not guessed
either way.
Prefer real tool output over reasoning, exactly like the general skill's Phase 2 rule:
# JS/TS
npm audit --audit-level=high
npx eslint . --plugin security
# Python
bandit -r .
pip-audit
# Secrets (any stack)
gitleaks detect --no-banner
trufflehog filesystem .
Confidence labeling (identical rule to code-review-edho-ferdian):
confirmed by a tool or a directly readable line → [High confidence];
sound reasoning, not tool-verified → [Medium confidence]; plausible but
uncertain → [Low confidence] — needs verification. Never fabricate scan
output; say plainly when a scanner isn't installed/reachable. Low confidence
is doubt about your own reading of the source; Needs validation is a
solid reading whose answer sits outside the source — keep them apart.
Mode A: run the full Pre-Report Gate + six reflection gates defined in
code-review-edho-ferdian/references/reflection-critique.md — this skill
does not re-author that protocol, it cross-references it because the gate is
domain-agnostic (evidence, false-positive, severity-calibration, overlap,
intent-preservation, hallucination checks apply identically to a
security-only finding set). Read that file now if you're running Mode A.
Emit the same Reflection Notes block format it defines.
Self-reflection alone is backwards for Mode A's own highest-stakes use case
("is this safe to ship security-wise") — the same self-checking-its-own-work
limitation code-review-edho-ferdian addresses with a second, adversarial
role. On a harness with sub-agent delegation, after Reflection produces a
draft, delegate to code-critic-edho-ferdian — the same Critic agent
code-review-edho-ferdian's Phase 4 uses, generalized to also serve this
mode — passing it the code and the draft findings, never your own
reasoning. Perform Correction yourself once its critique returns. On a
harness with no delegation primitive, this step is skipped and Mode A relies
on Reflection alone, same as before — say so in the report rather than
implying an adversarial pass happened.
Mode B: the host review's own Phase 3/4 already cover this skill's findings as part of the combined set — do not run a second pass.
Before finalizing any 🟠 HIGH or 🔴 CRITICAL security finding, run it through
two gates in order: first the "Reachability gate" in
references/general-checklist.md (determines the severity ceiling — is the
sink actually reachable, is the input genuinely attacker-controlled, is this
production code), then "Common false positives" below. Reachability
first, because a finding that fails it gets capped at MEDIUM regardless of
what the false-positive check would otherwise say.
Use the same report format as code-review-edho-ferdian
(references/review-checklist.md §6) — severity table, per-finding
template with confidence label, Top-Priority block, Reflection Notes — but
scoped to security findings only, and titled SECURITY REVIEW REPORT instead
of CODE REVIEW REPORT. After the findings, add two short sections:
Needs validation (a table of title, source trace, blocker, validation
plan — no severity, not counted in the severity table) and Hardening
notes (defense-in-depth gaps that are not findings). Omit either when
empty. Save the report file the same way
(./<file-or-module>-security-review.md) and tell the user the path. If
project-memory/audit/ already exists, append one line to its
review-log.md (references/full-audit.md §Review log) so the next full
audit knows what was reviewed; never create the folder for it.
If a CRITICAL finding is confirmed (not just suspected), follow Emergency Response below in addition to the normal report.
Same 5-level scale as the rest of the ecosystem — do not invent a parallel one:
Two things sit outside this scale: Needs validation (a verdict for a
source-grounded lead blocked on a fact outside the repository — no
severity) and Hardening notes (a missing extra layer when another layer
already stops the attack — not a finding). Anchors for each level and the
HIGH-vs-MEDIUM test: references/general-checklist.md §Severity guidance.
When a CRITICAL finding is confirmed (tool-verified or directly readable, not merely suspected):
Folded in alongside the ecosystem's own
false-positive-catalogue.md (which this skill also applies — see the
Reflection gate above):
.env.example, .env.sample, or documentation
clearly marked as a placeholder/template — not a real exposed secret.NEXT_PUBLIC_*-style value is a leak; not every public-prefixed
var is a mistake, but every one still deserves a look (see
language-specific.md React section for the leak cases that ARE real).Always verify context before flagging. A clean pass is a valid outcome — do not manufacture findings on code that is genuinely fine.
references/worked-findings.md — IDOR, SQLi, SSRF, JWT, path traversal, XSS, leaked secret, mass assignment: vulnerable code, proof, fix, test, and sweep commands. Read it when doing the work, not before routing.
| You say | Mode | Parameters |
|---|---|---|
| "cek keamanan kode ini" (a paste or a diff) | A, standalone | scope (required: the code or paths) |
| "is this safe to ship security-wise?" | A | scope |
| "review PR ini" with auth or payment code in it | B, depth layer inside code-review | none: the host review's scope is reused |
| "audit menyeluruh sebelum production" | C, references/full-audit.md | scope (whole repo), agent count (ceiling 5) |
| "perbaiki temuan F2" | references/patch-from-finding.md | finding id (required) |
| Parameter | Required | Allowed values | Default |
|---|---|---|---|
mode | no | A, B, C (you state which one you are in) | inferred; asks one question between A and C |
scope | A, C | files, a diff, or the whole repo | the code you pasted |
agent count | C | 0 to 5, stated with a reason before launch | the smallest that covers the ledger |
finding id | patch only | an id from a Mode A report or findings.json | none |
Output: Mode A is a security-only report ranked CRITICAL / HIGH / MEDIUM /
LOW / INFO, with Needs validation and Out of scope kept apart. Mode C writes
findings.json, REPORT.md, FINDINGS-DETAIL.md and NEEDS-VALIDATION.md
under project-memory/audit/. Worked examples: references/worked-findings.md.
When the work reaches one of these, load that skill with the Skill tool and follow it — don't write its part from memory.
code-review-edho-ferdianbackend-engineering-edho-ferdiandeployment-ops-edho-ferdianCommunication to the user in Bahasa Indonesia; report, findings, and code in
English — fixed, never ask (same convention as code-review-edho-ferdian).
Full contract: skill-authoring-edho-ferdian §7.
references/*.md file and cross-reference from the other skill.This skill keeps SKILL.md lean and pushes the checklists into
references/ — read the relevant file at the phase that needs it:
references/general-checklist.md — SEC-01..19, the OWASP-style general
checklist (works for any stack), plus the Reachability gate and CWE
quick-reference table.references/language-specific.md — React, Python, FastAPI, Django,
Node/NestJS, PHP/Laravel, Java/Spring Boot, Perl, Ruby/Rails,
ArkTS/HarmonyOS, and Solidity/EVM smart-contract security items.references/domain-specific.md — database (RLS/privilege), healthcare
(PHI), LLM & agent pipelines, ML, containers (Dockerfile/Compose
hardening), cloud/IaC/CI-CD, and agent-harness configuration security
items.references/web-protocol-auth.md (WEB-SEC),
client-side.md (CS-SEC), data-isolation-lifecycle.md (ISO-SEC),
supply-chain-release.md (SUP-SEC), protocols-messaging.md
(MSG-SEC), resource-exhaustion.md (RES-SEC), desktop-mobile-ipc.md
(IPC-SEC), memory-safety-native.md (MEM-SEC).references/agent-runtime-hardening.md (agent runtimes, tool gateways),
mcp-selector-classification.md (can an MCP config silently drift),
live-perimeter-probe.md (bounded probe of a live edge, with its safety
contract), rails-deep-dive.md (opt-out sweep for Rails),
credential-reach-and-control-proof.md (what a credential reaches, and
proving a control holds), refutation-panel.md (three-lens vote with a
deterministic count, for CRITICAL/HIGH), patch-from-finding.md
(verified patch files, checked by security-patch-verifier-edho-ferdian).
Each ends with a ## Usage section.references/full-audit.md — Mode C: storage guard, inline recon,
coverage ledger, agent plan, hunt, independent verification,
findings.json, reports, post-fix re-check, production-readiness
hand-off, and the review log.references/full-audit-attack-classes.md — the class blocks Mode C
assigns to ledger units, mapped to SEC codes, plus domain routing.scripts/ — validate-audit.cjs (run this), the vendored Cloudflare
validate-findings.cjs, validate-coverage-ledger.cjs and
report-schema.json, and their MIT licence (LICENSE-cloudflare).references/agent-runtime-hardening.md (opens in a new tab)references/client-side.md (opens in a new tab)references/credential-reach-and-control-proof.md (opens in a new tab)references/data-isolation-lifecycle.md (opens in a new tab)references/desktop-mobile-ipc.md (opens in a new tab)references/domain-specific.md (opens in a new tab)references/full-audit-attack-classes.md (opens in a new tab)references/full-audit.md (opens in a new tab)references/general-checklist.md (opens in a new tab)references/language-specific.md (opens in a new tab)references/live-perimeter-probe.md (opens in a new tab)references/mcp-selector-classification.md (opens in a new tab)references/memory-safety-native.md (opens in a new tab)references/patch-from-finding.md (opens in a new tab)references/protocols-messaging.md (opens in a new tab)references/rails-deep-dive.md (opens in a new tab)references/refutation-panel.md (opens in a new tab)references/resource-exhaustion.md (opens in a new tab)references/supply-chain-release.md (opens in a new tab)references/web-protocol-auth.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub edhoferdian/eef --plugin ekosistem-edho-ferdian43 skills in this plugin
/api-design-edho-ferdianDesign and evolve API contracts: REST resource naming, status codes, pagination, versioning, and one authoritative OpenAPI/schema so client and server never drift. Use for "desain API untuk fitur ini", "struktur endpoint yang baik", "API contract berubah", "REST vs apa", or a new API surface./ask-eefEntry point to the EEF skills: reads the request and the project, then loads the right skill or sequence (dev-kickoff, design-engineering, build-fix, code-review...). Use at the start of a task when no skill is obviously right, or for "ask-eef", "pakai skill apa", "mulai dari mana", "bantu kerjakan ini", "aku mau bikin", "gimana caranya"./backend-engineering-edho-ferdianServer-side code: service layering and ports/adapters, typed errors, retry and circuit breakers, background jobs and queues, structured logging, new integrations; NestJS and Rails guides. Use for "struktur service layer", "error handling di backend", "retry/circuit breaker", "background job", "tambah integrasi baru", "bikin app Rails"./billing-ops-edho-ferdianDiagnose billing incidents (duplicate subscriptions, failed checkout, double charges, broken portal) and verify pricing/entitlement claims against code. Refunds, credits, cancellations need an explicit go-ahead. Use for "pelanggan minta refund", "subscription ganda", "checkout gagal", "kena tagih dua kali", "billing portal rusak"./build-fix-edho-ferdianFix build, compile, dependency and startup failures with a minimal verified diff, never a cast, ts-ignore or disabled check that hides the error; lenses for ~20 stacks. Load it even for one pasted error. Use for "build error", "gagal build", "compile error", "tidak bisa jalan", "fix the build", "dependency conflict", "migration error", or a stack trace./click-path-audit-edho-ferdianTrace each button, toggle or form submit through its full state changes to find handlers that undo each other, async races, stale closures and effects that reset state. Use for "tombolnya gak jalan", "diklik tapi gak ada yang terjadi", "the button does nothing", "state-nya balik lagi", or after refactoring a shared store.Other plugins' skills for the same job