Add API idempotency and replay evidence gates#1687
Open
Dolpme wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Checklist
injection-hardened: trueset in frontmatterallowed-toolsscoped to minimum necessary permissionsindex.yamlupdated with new skill entry (if adding a skill; not applicable, existing skill only)What This PR Does
Addresses #1682.
This improves
skills/appsec/api-securityby adding idempotency and replay evidence gates for state-changing operations. The update focuses on REST create/update/delete endpoints, GraphQL mutations, webhooks, async event consumers, queue workers, and job APIs where retries or duplicate delivery can repeat a side effect.Summary:
SKILL.md.API-REPLAY-*finding IDs for missing duplicate controls, weak key binding, non-atomic duplicate detection, unsafe retry responses, duplicate event handling gaps, missing replay windows, weak concurrency evidence, and missing duplicate/replay alerting.api-top10-checklist.md.Framework References
Testing
git diff --check: passed; only existing Windows line-ending warnings were reported.lint-skills.ymlfrontmatter check: passed for allskills/androles/SKILL.mdfiles.validate-index.yml: all files listed byindex.yamlexist.injection-scan.yml: no prompt injection patterns detected.API-REPLAY-*IDs, output matrix, and retry pitfall are present.