ersinkoc/security-check/sc-business-logic
Claude Code and agent skill by ersinkoc/security-check
- community
Checking that the SKILL.md file is still in the repository.
Business logic flaw detection — price manipulation, workflow bypass, race conditions, and abuse vectors
Install
npx vskill@latest install ersinkoc/security-check/sc-business-logicSKILL.md
The same SKILL.md was published earlier as ersinkoc/security-check/sc-business-logic.
SC: Business Logic Flaws
Purpose
Detects business logic vulnerabilities that arise from flawed application workflows rather than technical implementation errors. Covers price/quantity manipulation, coupon abuse, workflow step bypassing, negative value attacks, account enumeration, and reward system abuse. These vulnerabilities cannot be detected by pattern matching alone — they require understanding of the application's intended behavior.
Activation
Called by sc-orchestrator during Phase 2. Runs against web applications with business workflows.
Phase 1: Discovery
Keyword Patterns to Search
Vulnerability Categories
1. Price/Quantity Manipulation:
2. Negative Quantity/Amount:
3. Workflow Step Bypass:
4. Coupon/Discount Abuse: Check for: single-use coupons applied multiple times, percentage discounts exceeding 100%, stacking multiple exclusive coupons, applying expired coupons.
5. Account Enumeration: Different responses for "user not found" vs "wrong password" reveals account existence.
Severity Classification
- Critical: Price manipulation allowing free purchases, negative amount enabling fund theft
- High: Workflow bypass skipping payment, unlimited coupon use
- Medium: Account enumeration, minor discount abuse
- Low: Referral gaming, cosmetic logic flaws
Output Format
Finding: BIZ-{NNN}
- Title: {Business logic flaw type}
- Severity: Critical | High | Medium | Low
- Confidence: 0-100
- File: file/path:line
- Vulnerability Type: CWE-840 (Business Logic Errors)
- Description: {What was found and how it violates intended business rules}
- Impact: Financial loss, service abuse, competitive advantage.
- Remediation: {Server-side validation, workflow state machine, invariant checks}
- References: https://cwe.mitre.org/data/definitions/840.html
Common False Positives
- Admin override capabilities — admin users legitimately bypassing restrictions
- Internal tools — backend tools with intentionally relaxed validation
- Test/staging environments — relaxed limits for testing purposes
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/sc-business-logic/SKILL.md
Popularity
- Repository stars
- 46
- Repository forks
- 5
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ersinkoc/security-check/sc-business-logic)