registry  /  @asterworks/agent-audit  /  0.2.0

@asterworks/agent-audit@0.2.0

Local-first audit and security observability for AI coding agents (Claude Code + Codex) — records what agents did, detects risky behavior, keeps everything on your machine.

Static Scan Results

scanned 2h ago · by rust-scanner

Static analysis flagged 14 finding(s) at 72.0% confidence. This version is warn-only unless an AI or security-team review confirms malicious behavior.

Static reason
One or more suspicious static signals were detected.

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessCryptoEnvironmentVarsFilesystemNetworkShell
Supply chain
HighEntropyStringsMinifiedProtestwareTelemetryUrlStrings
ManifestNo manifest risk signals triggered.
scanned 4 file(s), 994 KB of source, external domains: 21st.dev, api.example.com, api.slack.com, console.anthropic.com, console.aws.amazon.com, console.cloud.google.com, console.neon.tech, dashboard.stripe.com, fb.me, github.com, higgsfield.ai, platform.openai.com, reactjs.org, supabase.com, www.apple.com, www.w3.org

Source & flagged code

4 flagged · loading source
dist-cli/index.jsView file
1121patternName = private_key_rsa severity = critical line = 1121 matchedText = if (kind...d]";
Critical
Critical Secret

Package contains a critical-looking secret pattern.

dist-cli/index.jsView on unpkg · L1121
1121patternName = private_key_rsa severity = critical line = 1121 matchedText = if (kind...d]";
Critical
Secret Pattern

RSA private key in dist-cli/index.js

dist-cli/index.jsView on unpkg · L1121
32Manifest entrypoint (manifest.bin) carries capability families absent from dist/build output: environment+network, sensitive-file+network, execution+network L32: LEGACY_FORWARD_MARKER_FILE = "MIGRATED.json"; L33: REPO_URL = "https://github.com/Aster-Works/aster-agent-console"; L34: } ... L130: import { homedir } from "os"; L131: function resolveConfigDir(home = homedir()) { L132: const next = join(home, DATA_DIR_NAME); ... L436: fingerprint: String(r.fingerprint), L437: definition: JSON.parse(String(r.definition_json)), L438: firstSeen: String(r.first_seen), ... L469: if (row.type === "test_result") { L470: if (typeof m.exitCode === "number" && m.exitCode !== 0) testsFailed += 1; L471: else testsPassed += 1;
High
Entrypoint Build Divergence

Manifest entrypoint contains risky behavior absent from dist/build output.

dist-cli/index.jsView on unpkg · L32
32LEGACY_FORWARD_MARKER_FILE = "MIGRATED.json"; L33: REPO_URL = "https://github.com/Aster-Works/aster-agent-console"; L34: } ... L130: import { homedir } from "os"; L131: function resolveConfigDir(home = homedir()) { L132: const next = join(home, DATA_DIR_NAME); ... L436: fingerprint: String(r.fingerprint), L437: definition: JSON.parse(String(r.definition_json)), L438: firstSeen: String(r.first_seen), ... L469: if (row.type === "test_result") { L470: if (typeof m.exitCode === "number" && m.exitCode !== 0) testsFailed += 1; L471: else testsPassed += 1;
Medium
Install Persistence

Source writes installer persistence such as shell profile or service configuration.

dist-cli/index.jsView on unpkg · L32

Findings

2 Critical1 High5 Medium6 Low
CriticalCritical Secretdist-cli/index.js
CriticalSecret Patterndist-cli/index.js
HighEntrypoint Build Divergencedist-cli/index.js
MediumNetwork
MediumEnvironment Vars
MediumInstall Persistencedist-cli/index.js
MediumProtestware
MediumStructural Risk Force Deep Review
LowNon Install Lifecycle Scripts
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowTelemetry
LowUrl Strings