Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/helderberto-harden
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data, ml, security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/harden
What's inside
- Skill name
harden- Description
- Harden code where untrusted input enters the system. Use when implementing auth, handling user input, storing sensitive data, integrating external APIs, adding file uploads or LLM features, or crossing any trust boundary. Don't use for secret scanning (/safe-repo) or dependency CVEs (/deps-audit).
- License
- MIT
- Instructions
- 50 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (1)
- SKILL.md
SKILL.md (first lines)
# Harden Security as a constraint on every line that touches user data, auth, or external systems. **Proactive**: applied during implementation, not after. Reactive scans belong to `safe-repo` (sensitive data) and `deps-audit` (CVEs). ## Ask first — human approval required - New authentication flow or auth logic changes - Storing new categories of sensitive data (PII, payment) - New external service integrations - CORS configuration changes - File upload handlers - Rate-limit / throttling changes - Granting elevated permissions or roles ## Validate at the boundary Validate at the **system boundary** (route handler, message consumer), not in business logic: a schema validator (Zod, Joi, pydantic, …) defines the contract; reject with 422 + structured error before business logic touches the data. Trust internal code; validate only at the edges. ## Defaults that are easy to forget - Authorization per resource (ownership), not just authentication - Queries parameterized; shell commands take argument arrays, never strings built from input; output encoded for its context (HTML, URL, JS) - Passwords hashed with argon2, scrypt, or bcrypt; reset tokens single-use and short-lived - OAuth with PKCE and `state`; redirect targets from an allowlist, never a raw user-supplied URL - Third-party scripts pinned with Subresource Integrity hashes - Session cookies `httpOnly` + `secure` + `sameSite`; auth tokens never in `localStorage` - Strip sensitive fields from API responses by default - Security headers (CSP, HSTS, X-Frame-Options, X-Content-Type-Options) - Rate limit on auth endpoints - Logs and error responses free of secrets, tokens, PII, stack traces - File uploads: allowlist MIME types, enforce max size before processing, check magic bytes when the type matters, store outside the webroot - Outbound requests: allowlist destinations; never fetch a user-provided URL unvalidated (SSRF) - CORS: explicit origin allowlist from config; no wildcard on authenticated endpoints - External integrations: verify webhook signatures, time out every external call, validate third-party response shapes before use; never deserialize untrusted input with unsafe loaders - Log security events (auth failures, access denials, input rejections) — without the payloads - Raw HTML from users only through a sanitizer (DOMPurify or equivalent) ## AI / LLM features - Model output is untrusted input: validate it before it reaches `eval`, SQL, a shell, `innerHTML`, or a file path - The prompt is not a security boundary; enforce permissions in code (prompt injection) - No secrets or other tenants' data in prompts or retrieved context - Agent tools scoped to the task; a human confirms destructive actions - Token, rate, and recursion limits on every model call ## Verification After security-relevant code: `deps-audit` shows no critical/high CVEs (or each documented with review date); `safe-repo --diff` clean; headers present (`curl -I`); authz checked on every protected endpoint.
From helderberto/agent-skills, MIT.
More from helderberto/agent-skills
- 0.646score
safe-repo
helderberto
Scan the repository for committed secrets and sensitive data; `--diff [<base>]` scopes to a branch's changes.
SkillAFreshness: A★ 17Claude Code +9 - 0.646score
tdd
helderberto
Test-driven development, from unit to end-to-end tests.
SkillAFreshness: A★ 17Claude Code +9 - 0.646score
visual-review
helderberto
Two visual modes — render a PR diff as an HTML page with each hunk annotated by principle, or check a UI change in a real browser (screenshots, console…
SkillAFreshness: A★ 17Claude Code +9 - 0.646score
prototype
helderberto
Build a throwaway prototype — a shareable HTML demo for state/logic questions, or several UI variations toggleable from one route.
SkillAFreshness: A★ 17Claude Code +9 - 0.646score
codebase-design
helderberto
Shared vocabulary for designing deep modules — interface, seam, depth.
SkillAFreshness: A★ 17Claude Code +9 - 0.643score
to-doc
helderberto
Turn an investigation, data, or a decision into a doc for readers across the company, published to Confluence, a GitHub issue, or Markdown.
SkillAFreshness: A★ 17Claude Code +9 - 0.643score
triage
helderberto
Classify any input — idea, bug, ticket key, `#42`, PR URL, stack trace — size it, and name the command to type; with no args, report where you are.
SkillAFreshness: A★ 17Claude Code +9 - 0.643score
build
helderberto
Implement the next unblocked ticket test-first and commit it, or fan every ticket out to parallel subagents with `--all`.
SkillAFreshness: A★ 17Claude Code +9 - 0.641score
commit
helderberto
Group unstaged changes into atomic commits by concern, matching repository style.
SkillAFreshness: A★ 17Claude Code +9 - 0.641score
feedback
helderberto
Fetch unresolved review comments on a GitHub PR (Copilot and human), verify against the code, classify Address / Skip / Optional / Discuss.
SkillAFreshness: A★ 17Claude Code +9 - 0.641score
i18n
helderberto
Audit internationalization coverage and find hardcoded strings.
SkillAFreshness: A★ 17Claude Code +9 - 0.641score
domain-modeling
helderberto
Build a project's domain model — challenge terms, pin down a ubiquitous language, write the glossary down.
SkillAFreshness: A★ 17Claude Code +9
Signals
- Stars
- 17
- Forks
- 2
- Open issues
- 0
- Last commit (this folder)
- Oct 11, 2026 (18 days ago)
- Last release
- Oct 24, 2026 (5 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/helderberto/agent-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from helderberto
- 0.646score
visual-review
helderberto
Two visual modes — render a PR diff as an HTML page with each hunk annotated by principle, or check a UI change in a real browser (screenshots, console…
SkillAFreshness: A★ 17Claude Code +9 - 0.646score
tdd
helderberto
Test-driven development, from unit to end-to-end tests.
SkillAFreshness: A★ 17Claude Code +9 - 0.646score
safe-repo
helderberto
Scan the repository for committed secrets and sensitive data; `--diff [<base>]` scopes to a branch's changes.
SkillAFreshness: A★ 17Claude Code +9 - 0.646score
prototype
helderberto
Build a throwaway prototype — a shareable HTML demo for state/logic questions, or several UI variations toggleable from one route.
SkillAFreshness: A★ 17Claude Code +9 - 0.646score
codebase-design
helderberto
Shared vocabulary for designing deep modules — interface, seam, depth.
SkillAFreshness: A★ 17Claude Code +9 - 0.643score
build
helderberto
Implement the next unblocked ticket test-first and commit it, or fan every ticket out to parallel subagents with `--all`.
SkillAFreshness: A★ 17Claude Code +9
Cite this page
harden skill. Agent Mart. https://agentmart.dev/skills/helderberto-harden (last updated 2026-10-24)