Static Scan Results
scanned 8h ago · by rust-scannerStatic analysis flagged 9 finding(s) at 86.0% confidence. This version is warn-only unless an AI or security-team review confirms malicious behavior.
Static reason
High-risk behavior combination matched malicious policy.
Decision evidence
public snapshotBehavioral surface
ChildProcessCryptoEnvironmentVarsFilesystemShell
HighEntropyStringsUrlStrings
Source & flagged code
2 flagged · loading sourcedist/index.jsView file
1#!/usr/bin/env node
L2: import { LIMITS, DEFAULT_KIND_OFFSET, SolanaPaymentStrategy, makeCensor, DEFAULT_REDACT_PATHS, validateAgentName, exportKeyPairBytes, RELAYS, toDTag, JobWaitTimeoutError, attachmen...
L3: import { listAgents, createAgentDir, writeYamlInitial, writeExampleSkillTemplate, writeSecrets, resolveAgent, loadAgent, globalConfigPath, writeYaml, writeFileAtomic as writeFileAt...
...
L7: import { generateSecretKey, nip19, getPublicKey } from 'nostr-tools';
L8: import { execFile } from 'node:child_process';
L9: import { realpath, readFile, stat, mkdir, rm, writeFile, rename, unlink } from 'node:fs/promises';
...
L37: validateAgentName(name);
L38: const loaded = await loadAgent(name, process.cwd(), passphrase);
L39: const solPayment = loaded.yaml.payments.find((entry) => entry.chain === "solana");
...
L92: function rpcUrlFor(_network) {
L93: return "https://api.devnet.solana.com";
L94: }
Critical
Wallet Drain
Source uses private key material to transfer cryptocurrency funds.
dist/index.jsView on unpkg · L11Trigger-reachable chain: manifest.main -> dist/index.js
L1: #!/usr/bin/env node
L2: import { LIMITS, DEFAULT_KIND_OFFSET, SolanaPaymentStrategy, makeCensor, DEFAULT_REDACT_PATHS, validateAgentName, exportKeyPairBytes, RELAYS, toDTag, JobWaitTimeoutError, attachmen...
L3: import { listAgents, createAgentDir, writeYamlInitial, writeExampleSkillTemplate, writeSecrets, resolveAgent, loadAgent, globalConfigPath, writeYaml, writeFileAtomic as writeFileAt...
...
L7: import { generateSecretKey, nip19, getPublicKey } from 'nostr-tools';
L8: import { execFile } from 'node:child_process';
L9: import { realpath, readFile, stat, mkdir, rm, writeFile, rename, unlink } from 'node:fs/promises';
...
L37: validateAgentName(name);
L38: const loaded = await loadAgent(name, process.cwd(), passphrase);
L39: const solPayment = loaded.yaml.payments.find((entry) => entry.chain === "solana");
...
L92: function rpcUrlFor(_network) {
L93: return "https://api.devnet.solana.com";
L94: }
Critical
Trigger Reachable Dangerous Capability
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/index.jsView on unpkg · L1Findings
2 Critical2 Medium5 Low
CriticalWallet Draindist/index.js
CriticalTrigger Reachable Dangerous Capabilitydist/index.js
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowNon Install Lifecycle Scripts
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings