Skip to content

feat(skill): add serverless function security#2596

Closed
452740336 wants to merge 1 commit into
UnitOneAI:mainfrom
452740336:codex/serverless-function-security-skill
Closed

feat(skill): add serverless function security#2596
452740336 wants to merge 1 commit into
UnitOneAI:mainfrom
452740336:codex/serverless-function-security-skill

Conversation

@452740336

Copy link
Copy Markdown

What This PR Does

Adds a new serverless-function-security Cloud/AppSec skill for issue #291.

The skill covers:

  • public invocation review for Lambda Function URLs and API-style serverless routes
  • oversized IAM execution roles and unscoped invoke permissions
  • secret sprawl in infrastructure configuration
  • event-source confusion and handler-side schema/source validation
  • unsafe /tmp usage, dependency provenance, retries, DLQ, concurrency, and idempotency review prompts
  • vulnerable and benign fixtures for CloudFormation/SAM-style YAML, Terraform, and JavaScript handlers
  • a lightweight verification script for the skill assets
  • index.yaml registration and role mappings

This contribution was prepared with Codex assistance and reviewed locally against the repository's validation expectations.

Framework References

  • OWASP Serverless Top 10
  • AWS Lambda Security and shared responsibility guidance
  • AWS Lambda resource-based permissions and source ARN scoping
  • AWS Lambda environment variable handling
  • CWE-250: Execution with Unnecessary Privileges
  • CWE-732: Incorrect Permission Assignment for Critical Resource
  • CWE-798: Use of Hard-coded Credentials

Testing

Validated locally with:

@452740336 452740336 requested a review from kamalsrini as a code owner June 15, 2026 03:01
@github-actions

Copy link
Copy Markdown

Thanks for the submission! 🙏 SecuritySkills is now issue-first: contributions need a linked issue that a maintainer has marked approved before a PR is opened.

Please open an issue describing the skill, wait for the approved label, then reopen this PR with Closes #<issue> in the description. The PR template lists everything we'll look for (including an independently runnable reproduction).

@github-actions github-actions Bot added the needs-approved-issue PR has no linked maintainer-approved issue label Jun 15, 2026
@github-actions github-actions Bot closed this Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-approved-issue PR has no linked maintainer-approved issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant