Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@staratlas/anchor
Advanced tools
TypeScript client for Anchor programs.
@staratlas/anchor
depends on node.js native modules. Therefore, webpack 5 will not work with current version. You will either need to rollback to webpack 4, or use a polyfill for each missing dependency.[0.25.0] - 2022-07-05
realloc
, realloc::payer
, and realloc::zero
as a new constraint group for program accounts (#1986).PartialEq
and Eq
for anchor_lang::Error
(#1544).--skip-build
to anchor publish
(#1786).--program-keypair
to anchor deploy
(#1786).build
now adds docs to idl. This can be turned off with --no-docs
(#1561).b
and t
aliases for build
and test
respectively (#1823).TokenAccount
to Mint
(#1818).sync_native
token program CPI wrapper function (#1833).anchor run
(#1914).program.coder.types
for encoding/decoding user-defined types (#1931).ANCHOR_WALLET
variable when using NodeWallet.local()
(#1958).MethodsBuilder#accountsStrict
for strict typing on ix account input (#2019).overflow-checks
into workspace Cargo.toml
so that it will not be ignored by compiler (#1806).init
or zero
(#1800).BROWSER
env variable to ANCHOR_BROWSER
(#1233).EventCallback
parameters (#1851).EventParser#parseLogs
implementation to be a generator instead of callback function (#2018).&mut reallocs: BTreeSet<Pubkey>
argument to Accounts::try_accounts
(#1986).FAQs
Anchor client
The npm package @staratlas/anchor receives a total of 251 weekly downloads. As such, @staratlas/anchor popularity was classified as not popular.
We found that @staratlas/anchor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 21 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.