What the tech

Search

/ opens search from anywhere. Esc closes it.

Get the newsletter

security-and-hardening: a Claude Code skill by Addy Osmani

For web developers handling input, logins or personal data who want clear always, ask-first and never rules. Skip it if you need a formal audit report.

Score
77of 100
Rank
#78of 200
Installs
78.4Kon skills.sh
Security
Mixed 5 scanners
Updated
2026
Context
~155tokens always

Install

npx skills add https://github.com/addyosmani/agent-skills --skill security-and-hardening

Run it in your terminal. View the source

What does security-and-hardening do?

security-and-hardening is a Claude skill that applies security rules while Claude writes web code. It starts with a short threat model: map the trust boundaries, name the assets, and run STRIDE over each boundary. Rules come in three tiers. Always validate input, use parameterized queries, hash passwords and set CSP and HSTS headers. Ask first before new auth flows, CORS changes or upload handlers. Never commit secrets or pass user data to eval or innerHTML. Further sections cover SSRF, rate limits, GDPR and CCPA privacy, LLM output, and dependency audits run against the lockfile with install scripts blocked. A verification checklist closes it.

When should you use security-and-hardening?

Use it when

  • Adding a login, session or file upload feature
  • Triaging npm audit or other package audit findings
  • Handling personal data that falls under GDPR

Skip it when

  • You need a full audit with findings files
  • Your code never touches user input or secrets

What it needs and what it can touch

It can

  • Reads and edits project code
  • Runs your package manager's audit command

From reading its instructions, not from running it.

Why it scores 77

Strongest on upkeep (100 of 100), weakest on trust (62).

  • Adoption35 points 63
  • Upkeep20 points 100
  • Trust20 points 62
  • Quality15 points 100
  • Reader answers10 points Not enough answers yet, so this does not count

How the formula works

Is security-and-hardening safe to install?

At least one scanner raised a medium warning. Read the results below. Scanners often miss what other scanners catch, and a skill can change after a scan. Read its source before you install it.

ScannerResultDate
Gen Agent Trust HubPassedOct 31, 2026
SocketPassedOct 31, 2026
SnykLow riskOct 31, 2026
RunlayerMedium riskFeb 22, 2026
ZeroLeaksPassedApr 16, 2026

Details

Installs
78,364
Repository stars
113,127
Last repository change
Tokens always loaded
about 155
Tokens when used
about 4,224
License
MIT
Data confidence
High

Alternatives to security-and-hardening

All skills for this job

By the What the tech desk, with AI assistance. We read the skill's instructions; we did not run it. Text checked Nov 2, 2026. Numbers checked Nov 5, 2026.

Sources: the repository, skills.sh. See something wrong? Write to info@whathetech.net.