
Research
/Security News
Laravel Lang Compromised with RCE Backdoor Across 700+ Versions
Laravel Lang packages were compromised with an RCE backdoor across hundreds of versions, exposing cloud, CI/CD, and developer secrets.
@permaweb/loco
Advanced tools
Develop and troubleshoot AO processes locally by loading a wasm module and interacting with it via a simple JS API.
Develop and troubleshoot AO processes locally by loading a wasm module and interacting with it via a simple JS API.
--experimental-wasm-memory64 (or set NODE_OPTIONS)npm i @permaweb/loco
# or
yarn add @permaweb/loco
import { aoslocal, SQLITE } from '@permaweb/loco'
async function main() {
const aos = await aoslocal(SQLITE) // or omit for latest default
await aos.src('./test/example.lua') // bundles local Lua requires automatically
const evalRes = await aos.eval('Count = 1 + 1')
const { Output } = await aos.send({ Action: 'Eval', Data: 'Count' })
console.log(Output.data)
}
main()
Run with the memory flag (or export once):
NODE_OPTIONS="--experimental-wasm-memory64" node index.js
aoslocal(aosmodule = LATEST, env?) → Promise
aosmodule: use SQLITE, LLAMA, LATEST or an Arweave TX idenv: { Process, Module } defaults are provided for local devaos.src(srcFile, env?) → loads Lua source; packs require() graph into oneaos.eval(expr, env?) → AOS_Result for an Eval actionaos.send(message, env?) → AOS_Result; any extra fields become Tagsaos.load(processId) → loads latest checkpoint for a processaos.fromCheckpoint(txId) → loads a specific checkpointaos.fromState(txId) → downloads VM memory from https://cu.ao-testnet.xyz/state/${txId} and loads itaos.asOwner(processId) → derives default env from a live processaos.fromOwner(txOrPid) → resolves Process from a state TX (if given), sets envTypes
// AOS_Message
Record<string, string>
// AOS_Result
{
Output: { data: string },
Messages: Record<string, any>[],
Spawns: Record<string, any>[],
Assignments: Record<string, any>[]
}
<txId>.bin in CWDfromState fetches from the AO testnet state endpoint and also caches as <txId>.binnpm testnpm test -- test/index.test.jsnpm test -- --test-name-pattern="basic"License: MIT
FAQs
Develop and troubleshoot AO processes locally by loading a wasm module and interacting with it via a simple JS API.
We found that @permaweb/loco demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
Laravel Lang packages were compromised with an RCE backdoor across hundreds of versions, exposing cloud, CI/CD, and developer secrets.

Security News
Socket found a malicious postinstall hook across 700+ GitHub repos, including PHP packages on Packagist and Node.js project repositories.

Security News
Vibe coding at scale is reshaping how packages are created, contributed, and selected across the software supply chain