Entry Point Analyzer
alt-research2/SolidityGuard
Analyzes Solidity contract entry points to map attack surface.
Detects logic vulnerabilities in smart contracts by analyzing guard-state consistency patterns.
The automated check flagged lines worth reading first. See the safety section below.
$ npx skills add quillai-network/quillshield_skills --skill semantic-guard-analysis -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install quillai-network/quillshield_skills semantic-guard-analysis --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/quillai-network/quillshield_skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/semantic-guard-analysis/skills/semantic-guard-analysis .claude/skills/semantic-guard-analysis && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "semantic-guard-analysis" agent skill from https://github.com/quillai-network/quillshield_skills/tree/main/plugins/semantic-guard-analysis/skills/semantic-guard-analysis into .claude/skills/semantic-guard-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "semantic-guard-analysis", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/quillai-network/quillshield_skills/tree/main/plugins/semantic-guard-analysis/skills/semantic-guard-analysisType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add quillai-network/quillshield_skills --skill semantic-guard-analysis -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install quillai-network/quillshield_skills semantic-guard-analysis --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/quillai-network/quillshield_skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/semantic-guard-analysis/skills/semantic-guard-analysis .agents/skills/semantic-guard-analysis && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "semantic-guard-analysis" agent skill from https://github.com/quillai-network/quillshield_skills/tree/main/plugins/semantic-guard-analysis/skills/semantic-guard-analysis into .agents/skills/semantic-guard-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "semantic-guard-analysis", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add quillai-network/quillshield_skills --skill semantic-guard-analysis -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install quillai-network/quillshield_skills semantic-guard-analysis --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/quillai-network/quillshield_skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/semantic-guard-analysis/skills/semantic-guard-analysis .cursor/skills/semantic-guard-analysis && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "semantic-guard-analysis" agent skill from https://github.com/quillai-network/quillshield_skills/tree/main/plugins/semantic-guard-analysis/skills/semantic-guard-analysis into .cursor/skills/semantic-guard-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "semantic-guard-analysis", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/quillai-network/quillshield_skills.git --path plugins/semantic-guard-analysis/skills/semantic-guard-analysis--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add quillai-network/quillshield_skills --skill semantic-guard-analysis -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install quillai-network/quillshield_skills semantic-guard-analysis --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/quillai-network/quillshield_skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/semantic-guard-analysis/skills/semantic-guard-analysis .gemini/skills/semantic-guard-analysis && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "semantic-guard-analysis" agent skill from https://github.com/quillai-network/quillshield_skills/tree/main/plugins/semantic-guard-analysis/skills/semantic-guard-analysis into .gemini/skills/semantic-guard-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "semantic-guard-analysis", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install quillai-network/quillshield_skills semantic-guard-analysisInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add quillai-network/quillshield_skills --skill semantic-guard-analysis -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/quillai-network/quillshield_skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/semantic-guard-analysis/skills/semantic-guard-analysis .github/skills/semantic-guard-analysis && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "semantic-guard-analysis" agent skill from https://github.com/quillai-network/quillshield_skills/tree/main/plugins/semantic-guard-analysis/skills/semantic-guard-analysis into .github/skills/semantic-guard-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "semantic-guard-analysis", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add quillai-network/quillshield_skills --skill semantic-guard-analysis -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install quillai-network/quillshield_skills semantic-guard-analysis --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/quillai-network/quillshield_skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/semantic-guard-analysis/skills/semantic-guard-analysis .opencode/skills/semantic-guard-analysis && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "semantic-guard-analysis" agent skill from https://github.com/quillai-network/quillshield_skills/tree/main/plugins/semantic-guard-analysis/skills/semantic-guard-analysis into .opencode/skills/semantic-guard-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "semantic-guard-analysis", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
semantic-guard-analysisDetects logic vulnerabilities in smart contracts by analyzing guard-state consistency patterns.
Semantic Guard Analysis is an agent skill from quillai-network/quillshield_skills. Detects logic vulnerabilities in smart contracts by analyzing guard-state consistency patterns. Identifies functions that bypass security checks (require, modifiers) that other functions consistently apply. Uses the Consistency Principle — a contract is its own specification. Use when auditing smart contracts for missing access controls, inconsistent pause checks, logic bugs, forgotten modifiers, or when traditional tools report no issues but logic errors may exist.
Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/case-studies.md` and `references/detection-algorithm.md`).
It sits in Backend & APIs, covering Smart contracts and Authorization and RBAC. The repository describes itself as: Structured skills for smart contract security audits. Infers state invariants, detects semantic guard gaps, models flash loan + oracle attack chains, simulates adversarial… The licence is MIT.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 8bdd3c0. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown and solidity).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Semantic Guard Analysis loads about 2.2k tokens when it runs, and up to ~4.4k if it reads all its reference files. Until then it costs about 124 tokens; SKILL.md has 564 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found patterns that need a careful read before installing.
th emergency/admin functions that might bypass safety mechanismsAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from quillai-network/quillshield_skills at commit 8bdd3c0, republished under its MIT licence (© quillai-network). 564 words, ~2,200 tokens.
.claude/skills/semantic-guard-analysis/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Detect logic vulnerabilities by finding functions that violate the contract's own internal guard patterns. Unlike pattern-matching tools, this approach uses the contract's consistent behavior as its specification.
require checks, forgotten modifiers, inconsistent access control"A smart contract is its own specification."
Instead of checking against external rules, analyze what the contract claims to enforce, then find where it breaks its own rules.
If a critical state variable (like user balances) is protected by a security check (like a pause mechanism) in 90% of functions, the 10% without that check are likely vulnerabilities.
Parse the Solidity code and build a State Interaction Matrix.
For each state variable, track every function that touches it:
State Variable: balance
├─ deposit() → [WRITE] + Guards: [paused, initialized]
├─ withdraw() → [WRITE] + Guards: [paused, initialized]
├─ transfer() → [WRITE] + Guards: [paused]
└─ emergencyWithdraw() → [WRITE] + Guards: [] ⚠️For each function-variable interaction, record:
| Attribute | Description |
|---|---|
| Write Access | Does the function modify this variable? |
| Guard Access | Does the function check this variable in require() or if()? |
| Read Access | Does the function only read this variable? |
Extract guard sources:
onlyOwner, nonReentrant, whenNotPaused)require statementsBuild a mathematical model of how variables protect each other.
Guard Relationship: If Variable A is checked before Variable B is modified:
A → B (A guards B)Example:
paused ──────┐
├──→ balance
initialized ─┘
owner ───→ paused
owner ───→ totalSupplyFrequency Weighting: Each guard relationship gets a confidence score:
Confidence(guard → state) = |functions applying guard| / |functions modifying state|paused guards balance in 9/10 functions → 90% confidenceowner guards totalSupply in 3/10 functions → 30% confidence (weak)Composite Dependencies: Track multi-variable guards:
(owner AND timeLock) → criticalFunction
(paused OR emergency) → userAccessIdentify functions that violate established patterns.
Algorithm:
For each state variable S that can be modified:
1. M = all functions that write to S
2. G = common guards across those functions (above threshold)
3. V = M \ G (functions that modify without guards)
4. V is the vulnerability setThreshold-Based Inference:
| Guard Frequency | Classification | Action |
|---|---|---|
| ≥ 80% | Strong Invariant | Flag violations as HIGH/CRITICAL |
| 50-79% | Weak Invariant | Flag violations as MEDIUM |
| < 50% | No Pattern | Ignore (too inconsistent) |
Severity Classification:
| Bypass Type | Severity |
|---|---|
Strong invariant on financial state (balance, totalSupply) | Critical |
Strong invariant on access control (owner, admin roles) | High |
| Weak invariant on any state | Medium |
| Inconsistent pattern with no security implications | Low/Info |
Context-Aware Filtering:
initialize() functions may legitimately bypass patternsview/pure functions cannot modify state — skipdelegatecall requires special handlingTask Progress:
- [ ] Step 1: Parse contract AST and build State Interaction Matrix
- [ ] Step 2: Identify all state variables and their modifying functions
- [ ] Step 3: Map guards (requires, modifiers) for each function-state pair
- [ ] Step 4: Build dependency graph with frequency weighting
- [ ] Step 5: Run anomaly detection (identify V = M \ G)
- [ ] Step 6: Apply privilege overlay (filter legitimate bypasses)
- [ ] Step 7: Score and report findingsNot all "bypasses" are vulnerabilities. Apply role-based filtering:
Role Classification:
| Role Level | Scrutiny | Rationale |
|---|---|---|
| Public functions | Highest | Must follow all established patterns |
| Owner/Admin functions | Medium | May bypass operational guards, must be consistent with each other |
| Emergency functions | Lower | Designed for exceptional cases |
| Internal functions | Context-dependent | Analyze based on callers |
Filtering Rule:
For each function f in vulnerability set V:
1. Identify function privileges (modifiers, access controls)
2. Compare with other functions at the SAME privilege level
3. Flag only if bypass is inconsistent WITHIN privilege tier## Guard-State Anomaly Report
### Finding: [Title]
**Function:** `functionName()` at `Contract.sol:L145`
**Severity:** [CRITICAL | HIGH | MEDIUM | LOW]
**Confidence:** [Percentage]
**Issue:** Modifies `[state variable]` without checking `[guard]`
**Pattern Evidence:**
- `function1()` checks `[guard]` before modifying `[state]` ✓
- `function2()` checks `[guard]` before modifying `[state]` ✓
- `functionName()` does NOT check `[guard]` before modifying `[state]` ✗
**Guard Frequency:** X out of Y functions (Z%)
**Security Impact:**
[Explanation of what an attacker can do by exploiting this inconsistency]
**Attack Scenario:**
1. [Step-by-step exploit]
**Recommendation:**
Add `require([guard], "[message]")` before modifying `[state]`,
or document why this function intentionally bypasses the check.contract Vault {
mapping(address => uint256) public balance;
bool public paused;
function deposit() public payable {
require(!paused, "Contract paused"); // ✓ checks paused
balance[msg.sender] += msg.value;
}
function withdraw(uint256 amount) public {
require(!paused, "Contract paused"); // ✓ checks paused
balance[msg.sender] -= amount;
payable(msg.sender).transfer(amount);
}
function adminWithdraw(address user) public onlyOwner {
// ✗ Missing paused check!
uint256 amount = balance[user];
balance[user] = 0;
payable(owner).transfer(amount);
}
}Detection:
M_balance = {deposit, withdraw, adminWithdraw}
G_paused = {deposit, withdraw}
V = {adminWithdraw}
Result: adminWithdraw() modifies balance without checking paused
Confidence: 66.7% (2/3 functions check paused)
Severity: HIGH (financial state + admin bypass of safety mechanism)For more case studies, see {baseDir}/references/case-studies.md. For the full detection algorithm, see {baseDir}/references/detection-algorithm.md.
© quillai-network, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files (references) in plugins/semantic-guard-analysis/skills/semantic-guard-analysis of quillai-network/quillshield_skills.
Open the folder on GitHubat commit 8bdd3c0
Semantic Guard Analysis next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Semantic Guard Analysis this skillquillai-network/quillshield_skills | 130 | — | ~2.2k | Automated safety check: Warn | MIT | |
| Entry Point Analyzeralt-research2/SolidityGuard | 104 | — | ~959 | Automated safety check: Pass | Custom licence | |
| Eip7702Nethereum/Nethereum | 2.3k | — | ~1.4k | Automated safety check: Pass | MIT | |
| Solidity Vulnerability Scanneralt-research2/SolidityGuard | 104 | — | ~1.6k | Automated safety check: Notes | Custom licence | |
| Erc7702 Patternsccashwell/evm-cortex | 131 | — | ~1.7k | Automated safety check: Pass | MIT | |
| Pashov Audit Pipelineccashwell/evm-cortex | 131 | — | ~5.5k | Automated safety check: Pass | MIT |
alt-research2/SolidityGuard
Analyzes Solidity contract entry points to map attack surface.
Nethereum/Nethereum
Delegate smart contract code to EOAs with EIP-7702 using Nethereum (.NET).
alt-research2/SolidityGuard
Comprehensive Solidity contract security scanner detecting 104 vulnerability patterns across reentrancy, access control, arithmetic, DeFi, proxy, and token categories.
ccashwell/evm-cortex
A skill your agent uses when building with EIP-7702 account abstraction.
ccashwell/evm-cortex
A skill your agent uses when performing a comprehensive smart contract security audit.
ccashwell/evm-cortex
Security-focused Solidity development patterns. An agent skill from ccashwell/evm-cortex.
quillai-network/quillshield_skills
Token-efficient smart contract security auditing via Behavioral State Analysis (BSA).
quillai-network/quillshield_skills
Detects Denial of Service and griefing vulnerabilities in smart contracts.
quillai-network/quillshield_skills
Detects unsafe external call patterns and token integration vulnerabilities in smart contracts.
quillai-network/quillshield_skills
Detects input validation failures and arithmetic vulnerabilities in smart contracts.
quillai-network/quillshield_skills
Detects price oracle manipulation and flash loan attack vectors in DeFi smart contracts.
quillai-network/quillshield_skills
Detects vulnerabilities in upgradeable proxy smart contracts including storage layout collisions, uninitialized implementations, function selector clashing, delegatecall context issues, and upgrade…
Categories
Detects logic vulnerabilities in smart contracts by analyzing guard-state consistency patterns. Semantic Guard Analysis is an agent skill from quillai-network/quillshield_skills. Detects logic vulnerabilities in smart contracts by analyzing guard-state consistency patterns.
Semantic Guard Analysis fits situations like: auditing smart contracts for missing access controls; inconsistent pause checks; forgotten modifiers; traditional tools report no issues but logic errors may exist.
Run `npx skills add quillai-network/quillshield_skills --skill semantic-guard-analysis -a claude-code`. Or copy the skill folder (plugins/semantic-guard-analysis/skills/semantic-guard-analysis in quillai-network/quillshield_skills) into .claude/skills/semantic-guard-analysis in your project. Claude Code loads it when a task matches its description.
Run `npx skills add quillai-network/quillshield_skills --skill semantic-guard-analysis -a codex`. Or copy the skill folder (plugins/semantic-guard-analysis/skills/semantic-guard-analysis in quillai-network/quillshield_skills) into .agents/skills/semantic-guard-analysis in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add quillai-network/quillshield_skills --skill semantic-guard-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/semantic-guard-analysis, .gemini/skills/semantic-guard-analysis, .github/skills/semantic-guard-analysis and .opencode/skills/semantic-guard-analysis in your project.
SKILL.md names no scripts, command-line tools or credentials: Semantic Guard Analysis is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md flagged 1 warning(s): contains instruction-override wording (e.g. “without asking the user”). Read the flagged lines before installing; the check is not a guarantee either way.
Semantic Guard Analysis is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.2k tokens (SKILL.md is roughly 8.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.2k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Semantic Guard Analysis: Entry Point Analyzer (alt-research2/SolidityGuard, 104 stars), Eip7702 (Nethereum/Nethereum, 2.3k stars), Solidity Vulnerability Scanner (alt-research2/SolidityGuard, 104 stars) and Erc7702 Patterns (ccashwell/evm-cortex, 131 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
quillai-network (a GitHub organization) maintains it in quillai-network/quillshield_skills, which has 130 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on March 30, 2026.
Source: quillai-network/quillshield_skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.