delegatecall_takeover
SWC-112attacker overwrites the owner storage slot through an unguarded delegatecall
Inspect paired controls, the agreed scope and the records used to check a repair.
Monitors 14 all-security feeds at 06:00 UTC: CISA KEV, NVD high and critical CVEs, OWASP web/API, AWS/GCP/Azure cloud, identity/auth, mobile, Node/Python/Rust supply-chain, email/DNS, AI/LLM & MCP advisories, plus rekt.news, DeFiHackLabs, SlowMist and agentic TTP intelligence.
Rebuilds the vulnerability primitive on a disposable local Anvil fork, local Solana test validator or offline Docker target. Zero live third-party scans.
Writes static, IR or semantic rules validated against paired vulnerable (positive) and patched (negative) fixtures with zero false positives before promotion.
Screens enrolled client repositories, SBOMs, APIs and cloud surfaces against the new class, then confirms fixes with commit-bound retest diffs.
Every row below is loaded at build time from WARDEN's promoted all-security attack-to-protection catalogue (25 verified rows spanning CISA KEV and NVD CVEs, web/API, cloud, identity, mobile, supply-chain, email/DNS, AI/LLM & MCP, EVM and Solana/Anchor). Advisories alone are never reported as findings; each row passes paired vulnerable and patched detector controls (FP=0) plus an offline local-fork PoC proving the flaw reproduces before patching and fails after.
| Incident | Date | Attack class | WARDEN rule | Patch pattern & source |
|---|---|---|---|---|
| GHSA-33p6-82cm-6c2c / CVE-2026-102895 (AI/MCP Tool Injection & Symlink Escape)ai / llm / mcp-serverAI, LLM & MCP · MCP GHSA | 2026-12-05 | AI-LLM-MCP / OWASP-LLM01 / CWE-78 / mcp-tool-injection-symlink-escape | allsec-ai-mcp-tool-injectionPoC verified · 9a06694ff253 | Resolve every MCP tool path with realpathSync() inside an allowlisted root, pass argv arrays with shell:false, disable git config hooks (-c core.hooksPath=/dev/null -c protocol.ext.allow=never), and forbid wildcard allowedTools. Primary reference |
| CVE-2026-140229 / RUSTSEC-2026-0440 (Node/Rust Archive Extraction)supply-chain / npm / pip / rustSupply chain · npm GHSA | 2026-12-05 | SUPPLY-CHAIN / CWE-400 / unsafe-archive-and-ci | allsec-supply-chain-archive-ciPoC verified · 380194a0857f | Validate every tar member path against the target root, reject symlinks/hardlinks, cap streaming decompressed bytes before materialization, and pin CI actions to 40-hex commit SHAs. Primary reference |
| CVE-2026-139934 (CISA KEV: Azure APIM / Middleware Auth Bypass)cloud / web / api-gatewayWeb & API · CISA KEV | 2026-12-04 | CISA-KEV / OWASP-API5 / CWE-863 / middleware-auth-bypass | allsec-web-middleware-auth-bypassPoC verified · d40795eac8ea | Strip untrusted internal headers (x-middleware-subrequest, x-forwarded-user) at the edge and enforce cryptographically verified session authorization inside every protected API handler. Primary reference |
| CVE-2026-80325 (CISA KEV / NVD Critical: PingIDM Policy Eval)identity / auth / oauthIdentity & auth · CISA KEV | 2026-12-04 | CISA-KEV / IDENTITY / CWE-732 / policy-script-eval | allsec-identity-oauth-policy-evalPoC verified · 73a14b742f63 | Replace dynamic eval/new Function policy script evaluation with declarative allowlisted role/claim schemas and pin OAuth redirect_uri values to exact pre-registered origins. Primary reference |
| ARTEX TTP-03: JWT kid Inherited-Key Prototype Lookupweb / api / nodejsIdentity & auth · Agentic TTP | 2026-12-01 | ARTEX-TTP-03 / OWASP-API2 | agentic-jwt-kid-prototype-trapPoC verified · 82d0138bc23c | Replace kid in keys and raw object indexing with Object.hasOwn(keys, kid) or Map.get(kid) and enforce an explicit asymmetric algorithm allowlist (RS256 / EdDSA). Primary reference |
| ARTEX TTP-02: SIWE/SIWS Non-Atomic Nonce Replayweb / api / wallet-authIdentity & auth · Agentic TTP | 2026-12-01 | ARTEX-TTP-02 / OWASP-API2 | agentic-siwe-nonce-replayPoC verified · d65456b702d1 | Consume SIWE/SIWS nonces atomically in a single step (redis.getdel or DELETE FROM nonces WHERE nonce = $1 RETURNING *) before issuing session tokens. Primary reference |
| ARTEX TTP-04: SSRF to Loopback / Cloud Metadataweb / api / cloud-infraWeb & API · Agentic TTP | 2026-12-01 | ARTEX-TTP-04 / OWASP-API7 | agentic-ssrf-unvalidated-fetchPoC verified · 2e535e8b58c3 | Enforce HTTPS-only strict hostname allowlists, resolve and deny loopback/private/link-local/169.254.169.254 IPs, and set redirect: 'error' (or re-validate every redirect hop). Primary reference |
| ARTEX TTP-01: X-Forwarded-For Rate-Limit Spoofingweb / api / cloudflare-edgeWeb & API · Agentic TTP | 2026-12-01 | ARTEX-TTP-01 / OWASP-API4 | agentic-xff-rate-limit-spoofPoC verified · f30be31bc05f | Key rate limiters strictly on edge-verified client IP (cf-connecting-ip / req.socket.remoteAddress) rather than client-spoofable X-Forwarded-For or request-body fields. Primary reference |
| OWASP MASVS-NETWORK / PLATFORM (Mobile Cleartext & WebView Bridge)mobile / ios / android / react-nativeMobile · OWASP MASVS | 2026-12-01 | MOBILE-MASVS / CWE-319 / cleartext-or-webview-bridge | allsec-mobile-cleartext-webviewPoC verified · 336e18c379e4 | Disable Android usesCleartextTraffic and iOS NSAllowsArbitraryLoads, pin WebView originWhitelist to explicit HTTPS origins, and set allowFileAccess={false}. Primary reference |
| CVE-2026-133323 (CISA KEV: OS Command Injection)web / api / infraWeb & API · CISA KEV | 2026-11-25 | CISA-KEV / CWE-78 / os-command-injection | allsec-cisa-kev-cmd-injectionPoC verified · 8ee892f80d7a | Never pass request input into shell=True or string-interpolated exec(); invoke subprocess.run / execFile with an explicit argv array, shell=False, and strict regex allowlisting. Primary reference |
| CVE-2026-133968 (CISA KEV: MONAI Label Path Traversal)web / api / python-nodejsWeb & API · CISA KEV | 2026-11-23 | CISA-KEV / CWE-24 / path-traversal-arbitrary-write | allsec-cisa-kev-path-traversalPoC verified · 7b26e18096fd | Canonicalize every user-derived file path with path.resolve() / Path.resolve() and assert containment inside the resolved datastore root before any read or write. Primary reference |
| CVE-2026-134624 / Email-DNS (MailAssure & SPF/DMARC Spoofing)email / dns / smtpEmail & DNS · CISA KEV | 2026-11-23 | EMAIL-DNS / CWE-290 / spoofable-mail-dns-policy | allsec-email-dns-spoof-policyPoC verified · ca99ba4bc716 | Enforce SPF hardfail (-all), DMARC rejection (p=reject; sp=reject), strict DKIM alignment, and verified TLS certificates on all SMTP relays. Primary reference |
| CVE-2026-130622 (AWS/Cloud IAM & IMDSv1 Credential Exposure)cloud / aws / gcp / azureCloud (AWS/GCP/Azure) · AWS Bulletin | 2026-11-17 | CLOUD-AWS / CWE-863 / imdsv1-and-wildcard-iam | allsec-cloud-imds-iam-wildcardPoC verified · 6c6bc336966d | Enforce EC2 IMDSv2 (http_tokens = required, hop_limit = 1), eliminate wildcard IAM Action/Resource policies, and block public bucket ACLs across AWS, GCP and Azure. Primary reference |
| Solana Missing Post-CPI Account::reload()solana / anchorSmart contracts · Sealevel | 2026-11-16 | SEALEVEL-POST-CPI-RELOAD | anchor-missing-post-cpi-reloadPoC verified · ed58f6ec46a7 | Call ctx.accounts.<account>.reload()?; immediately after any CPI (token::transfer, mint_to, burn, invoke_signed) before reading .amount, .supply, or other deserialized fields. Primary reference |
| Solana Unchecked remaining_accounts Substitutionsolana / anchorSmart contracts · Sealevel | 2026-11-16 | SEALEVEL-REMAINING-ACCOUNTS | anchor-unchecked-remaining-accountsPoC verified · 8cefd71903b0 | For every account read from ctx.remaining_accounts, explicitly verify acc.owner == &crate::ID (or expected program ID) AND match acc.key() against a canonical Pubkey::find_program_address PDA or stored allowlist. Primary reference |
| DEX Router Drain (DeFiHackLabs 2026-09)evm / bnb-chainSmart contracts · DeFiHackLabs | 2026-09-01 | unvalidated-callback / arbitrary-payer-drain | ir-unvalidated-calldata-callPoC verified · d63f2f539b36 | Verify callback msg.sender equals the canonical CREATE2 factory pool address and bind payer strictly to the active swap initiator instead of arbitrary callback bytes. Primary reference |
| Secured Finance (DeFiHackLabs 2026-09)evm / ethereumSmart contracts · DeFiHackLabs | 2026-09-01 | price-oracle / same-block-spot-manipulation | ir-spot-oracle-returnPoC verified · 748ccfb1b777 | Never value lending collateral from same-block order-book fill ratios; use multi-block TWAP or external oracle bounds with circuit breakers. Primary reference |
| Resupplyevm / ethereumSmart contracts · SlowMist | 2025-06-26 | erc4626-share-inflation / donation | ir-donation-sensitive-sharePoC verified · aa62b30cc6acSourcify a7acd9a01299 | Value vault shares from internal accountedAssets (or OpenZeppelin virtual shares/assets offsets) rather than raw asset.balanceOf(address(this)), and reject 0-share mints. Primary reference |
| Dexodus Financeevm / baseSmart contracts · SlowMist | 2025-05-26 | signature-replay / stale-oracle-report | ir-unchecked-verified-reportPoC verified · 4528e972b7a8Sourcify 592a068a4465 | Validate maximum age (block.timestamp - observedAt <= MAX_AGE) and strictly monotonic timestamps (observedAt > lastObservedAt) on every verified signed price report. Primary reference |
| Penpieevm / ethereumSmart contracts · SlowMist | 2024-09-03 | callback-reentrancy (SWC-107) | ir-reentrant-balance-windowPoC verified · e7f1a2d8e3b5Sourcify 6f7f5c0ebfbc | Enforce a shared nonReentrant guard across both reward-harvesting and principal deposit/withdraw entry points, and validate market registrations against canonical factories. Primary reference |
| UwU Lendevm / ethereumSmart contracts · rekt.news | 2024-06-10 | price-oracle / spot-manipulation (Immunefi-Oracle) | ir-spot-oracle-returnPoC verified · 94f93d1a7b4eSourcify d5d27578ceb6 | Replace spot pool price reads (get_p(), getReserves()) with manipulation-resistant EMA/TWAP or medianized Chainlink feeds bounded by freshness and deviation checks. Primary reference |
| Sonne Financeevm / optimismSmart contracts · rekt.news | 2024-05-14 | rounding / precision-loss (Immunefi-Rounding) | ir-floor-share-burnPoC verified · 9756337baf7cSourcify 493bbb45d9e2 | Round burned shares UP (ceilDiv(assets * totalSupply, cash)) on redeemUnderlying so withdrawals can never burn 0 shares for non-zero underlying assets. Primary reference |
| XBridgeevm / ethereumSmart contracts · rekt.news | 2024-04-24 | access-control / overwritable-authority (SWC-105) | ir-overwritable-authorityPoC verified · b2eaf17e76c0Sourcify b3a95436d9cb | Require tokenOwner[token] == address(0) before initial registration and restrict ownership changes strictly to the current verified owner. Primary reference |
| Sumer Moneyevm / baseSmart contracts · rekt.news | 2024-04-12 | read-only-reentrancy (SWC-107) | ir-readonly-accounting-windowPoC verified · a3945785c93fSourcify ab7e1b60c0b5 | Apply Checks-Effects-Interactions before native refund transfers and enforce a shared reentrancy lock readable by external view/exchange-rate consumers. Primary reference |
| Socketevm / ethereumSmart contracts · rekt.news | 2024-01-16 | cross-contract / arbitrary-calldata (SWC-104) | ir-unvalidated-calldata-callPoC verified · a016861a965aSourcify 71f18c892481 | Never forward arbitrary user-supplied bytes via low-level .call(data) from a contract holding ERC-20 allowances; construct explicit typed calls to allowlisted selectors. Primary reference |
Agentic offensive threat watch
Open-source multi-agent pentest frameworks such as ARTEX automate reconnaissance, knowledge-graph planning and tool chaining against web applications, cloud services and APIs at machine speed. Teams cannot rely on point-in-time contract audits while web backends, admin routes or sign-in endpoints remain exposed.
Atomic single-use nonces on SIWE/SIWS sign-in, strict domain and URI binding, own-property JWT key lookup and concurrency-safe login lockouts.
Limiters keyed on verified edge client IP rather than spoofable X-Forwarded-For headers, plus origin checks preventing direct-IP CDN bypass.
Cross-account object ownership checks on every API route and strict outbound URL allowlists blocking loopback and cloud metadata endpoints.
Unknown or externally distributed forks of offensive frameworks are quarantined and audited offline before any isolated lab study.
For owned vulnerable targets, WARDEN pairs static class detection with local Foundry proof-of-concept exploits executed on disposable chains with zero network access and zero mainnet interaction.
attacker overwrites the owner storage slot through an unguarded delegatecall
a non-owner seizes ownership via a mis-named init and drains the balance
attacker reenters withdraw before the balance is zeroed and drains the vault
unchecked subtraction underflows, minting a near-infinite balance to the attacker
Non-negotiable legal boundary
Written authorisation is what separates a security company from the attackers it defends against. Nightmare offensive tooling never runs against a live client system unless all six requirements below are signed and active; without them, every workflow defaults strictly to read-only auditing.
Countersigned master services agreement and written authorisation from an authorised officer of the asset owner.
Canonical list of in-scope domains, API origins, cloud accounts, git commits, Solana program IDs and EVM addresses, plus an explicit out-of-scope denylist.
Hard start and expiry timestamps enforced in code. Expired windows fail closed automatically with zero requests sent.
Minimum-evidence proof only. Permanent ban on denial-of-service, data destruction, live fund movement and third-party cloud lateral jumps.
Named emergency stop channel and immediate revocation hook that halts active testing inside seconds.
Every authorised command, target, timestamp and output digest recorded for full client and legal auditability.
Start with a read-only repository audit or arrange a countersigned Rules of Engagement walkthrough across your contracts, APIs, cloud and web surfaces.