Skills/npm/aftermath

aftermath@0.7.0

CAUTION· install only

Publisher claims: "Post-failure recovery skill for AI coding agents: stop, revert cheap damage, return to last-known-good. Project-aware destructive guards, forward-edit freeze, checkpoints, and host parity for OpenCode, Claude Code, and Codex." Observed in sandbox: calls github.com only, touches nothing outside the project, writes no memory.

Registry npm (MCP server)Publisher after.math · publishing for 11 daysInstalls 625Last detonated 49 min ago

Coverage

Bundled scripts ran with no arguments; no agent task scenario for this bundle.
Tested
install scripts, with decoy credentials in place · second launch with the clock 45 days ahead · 8 of 19 bundled scripts run with no arguments (the rest were not run: per-bundle cap), with decoy credentials in the environment · every file read, file written and host contacted by what ran
Not tested
use of the skill by an agent

What changed since 0.5.3

vet-skills diff aftermath 0.5.3 0.7.0

This version reaches for something 0.5.3 did not: 1 new install script (node scripts/postinstall.js). Compared from the two recorded runs, not from source.

New install scripts
node scripts/postinstall.js

The guard can hold an update like this until someone approves it (runtime.on_change: hold). A change that only shows with a real credential, or on a path the run did not reach, is not in a trace and so not in this comparison.

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (3 scenarios; bundled scripts ran with no arguments; no agent task scenario for this bundle) on 2026-11-18 and scored it 52/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Access to sensitive file paths; Direct script execution from GitHub raw URL; Destructive command against a filesystem root or device. Summary: calls github.com only, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 4 s · 3 scenarios
t+CategoryObserved action
0.0sprocessinstall script run in the sandbox
0.1sfilesystemread ~/.config/opencode/opencode.json outside project
0.1sfilesystemwrote ~/.config/opencode/opencode.json · ~/.config/aftermath/runtime/.opencode/plugins/aftermath-frontmatter.cjs · ~/.config/aftermath/runtime/.opencode/plugins/aftermath.mjs · ~/.config/aftermath/runtime/.opencode/commands/aftermath-audit.md · ~/.config/aftermath/runtime/.opencode/commands/aftermath-checkpoint.md · ~/.config/aftermath/runtime/.opencode/commands/aftermath-init.md
0.1sprocessexec /app/apps/web/node_modules/.bin/git
0.1sprocessexec /root/.cache/node/corepack/v1/pnpm/10.28.0/dist/node-gyp-bin/git
0.1sprocessexec /app/node_modules/.bin/git
0.1sprocessexec /pnpm/git
0.1sprocessexec /usr/local/sbin/git
0.1sprocessexec /usr/local/bin/git
0.1sprocessexec /usr/sbin/git
0.1sprocessexec /usr/bin/git
0.1sprocessexec /app/apps/web/node_modules/.bin/claude
0.1sprocessexec /root/.cache/node/corepack/v1/pnpm/10.28.0/dist/node-gyp-bin/claude
0.1sprocessexec /app/node_modules/.bin/claude
0.1sprocessexec /pnpm/claude
0.1sprocessexec /usr/local/sbin/claude
0.1sprocessexec /usr/local/bin/claude
0.1sprocessexec /usr/sbin/claude
0.1sprocessexec /usr/bin/claude
0.1sprocessexec /sbin/claude
0.1sprocessexec /bin/claude
0.1sprocessexec /app/apps/web/node_modules/.bin/codex
0.1sprocessexec /root/.cache/node/corepack/v1/pnpm/10.28.0/dist/node-gyp-bin/codex
0.1sprocessexec /app/node_modules/.bin/codex
0.1sprocessexec /pnpm/codex
0.1sprocessexec /usr/local/sbin/codex
0.1sprocessexec /usr/local/bin/codex
0.1sprocessexec /usr/sbin/codex
0.1sprocessexec /usr/bin/codex
0.1sprocessexec /sbin/codex
0.1sprocessexec /bin/codex
0.1sprocessinstall script run in the sandbox
1.0sfilesystemread ~/.config/aftermath/repo/.git/config · ~/.config/aftermath/repo/.git/packed-refs · ~/.config/aftermath/repo/.git/HEAD · ~/.config/aftermath/repo/.git/refs/ · ~/.config/aftermath/repo/.git/info/grafts · ~/.config/aftermath/repo/.git/shallow outside project
1.0sfilesystemwrote ~/.config/aftermath/repo/.git/info/exclude · ~/.config/aftermath/repo/.git/hooks/pre-rebase.sample · ~/.config/aftermath/repo/.git/hooks/push-to-checkout.sample · ~/.config/aftermath/repo/.git/hooks/fsmonitor-watchman.sample · ~/.config/aftermath/repo/.git/hooks/pre-applypatch.sample · ~/.config/aftermath/repo/.git/hooks/update.sample
1.0snetworkCONNECT tcp://github.com:443
1.0sprocessexec /usr/bin/dirname
1.0sprocessexec /usr/bin/mkdir
1.0sprocessexec /usr/bin/git
1.0sprocessexec /usr/lib/git-core/git
1.0sprocessexec /usr/lib/git-core/git-remote-https
1.0sprocessexec /app/apps/web/node_modules/.bin/git
1.0sprocessexec /root/.cache/node/corepack/v1/pnpm/10.28.0/dist/node-gyp-bin/git
1.0sprocessexec /app/node_modules/.bin/git
1.0sprocessexec /pnpm/git
1.0sprocessexec /usr/local/sbin/git
1.0sprocessexec /usr/local/bin/git
1.0sprocessexec /usr/sbin/git
1.0sprocessexec /app/apps/web/node_modules/.bin/claude
1.0sprocessexec /root/.cache/node/corepack/v1/pnpm/10.28.0/dist/node-gyp-bin/claude
1.0sprocessexec /app/node_modules/.bin/claude
1.0sprocessexec /pnpm/claude
1.0sprocessexec /usr/local/sbin/claude
1.0sprocessexec /usr/local/bin/claude
1.0sprocessexec /usr/sbin/claude
1.0sprocessexec /usr/bin/claude
1.0sprocessexec /sbin/claude
1.0sprocessexec /bin/claude
1.0sprocessexec /app/apps/web/node_modules/.bin/codex
1.0sprocessexec /root/.cache/node/corepack/v1/pnpm/10.28.0/dist/node-gyp-bin/codex
1.0sprocessexec /app/node_modules/.bin/codex
1.0sprocessexec /pnpm/codex
1.0sprocessexec /usr/local/sbin/codex
1.0sprocessexec /usr/local/bin/codex
1.0sprocessexec /usr/sbin/codex
1.0sprocessexec /usr/bin/codex
1.0sprocessexec /sbin/codex
1.0sprocessexec /bin/codex
1.0sprocessinstall script run in the sandbox
1.1snetworkCONNECT tcp://github.com:443
1.1sprocessexited 1: Node.js v22.23.5
1.1sprocessbundled script run in the sandbox with no arguments
1.2sprocessbundled script run in the sandbox with no arguments
1.3sprocessbundled script run in the sandbox with no arguments
1.4sprocessbundled script run in the sandbox with no arguments
1.5sprocessbundled script run in the sandbox with no arguments
1.6sprocessexited 1: aftermath: pillow is required (pip install pillow)
1.6sprocessbundled script run in the sandbox with no arguments
1.7sprocessexited 1: Node.js v22.23.5
1.7sprocessbundled script run in the sandbox with no arguments
1.8sprocessexited 1: Node.js v22.23.5
1.8sprocessbundled script run in the sandbox with no arguments · not named in the instructions
1.9sprocess8 of 19 bundled scripts run with no arguments (the rest were not run: per-bundle cap)
1.9sprocessscript backend runs setup only
1.9sprocessscript backend runs setup only
2.7sprocesssecond launch, clock +45 days, CI unset
2.8sfilesystemread ~/.config/opencode/opencode.json · ~/.config/aftermath/runtime/.opencode/plugins/aftermath-frontmatter.cjs · ~/.config/aftermath/runtime/.opencode/plugins/aftermath.mjs · ~/.config/aftermath/runtime/.opencode/commands/aftermath-audit.md · ~/.config/aftermath/runtime/.opencode/commands/aftermath-checkpoint.md · ~/.config/aftermath/runtime/.opencode/commands/aftermath-init.md outside project
2.8sprocessexec /app/apps/web/node_modules/.bin/git
2.8sprocessexec /root/.cache/node/corepack/v1/pnpm/10.28.0/dist/node-gyp-bin/git
2.8sprocessexec /app/node_modules/.bin/git
2.8sprocessexec /pnpm/git
2.8sprocessexec /usr/local/sbin/git
2.8sprocessexec /usr/local/bin/git
2.8sprocessexec /usr/sbin/git
2.8sprocessexec /usr/bin/git
2.8sprocessexec /app/apps/web/node_modules/.bin/claude
2.8sprocessexec /root/.cache/node/corepack/v1/pnpm/10.28.0/dist/node-gyp-bin/claude
2.8sprocessexec /app/node_modules/.bin/claude
2.8sprocessexec /pnpm/claude
2.8sprocessexec /usr/local/sbin/claude
2.8sprocessexec /usr/local/bin/claude
2.8sprocessexec /usr/sbin/claude
2.8sprocessexec /usr/bin/claude
2.8sprocessexec /sbin/claude
2.8sprocessexec /bin/claude
2.8sprocessexec /app/apps/web/node_modules/.bin/codex
2.8sprocessexec /root/.cache/node/corepack/v1/pnpm/10.28.0/dist/node-gyp-bin/codex
2.8sprocessexec /app/node_modules/.bin/codex
2.8sprocessexec /pnpm/codex
2.8sprocessexec /usr/local/sbin/codex
2.8sprocessexec /usr/local/bin/codex
2.8sprocessexec /usr/sbin/codex
2.8sprocessexec /usr/bin/codex
2.8sprocessexec /sbin/codex
2.8sprocessexec /bin/codex
4.0sfilesystemread ~/.config/aftermath/repo/.git/HEAD · ~/.config/aftermath/repo/scripts/package.json · ~/.config/aftermath/repo/package.json · ~/.config/aftermath/repo/scripts/install.js · ~/.config/opencode/opencode.json · ~/.config/aftermath/repo/.opencode/plugins outside project
4.0sfilesystemwrote ~/.config/aftermath/repo/.git/objects/maintenance.lock · ~/.config/aftermath/repo/.git/index.lock · ~/.config/aftermath/repo/.git/HEAD.lock · ~/.config/aftermath/repo/.git/ORIG_HEAD.lock
4.0snetworkCONNECT tcp://github.com:443
4.0snetworkCONNECT tcp://github.com:443
4.0sprocessexec /usr/bin/git
4.0sprocessexec /usr/lib/git-core/git
4.0sprocessexec /usr/lib/git-core/git-remote-https
4.0sprocessexec /app/apps/web/node_modules/.bin/git
4.0sprocessexec /root/.cache/node/corepack/v1/pnpm/10.28.0/dist/node-gyp-bin/git
4.0sprocessexec /app/node_modules/.bin/git
4.0sprocessexec /pnpm/git
4.0sprocessexec /usr/local/sbin/git
4.0sprocessexec /usr/local/bin/git
4.0sprocessexec /usr/sbin/git
4.0sprocessexec /app/apps/web/node_modules/.bin/claude
4.0sprocessexec /root/.cache/node/corepack/v1/pnpm/10.28.0/dist/node-gyp-bin/claude
4.0sprocessexec /app/node_modules/.bin/claude
4.0sprocessexec /pnpm/claude
4.0sprocessexec /usr/local/sbin/claude
4.0sprocessexec /usr/local/bin/claude
4.0sprocessexec /usr/sbin/claude
4.0sprocessexec /usr/bin/claude
4.0sprocessexec /sbin/claude
4.0sprocessexec /bin/claude
4.0sprocessexec /app/apps/web/node_modules/.bin/codex
4.0sprocessexec /root/.cache/node/corepack/v1/pnpm/10.28.0/dist/node-gyp-bin/codex
4.0sprocessexec /app/node_modules/.bin/codex
4.0sprocessexec /pnpm/codex
4.0sprocessexec /usr/local/sbin/codex
4.0sprocessexec /usr/local/bin/codex
4.0sprocessexec /usr/sbin/codex
4.0sprocessexec /usr/bin/codex
4.0sprocessexec /sbin/codex
4.0sprocessexec /bin/codex
4.1snetworkCONNECT tcp://github.com:443
4.1snetworkCONNECT tcp://github.com:443
4.1sprocessexited 1: Node.js v22.23.5

Static findings

MEDIUM
npx invocation of non-well-known package.opencode/commands/aftermath-init.md:16 · npx invocation of non-well-known package — may execute untrusted codenpx @after.math/aftermath init $ARGUMENTS --jsonFix: Pin versions and sources; vendor anything fetched at install time.
AST06
HIGH
Access to sensitive file pathsscripts/init.js:58 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesconst ALWAYS_PROTECTED = ['.git', '.env*', 'secrets*', '*.pem', '*.key'];Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
npx invocation of non-well-known packagecommands/aftermath-init.md:16 · npx invocation of non-well-known package — may execute untrusted codenpx @after.math/aftermath init $ARGUMENTS --jsonFix: Pin versions and sources; vendor anything fetched at install time.
AST06
HIGH
Direct script execution from GitHub raw URLscripts/install.sh:41 · Direct script execution from GitHub raw URL — unverified code sourcecurl -fsSL https://raw.githubusercontent.com/moah0911/aftermath/main/scripts/install.sh \Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
npx invocation of non-well-known packageskills/test-regression/SKILL.md:33 · npx invocation of non-well-known package — may execute untrusted code| Mocha | `1 failing` | `npx mocha tests/auth.spec.js --grep login` |Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
CRITICAL
Destructive command against a filesystem root or devicehooks/aftermath-signals.cjs:19 · Destructive command against a filesystem root or device/\brm\s+[^|&;]*-[a-zA-Z]*r[a-zA-Z]*f/i, // rm -rf / rm -RfFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Collapsed <details> block carrying instructionsREADME.md:176 · Collapsed <details> block carrying instructions<summary>Checkout / manual, curl bootstrapper, skills-only</summary> **Checkout / manual:** ```bash git clone https://github.com/moah0911/aftermath node aftermaFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
MEDIUM
npx invocation of non-well-known packageskills/test-regression/SKILL.md:29 · npx invocation of non-well-known package — may execute untrusted code| Jest / Vitest | `✕`, `1 failed`, `FAIL` | `npx jest auth.spec -t "login"` |Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
Python subprocess execution detectedscripts/make-logo.py:61 · Python subprocess execution detectedout = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Destructive file system command detectedhooks/aftermath-signals.cjs:20 · Destructive file system command detected/\brm\s+[^|&;]*-[a-zA-Z]*f[a-zA-Z]*r/i, // rm -frFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Destructive file system command detectedhooks/aftermath-signals.cjs:19 · Destructive file system command detected/\brm\s+[^|&;]*-[a-zA-Z]*r[a-zA-Z]*f/i, // rm -rf / rm -RfFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Direct script execution from GitHub raw URLscripts/install.sh:4 · Direct script execution from GitHub raw URL — unverified code source# curl -fsSL https://raw.githubusercontent.com/moah0911/aftermath/main/scripts/install.sh \Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
File permission modification commandskills/destructive-action/SKILL.md:33 · File permission modification command — agent changes file ownership/permissions| Permissions | `chmod -R 777` | Narrow the mode and the path |Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
HIGH
Destructive file system command detectedhooks/aftermath-signals.cjs:21 · Destructive file system command detected/\brm\s+-[a-zA-Z]*r\b/i, // rm -rFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05

Cost to the agent

Instructions loaded
≈6,613 tok
10 files · 55 in bundle

Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.

Known vulnerabilities

No advisories in OSV for @after.math/aftermath@0.7.0 as of 13 min ago. This is the package itself, not its dependencies.

What would make this Verified

28 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%
  1. Reads credential files≈ +27 on the totalThe sandbox saw reads under ~/.ssh, ~/.aws, ~/.npmrc, ~/.config or similar. Read only files inside the project, and only the ones the task needs. Seen: ~/.config/opencode/opencode.json, ~/.config/aftermath/repo/.git/config, ~/.config/aftermath/repo/.git/packed-refs.
  2. Destructive command against a filesystem root or device≈ +9 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  3. Unclaimed publisher≈ +8 on the totalClaim after.math: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
  4. Touches files outside the project≈ +7 on the totalKeep reads and writes inside the working directory, or declare the exact paths in `filesystem:` and explain why in the README.
  5. Hidden instructions≈ +6 on the totalRemove HTML comments, zero-width characters and white-on-white text that carry instructions. Everything the agent is meant to read should be visible to the person reading the file.
  6. Access to sensitive file paths≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
Publish a new version to npm, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim after.mathPropose a patch to the maintainer