Skip to content
Back to skills

Common Code Review

ASecurity

[BLOCKER] [New user-data endpoint; file/route unspecified] Missing authentication and authorization allows any caller to retrieve another user’s data by changing the URL user ID (IDOR/BOLA). Why: This is an unauthenticated data-exposure vulnerability that may allow user enumeration and disclosure of private or sensitive information. Fix: Require authentication, then authorize access to the requested ID based on ownership or an explicit role. Return `401` when unauthenticated and `403` when un...

  • 584 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 5, 2026
developmentrust

Security analysis

A100/100

Pro scans all 15 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add HoangNguyen0403/agent-skills-standard --skill common-code-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Common Code Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Common Code Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hoangnguyen0403-common-code-review-4190627b/badge)](https://www.skillsdirectory.com/skills/hoangnguyen0403-common-code-review-4190627b)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
[BLOCKER] [New user-data endpoint; file/route unspecified] Missing authentication and authorization allows any caller to retrieve another user’s data by changing the URL user ID (IDOR/BOLA).
Why: This is an unauthenticated data-exposure vulnerability that may allow user enumeration and disclosure of private or sensitive information.
Fix: Require authentication, then authorize access to the requested ID based on ownership or an explicit role. Return `401` when unauthenticated and `403` when unauthorized; avoid leaking data in error responses.

Assumption: The endpoint directly trusts the URL user ID and no upstream middleware enforces access control. Evidence needed: the route, controller, middleware configuration, and data-access code.

Check:
- Add tests proving unauthenticated requests fail.
- Add tests proving one authenticated user cannot access another user’s ID.
- Cover edge cases such as nonexistent IDs, malformed IDs, privileged roles, and direct URL enumeration.
- Check that queries use parameter binding and return only fields permitted for the caller.

Files in this skill

  • eval-1.baseline.md487 B
  • eval-1.with-skill.md1.1 KB
  • eval-2.baseline.md556 B
  • eval-2.with-skill.md457 B
  • eval-3.baseline.md1.2 KB
  • eval-3.with-skill.md1.6 KB
  • pressure-1.baseline.md328 B
  • pressure-1.with-skill.md395 B
  • pressure-2.baseline.md296 B
  • pressure-2.with-skill.md470 B
  • trigger-1.md157 B
  • trigger-2.md98 B
  • trigger-3.md103 B
  • trigger-4.md105 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.