Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

Update security audit notes and agent-wallet smoke script

nirholasd8fd334b7d48
diff --git a/docs/security/SECURITY_AUDIT.md b/docs/security/SECURITY_AUDIT.md
index 66cf11a7a..664451965 100644
--- a/docs/security/SECURITY_AUDIT.md
+++ b/docs/security/SECURITY_AUDIT.md
@@ -50,10 +50,15 @@ dependency hardening**.
- No-fix transitive cluster: `undici`, `bigint-buffer`, `@solana/spl-token`,
`@solana/buffer-layout-utils` — track upstream.
-**Remediation:** apply the non-breaking `npm audit fix` set now; schedule the
-`@metaplex-foundation/[email protected]` breaking bump to clear the axios/form-data/aptos
-chain; track the no-fix Solana cluster. **Status: in progress (non-breaking set),
-tracked (breaking bump).**
+**Remediation:** `npm audit fix --omit=dev` clears ~16 advisories (175 → 159) via
+semver-compatible bumps, but in this monorepo it also reformats ~57k lines of
+`package-lock.json` (npm version skew) — an unreviewable diff that conflicts with
+concurrent work. So dependency bumps are deliberately **isolated to their own PR**:
+run `npm audit fix --omit=dev` on a clean branch, review, and land separately.
+The `@metaplex-foundation/[email protected]` breaking bump (clears axios/form-data/aptos)
+and the no-fix Solana cluster (`undici`, `bigint-buffer`, `@solana/spl-token`)
+are tracked upstream. **Status: tracked (isolated dependency PR) — command
+verified to reduce counts; not bundled into this security changeset.**
---
diff --git a/scripts/agent-wallet-smoke.mjs b/scripts/agent-wallet-smoke.mjs
index 851501764..841645bda 100644
--- a/scripts/agent-wallet-smoke.mjs
+++ b/scripts/agent-wallet-smoke.mjs
@@ -400,14 +400,17 @@ async function stepTrade() {
async function stepSnipe() {
// The autonomous engine must be present + importable (the worker the strategy
// row drives). A broken import is a real FAIL.
- let scorerOk = false;
try {
const scorer = await import('../workers/agent-sniper/scorer.js');
- scorerOk = typeof scorer.scoreCandidate === 'function' || Object.keys(scorer).length > 0;
+ // The candidate scorers the worker runs on every feed event — a strategy
+ // that can't be scored can't fire, so a missing scorer is a real FAIL.
+ if (typeof scorer.scoreMint !== 'function' || typeof scorer.scoreIntel !== 'function') {
+ return fail('agent-sniper scorer is missing scoreMint/scoreIntel — strategies could not be evaluated');
+ }
} catch (e) {
return fail(`agent-sniper scorer failed to import: ${(e.message || e).slice(0, 120)}`);
}
- note(`agent-sniper engine present (scorer importable=${scorerOk})`);
+ note('agent-sniper engine present (scoreMint + scoreIntel importable)');
if (!ctx.agentId) {
return blocked(