Vulnerabilities in pkg:npm/@account-kit/smart-contracts
PACKAGEGHSA-56r6-ccm5-8hg3 is a HIGH alchemy non-sma and webauthn account vulnerability (CWE-287: Improper Authentication) affecting @account kit/smart contracts libraries in the npm ecosystem. The issue involves alchemy non-sma and webauthn account security advisory. Remediation is available by upgrading affected packages to version 4.52.0.
pkg:npm/@account-kit/smart-contracts
Vulnerability advisories affecting package pkg:npm/@account-kit/smart-contracts. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-56r6-ccm5-8hg3 | - | HIGH | Alchemy Non-SMA and Webauthn Account Security Advisory |
| GHSA-wfm2-rq5g-f8v5 | - | MODERATE | @account-kit/smart-contracts Allowlist Module Bypass Vulnerability |
GHSA-56r6-ccm5-8hg3 at a Glance
How to Fix GHSA-56r6-ccm5-8hg3
To remediate this vulnerability, upgrade all affected @account kit/smart contracts dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @account-kit/smart-contracts@4.52.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @account-kit/smart-contracts
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-56r6-ccm5-8hg3, inspect your project dependencies using npm:
npm ls @account-kit/smart-contracts
Analyze the terminal output to locate any version of @account kit/smart contracts in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.52.0), your application is affected.
Note: The npm ls @account-kit/smart-contracts command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In @account kit/smart contracts, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-56r6-ccm5-8hg3 Affected @account kit/smart contracts Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@account-kit/smart-contracts
|
npm |
≥ 4.42.0
< 4.52.0
|
4.52.0
|
References
Frequently Asked Questions
What is GHSA-56r6-ccm5-8hg3?
Which @account kit/smart contracts versions are affected?
What version fixes GHSA-56r6-ccm5-8hg3?
Is @account-kit/smart-contracts affected?
What CWE is associated with GHSA-56r6-ccm5-8hg3?
How can I check npm dependencies for GHSA-56r6-ccm5-8hg3?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-56r6-ccm5-8hg3",
"modified" : "2025-07-21T14:20:40Z",
"published" : "2025-07-21T14:20:40Z",
"aliases" : [ ],
"summary" : "Alchemy Non-SMA and Webauthn Account Security Advisory",
"details" : "### Impact\nA potential security issue has been mitigated on old account deployment functions from the factory. Smart wallets in use on all existing supported networks are not impacted.\n### Patches\nPlease direct creation of new wallets to either `createSemiModularAccount` on `AccountFactory.sol` or `createWebAuthnAccount` on `WebAuthnFactory.sol`.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@account-kit/smart-contracts"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.42.0"
}, {
"fixed" : "4.52.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 4.51.0"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/alchemyplatform/modular-account/security/advisories/GHSA-56r6-ccm5-8hg3"
}, {
"type" : "WEB",
"url" : "https://github.com/alchemyplatform/aa-sdk/commit/b343437a9e4a833c25fed7bc8785a815cbbae0ee"
}, {
"type" : "WEB",
"url" : "https://github.com/alchemyplatform/modular-account/commit/2352c9b692935ba97d98619cb31ba1653eee241f"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/alchemyplatform/modular-account"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-287" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-07-21T14:20:40Z",
"nvd_published_at" : null
}
}