side-effect-verification
/side-effect-verification
Verify effects through a second independent read rather than trusting the action's own response, so a claimed change is confirmed where the state actually lives. Use when the proof claims an action changed state somewhere in the system
- Author
- Wsh7Ash ↗
- Repository
- payloadlab ↗
- Licence
- MIT
- Last repository change
- 28.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 2
No signals detected. Repository changed on 28.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Verify effects through a second independent read rather than trusting the action's own response, so a claimed change is confirmed where the state actually lives. Use when the proof claims an action changed state somewhere in the system
Original author description
Verify effects through a second independent read rather than trusting the action's own response, so a claimed change is confirmed where the state actually lives. Use when the proof claims an action changed state somewhere in the system
How it works
- Procedure
- Signals
- Patterns
- Pitfalls
- Done when
- References
SKILL.md preview
--- name: side-effect-verification description: "Verify effects through a second independent read rather than trusting the action's own response, so a claimed change is confirmed where the state actually lives. Use when the proof claims an action changed state somewhere in the system" pack: payloadlab version: 1.0.0 category: defensive-security tags: [observe, evidence, verification] --- # Side Effect Verification > Verify effects through a second independent read rather than trusting the action's own response, so a claimed change is confirmed where the state actually lives **Use when:** the proof claims an action changed state somewhere in the system **Avoid when:** the claim concerns a read with no state change involved ## Procedure 1. Identify where the claimed effect would be persisted: record, log, queue or downstream system. 2. Read that location through a different path than the one the action used to report success. 3. Confirm the effect's presence with the marker or identifier tied to this specific test. 4. Check that the effect is attributable to your test and not to concurrent activity. 5. Record the independent verification with both the action response and the confirming read. 6. If the second read does not confirm, downgrade the claim rather than trusting the first response. ## Signals - Success is asserted from the action's own response, which is exactly what would lie if broken. - The confirming read uses the same code path, so both could share the same failure. - Concurrent activity could have produced the state you are attributing to your test. - The effect is not visible where you expected, which may mean it did not persist at all. ## Patterns **1. Verify line** ```text action=create-status=200 independent-read=list endpoint marker-found=yes attribution=confirmed ``` **2. Same-path flag** ```text action=read-back-via-same-endpoint verdict=independent-enough=no next=read-via-other-path ``` **3. Downgrade** ```text action-reported=applied confirm-read=absent verdict=not-confirmed claim=downgraded-to-unconfirmed ``` ## Pitfalls - Believing an action's success response without any independent confirmation. - Confirming through the same code path, which shares the failure you are trying to rule out. - Attributing state produced by someone else's concurrent activity to your own test. - Reporting an unconfirmed effect as applied because the request returned success. ## Done when - The claimed effect is confirmed by a read through a path independent of the action. - The confirming evidence carries the marker or identifier of this specific test. - Lack of confirmation downgrades the claim rather than being rationalized away. ## References - [OWASP - testing guidance for verification](https://owasp.org/www-project-web-security-testing-guide/) - [CWE - weakness catalog](https://cwe.mitre.org/)
Versions
The database has no other skills named side-effect-verification.
Database snapshot: 13.11.2026 · package version 20aaffc4d17d (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100cleanup-and-restoration-verification
Remove every trace your test created and verify the removal through an independent read, so the system ends in the state it was in before you began. Use when the proof created objects, sessions, files or records that must be removed - 100db-state-qa
This skill should be used when the user asks to "verify database state", "check what's in the database", "assert DB rows after the action", "validate the migration", or wants behavioural verification of database side effects. Snapshots database state before the action, exercises… - 100effect-v3-to-v4
Use this skill when migrating a codebase from Effect v3 to Effect v4, upgrading `effect` or any `@effect/*` package across the v3/v4 boundary. - 90rollback-and-dedup-effect-testing
Use when signing off a claimed rollback or an alert deduplication, verifying the rollback actually ran and the dedup suppresses from persisted state without relying on the executor's word. - 100verify-completion
Verifies implementations and fixes actually work by executing commands and observing real results. Never trusts claims. Use as the final quality check after implementation, after a bug fix, or when the user asks "is it done", "does it work", "verify this", or "confirm the fix". - 100effect-actions
Use when implementing, integrating, or testing @gjermundgaraba/effect-actions, which defines Effect action contracts once for HTTP, MCP, Effect RPC, native Toolkits, and CLIs. These pages follow the repository's main branch, which can be ahead of the latest release. Their links…