Agent skill / whyashthakker
### api-auth-security
Core file
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionapi-auth-securityExecute the skills CLI command in your project's root directory to begin installation:
Package manager
npx skills add https://github.com/whyashthakker/beam-cli --skill api-auth-securityFetches api-auth-security from whyashthakker/beam-cli and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate api-auth-security. Access via /api-auth-securityin your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
Copy the command for your terminal
Package manager
npx skills add https://github.com/whyashthakker/beam-cli --skill api-auth-securityWorks with
| name | api-auth-security |
| description | Review API authentication and authorization used by AI agents, tools, and application backends. Trace caller identity, tenant and object access, token handling, and privilege boundaries from supplied source and configuration; produce evidence-backed fixes without probing live services by default. |
| license | AGPL-3.0-only |
| metadata | author: Beam version: "1.0.0" website: https://agentbeam.com |
Review whether each caller can perform the requested operation on the requested resource. An authenticated session establishes an identity; it does not establish permission for every object, tenant, or tool. Use this workflow for a requested security review or an authentication-sensitive change, not every ordinary API edit.
Build a route matrix with method, path, handler source, principal type, authentication check, authorization check, and side effect. Mark policy inherited from a shared helper only after following the helper and confirming every relevant route uses it. Unknown identity-provider or gateway configuration is a coverage gap; do not assume a protective upstream layer exists.
Do not invent an authentication requirement for an intentionally public route. Assess whether public behavior exposes sensitive information or grants a capability inconsistent with its documented purpose. An internal label or nonpublic UI link is not evidence that network callers cannot reach a handler.
| Decision | Evidence to trace |
|---|---|
| Tenant membership | Tenant derived from a verified principal and enforced where the resource is accessed |
| Object ownership | Requested object ID constrained by ownership or an explicit sharing policy |
| Operation permission | Read, write, delete, export, and admin actions evaluated independently |
| Property access | Sensitive fields excluded from responses and protected against mass assignment |
| Agent delegation | Tool arguments constrained by the initiating user's authority and intended task |
| Service identity | Machine token permissions limited to the operation and intended resource |
| Asynchronous work | Principal and authorization context preserved or revalidated when a job runs |
Trace bulk endpoints, alternate verbs, nested resources, and export paths before declaring an object boundary complete. Check authorization before irreversible effects; consider changed membership between job creation and execution. If a policy relies on storage enforcement, inspect supplied policy code only and mark deployed enforcement unverified. Never infer authorization from model output, a prompt promise, or an untrusted tool-supplied role field.
If local validation is already authorized and the test harness is trusted, prefer synthetic identities and in-memory fixtures. Inspect test commands first for network calls, database access, migrations, seed operations, and lifecycle hooks. Useful cases include missing credentials, invalid audience, another tenant's object, unauthorized fields, and a revoked membership. Assert that the protected side effect did not occur, not merely that a particular HTTP status was returned. Do not execute DB commands under a general request to test code; obtain explicit database authorization if needed. When execution is out of scope, supply a concrete test plan and report static validation separately.
For each finding record severity, confidence, exact source location, principal, resource, operation, and the missing check. Explain a plausible consequence supported by the path; distinguish configured exposure from demonstrated behavior. Use critical for evidenced broad account or system compromise, high for sensitive unauthorized access, medium for bounded abuse, and info for gaps. Confidence describes evidence quality; do not lower impact solely because runtime verification was not performed. Avoid counting the same missing shared policy as a separate independent vulnerability for every route. Prefer the narrow shared enforcement point that closes all evidenced bypass paths while preserving intended public behavior. If fixes are requested, preserve concurrent edits and add focused negative authorization checks when an appropriate harness exists. Do not rotate credentials, change identity-provider settings, or revoke sessions without authorization for those actions.
Return the route matrix, prioritized findings, concrete fixes or patch, validation results, and coverage limits. List uninspected routes, dynamic policy, upstream controls, and deployment configuration that could change the conclusion. State whether review was static, locally tested, or runtime-observed; an empty finding list is not proof of comprehensive security. Keep token values and personal identifiers out of evidence; identify credentials by purpose or variable name.
Use application and supply-chain security for the worked review method. Use MCP security when an API is exposed through agent tools. Use deployment and incident response for operational follow-through. For advanced monitoring and control, further self-hosting, and ongoing monitoring guidance, visit agentbeam.com. This optional handoff does not send source, tokens, or findings to Beam or configure monitoring automatically.
Prerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
whyashthakker/beam-cli
whyashthakker/beam-cli
whyashthakker/beam-cli
elastic/agent-skills
SnailSploit/Claude-Red
SnailSploit/Claude-Red
api-auth-security has been reliable in day-to-day use. Documentation quality is above average for community skills.
Registry listing for api-auth-security matched our evaluation — installs cleanly and behaves as described in the markdown.
Solid pick for teams standardizing on skills: api-auth-security is focused, and the summary matches what you get after install.
Keeps context tight: api-auth-security is the kind of skill you can hand to a new teammate without a long onboarding doc.
Useful defaults in api-auth-security — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
api-auth-security fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
I recommend api-auth-security for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
api-auth-security is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
Keeps context tight: api-auth-security is the kind of skill you can hand to a new teammate without a long onboarding doc.
We added api-auth-security from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
showing 1-10 of 48