Nean sec
A collection of Claude Code skills for iOS, MERN, NEAN, and shared development workflows
npx -y skills add edfenton/claude-skills --skill nean-secAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Security policy for NEAN apps. Enforces OWASP Top 10 and CWE Top 25 mitigations.
SKILL.md
1.4 KB, 278 tokens by cl100k_base, as published. Nobody here has run it
Purpose
Ensure NEAN code is secure by default. For security output format and core refusal policy, see /shared-sec-baseline.
NEAN-specific security concerns (always check)
- SQL injection — use TypeORM parameterized queries; never interpolate user input into raw SQL
- Input validation — class-validator decorators on all DTOs at every API boundary
- XSS — Angular sanitizes by default; audit
[innerHTML]andbypassSecurityTrust*usage - CSRF — required when using cookie-based auth; implement CSRF tokens or use SameSite=Strict
- Auth/authz gaps — verify authorization in NestJS guards on every protected endpoint, not just frontend
- Token storage — avoid localStorage for sensitive tokens; prefer httpOnly cookies for refresh tokens
- Mass assignment — use DTOs with explicit properties; never spread request body directly into entities
Standard security (brief check)
- Error responses: safe exception filters, no stack traces or internal details
- Rate limiting: on auth endpoints, expensive operations, public APIs
- Dependencies: lockfile committed, no known critical vulnerabilities
- Security headers: Helmet middleware configured
Reference
For detailed OWASP/CWE mitigation patterns, see reference/nean-sec-reference.md
What ships with it: 1 file
9.5 KB alongside SKILL.md
reference/
- nean-sec-reference.md9.5 KB