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.
mdr add photostructure/coding-skills/web-security-hardening@git:20260820.d8935aaPins 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
mdr add photostructure/coding-skills/web-security-hardening@sha256:4c801b4d44469405The 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.
[](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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260820.d8935aa latest | 2026-08-20 | d8935aa | 14,519 B | A | view · diff |
| git:20260717.e567b34 | 2026-07-17 | e567b34 | 14,461 B | A | view · diff |
| git:20260713.392f64b | 2026-07-13 | 392f64b | 12,121 B | A | view · diff |
| git:20260712.db08853 | 2026-07-12 | db08853 | 12,202 B | A | view · diff |
| git:20260712.6b93cb4 | 2026-07-12 | 6b93cb4 | 11,615 B | A | view |
Audit of the latest version
- 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
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.