web-security-hardening SKILL.md skillA

web-security-hardening from photostructure/coding-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add photostructure/coding-skills/web-security-hardening@git:20260820.d8935aa

Pins git:20260820.d8935aa in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
photostructure/coding-skills
Path
plugins/security/skills/web-security-hardening/SKILL.md
Versions recorded
5
Latest version
git:20260820.d8935aa, committed Aug 20, 2026
First version recorded
Jul 12, 2026
Size
14,519 bytes
Repository stars
5
License
MIT

Security best-practices and hardening review for JavaScript/TypeScript web and Electron desktop applications. Use when asked to harden an app, review security posture or secure defaults, assess OWASP ASVS or Electron security-checklist alignment, improve HTTP headers or CSP, review forms/input validation/sanitization/uploads, strengthen authentication/passwords/sessions/secrets, secure Electron windows/preloads/IPC/navigation/permissions/protocols/updates/packaging, or evaluate…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Web and Electron Security Hardening

Assess JavaScript/TypeScript web and Electron desktop applications against practical,
evidence-based security baselines. Report applicable preventive-control gaps even when
no exploit path is currently proven, while clearly distinguishing hardening advice from
vulnerabilities.

Use OWASP ASVS 5.0.0 as the pinned requirements backbone. Use OWASP Cheat Sheets,
current framework/library documentation, MDN, and NIST SP 800-63B-4 to explain and
implement web/service controls. When Electron is present, also use Electron's current
security checklist and official runtime, packaging, and platform documentation for the
desktop boundary. See [ATTRIBUTION.md](./ATTRIBUTION.md).

For web-only work, call the result an **ASVS-guided hardening review**, not ASVS
compliance or certification, unless every requirement at the selected level has been
enumerated, assessed for applicability, and supported by the evidence ASVS requires.
Electron reviews use the dual-baseline name defined below.

## Boundary with vulnerability review

Keep this skill separate from `web-security-review`:

| This skill | `web-security-review` |
| --- | --- |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add photostructure/coding-skills/web-security-hardening@sha256:4c801b4d44469405

The line at the top of this page pins the label git:20260820.d8935aa, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_iqnfqqh4impbqvb7.svg)](https://markdownregistry.com/a/art_iqnfqqh4impbqvb7)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Jul 12, 2026 and Aug 20, 2026, about one every 10 days.

versioncommittedcommitsizeaudit
git:20260820.d8935aa latest2026-08-20 d8935aa 14,519 BA view · diff
git:20260717.e567b342026-07-17 e567b34 14,461 BA view · diff
git:20260713.392f64b2026-07-13 392f64b 12,121 BA view · diff
git:20260712.db088532026-07-12 db08853 12,202 BA view · diff
git:20260712.6b93cb42026-07-12 6b93cb4 11,615 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (14519 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

photostructure/coding-skills · 5 stars · license MIT · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_iqnfqqh4impbqvb7
GET https://markdownregistry.com/api/v1/resolve?ref=photostructure/coding-skills/web-security-hardening
GET https://markdownregistry.com/api/v1/blob/4c801b4d44469405824dd7b06f4a9833a76c0a5d628fe2363a962fe2aa1d101c

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from photostructure/coding-skills

find SKILL.md skill
photostructure/coding-skills · plugins/coding/skills/find/SKILL.md · Find the local coding-agent session that wrote the uncommitted changes in a file, or in a pasted snippet of changed…
git:20260924.5aa427c · audit A · 5 stars
gitplan SKILL.md skill
photostructure/coding-skills · plugins/coding/skills/gitplan/SKILL.md · Plan and execute coherent Conventional Commit groupings for tangled working tree changes — multiple intertwined logical…
git:20261002.03479a6 · audit A · 5 stars
handoff SKILL.md skill
photostructure/coding-skills · plugins/coding/skills/handoff/SKILL.md · Update the active Technical Project Plan for handoff when context is running low or the session is ending, so the next…
git:20261107.c82c884 · audit A · 5 stars
replan SKILL.md skill
photostructure/coding-skills · plugins/coding/skills/replan/SKILL.md · Iterative deep planning with critiques and alternatives. Use when facing complex design decisions requiring thorough…
git:20260820.d8935aa · audit A · 5 stars
review-staged SKILL.md skill
photostructure/coding-skills · plugins/coding/skills/review-staged/SKILL.md · Workflow to review the staged Git diff for verified bugs and then prepare a clean Conventional Commit. Use when the…
git:20261002.03479a6 · audit A · 5 stars
review SKILL.md skill
photostructure/coding-skills · plugins/coding/skills/review/SKILL.md · Code-review workflow for verified issues in specific files, functions, diffs, or code sections. Use whenever a review…
git:20260918.58c004e · audit A · 5 stars
second-opinion SKILL.md skill
photostructure/coding-skills · plugins/coding/skills/second-opinion/SKILL.md · Get second opinions on freshly written code from fresh Codex and Claude reviewers, one small batch at a time, then…
git:20261107.c82c884 · audit A · 5 stars
stage SKILL.md skill
photostructure/coding-skills · plugins/coding/skills/stage/SKILL.md · Use when committing work from the current session to stage ONLY hunks the session touched, not the entire file…
git:20261002.03479a6 · audit A · 5 stars
tpp-orchestrate SKILL.md skill
photostructure/coding-skills · plugins/coding/skills/tpp-orchestrate/SKILL.md · Work through a queue of Technical Project Plans serially — delegate each to a TDD subagent, get a cross-model second…
git:20261107.c82c884 · audit A · 5 stars
tpp SKILL.md skill
photostructure/coding-skills · plugins/coding/skills/tpp/SKILL.md · Work a Technical Project Plan to completion — read the plan, start from its current phase, work through its tasks until…
git:20261107.c82c884 · audit A · 5 stars
write-clearly SKILL.md skill
photostructure/coding-skills · plugins/coding/skills/write-clearly/SKILL.md · Draft and revise prose for clarity, precision, concision, unambiguous execution, and honest emphasis using Orwell's…
git:20261004.6829abd · audit A · 5 stars
project-setup SKILL.md skill
photostructure/coding-skills · plugins/cpp/skills/project-setup/SKILL.md · Setup and hardening review for cross-platform modern-C++ (C++17) native projects, especially Node.js addons built with…
git:20260820.d8935aa · audit A · 5 stars

Every file in photostructure/coding-skills

Browse by kind, by grade A, or by owner.