Entertainment community project · Unofficial, not affiliated with CVE / CNVD / NVD · All entries are public information · Disclaimer

LVELVE
  • In-house audit
  • False positive
  • LVE-2026-0031

AbsurdPlaceholder secrets in the Strapi project template .env.example(LVE-2026-0031)

The template says "to be modified"; the scaffolder already modified it before you looked.

LVE ID
LVE-2026-0031
Verdict
False positive
Affected product / version
Strapi · Example file in the create-strapi-app project templates · a8555e1
Published
2026-11-28

Description

The create-strapi-app project templates ship a .env.example in which APP_KEYS, ADMIN_JWT_SECRET, JWT_SECRET and others are set to "to be modified" placeholders; scanners often report them as hard-coded JWT secrets.

Why it is harmless

  1. When create-strapi-app creates a project it does not copy these placeholders; it generates a random value for each secret with crypto.randomBytes and writes them to the new project's .env.

  2. .env.example is only a list of variables for developers; the application never reads it at runtime.

  3. The placeholders literally say "to be modified".

Location

Compare templates/vanilla/.env.example with generateDotEnv in src/utils/dot-env.ts and the line in create-strapi.ts that writes .env.

References

Show per-metric scoring rationale

DS score and vector · Per-metric breakdownScoring rubric →

  • PRPrecondition / Required privilege

    NNo precondition

    Triggers anonymously — the hallmark of a real bug, so no penalty.

    +0 / 5

  • IMReal impact

    NNo security impact at all

    No change to confidentiality, integrity or availability — filing it as a “vulnerability” is the biggest impact.

    +5 / 5

  • EXReachability in default production config

    XUnreachable (test code / dead code)

    The code never ships in a production build, or can never execute.

    +5 / 5

  • PBPublicity / by design

    POpenly public all along

    The repo is public, the version is on the homepage, the password is in the README — it was never a secret.

    +4 / 4

  • VBVendor / maintainer behavior

    NNormal / no reply / n.a.

    No extra baffling behavior — no penalty.

    +0 / 4

  • FPFalse-positive factor

    FOutright false positive

    The scanner or audit tool got it wrong; the “finding” doesn’t hold up at all.

    +4 / 4

Total S =18/ 41 →DS 10= min(10, 1 + ⌊S / 2⌋)

Seen something just as lame?

Fill in the form in two minutes. Once a maintainer approves it, your GitHub handle is credited on the entry — permanently.

No account on this site needed — just GitHub.