
secure-code-guardian
Implementing authentication/authorization, securing user input
by jeffallanFree
Description
secure-code-guardian is an agent skill from the jeffallan claude-skills collection for implementing authentication and authorisation, securing user input, and preventing OWASP Top 10 vulnerabilities, including when writing custom security code. Its workflow has five stages: threat model the attack surface, design the security controls, implement them with defence in depth, validate each control with explicit checks, and record the security decisions. The validation checkpoints are the most specific part. For authentication, the agent tests brute-force protection, session fixation resistance, token expiry, and error messages that must not reveal whether a user exists. For authorisation, it checks that horizontal and vertical privilege escalation is blocked by testing with tokens from different users and roles. For input handling, it confirms that SQL injection payloads are rejected and that cross-site scripting payloads are escaped or rejected. For headers and CORS, it uses a scanner such as curl or Mozilla Observatory to confirm security headers are present and the CORS allowlist is correct. The skill suits developers building login systems, APIs and forms who want those checks done and recorded. It is listed on skills.sh, where the page shows install counts and GitHub stars for the collection. Its Gen Agent Trust Hub audit is marked as failing, which the FAQ lists, while Socket and Snyk pass. Install it with npx skills add https://github.com/jeffallan/claude-skills --skill secure-code-guardian.…
Highlights
- Threat modelling and security controls
- Authentication and session checks
- Privilege escalation tests
- SQL injection and XSS checks
- Security headers and CORS validation
- Installs from skills.sh
Ratings & Reviews
No ratings yet
Be the first to rate secure-code-guardian.
People also visit

api-security-best-practices
Implement secure API design patterns including authentication, authorization

security-reviewer
Identifies security vulnerabilities, generates structured audit reports

bitwarden-security-engineer
Application security engineering assistant for vulnerability triage
secure-code-guardian FAQ
What does this skill do?
It helps an agent build authentication, authorisation and input handling that resist OWASP Top 10 vulnerabilities, and tests each control.
What does the authentication check cover?
Brute-force protection, session fixation resistance, token expiry and error messages that do not reveal whether a user exists.
How is authorisation tested?
By checking that horizontal and vertical privilege escalation is blocked, using tokens for different users and roles.
How do I install it?
Run npx skills add https://github.com/jeffallan/claude-skills --skill secure-code-guardian.
What are the security audit results?
skills.sh lists three audits: Gen Agent Trust Hub Fail, Socket Pass and Snyk Pass. A Warn or Fail is worth reading before you install.
How popular is it?
The page shows about 4.9K installs, and the claude-skills repository has 11.9K GitHub stars.
What are the best secure-code-guardian alternatives?
Popular alternatives to secure-code-guardian include security-review, security-review and cc-skill-security-review. See all secure-code-guardian alternatives












