akm-opencode
OpenCode plugin for AKM with discovery tools, feedback, memory, and automatic learning proposals from corrections and recurring workflows.
This report shows the evidence for akm-opencode@0.10.261017. 1 of 30 known versions is blocked or flagged. The newest version, 0.10.261020, is allowed. See all versions.
AI Security Review
scanned 6d ago · by lpm-firewall-aiBy default, session-idle hooks send session-derived prompts through the user’s configured OpenCode model runner, potentially spending their provider tokens without a per-run request. The feature is disclosed and can be disabled, but an opt-out default does not satisfy the automatic-spending rule.
Decision evidence
public snapshot- Automatic memory extraction is enabled unless `AKM_AUTO_MEMORY=0`; the plugin triggers it on `session.idle`.
- The extraction command reads session events, builds a prompt, and invokes session extraction to queue proposals.
- AKM’s OpenCode model runner calls `opencode run` using the user’s OpenCode configuration and login, so extraction can consume the configured provider’s tokens.
- The README says idle events fire after every turn and describes the extraction opt-out.
- The feature is part of the package’s stated automatic learning and memory workflow.
- The README documents the behavior and provides an opt-out.
- The package manifest has no install lifecycle hook; its scripts are for building and typechecking.
Source & flagged code
7 flaggedAutomatic memory extraction is enabled unless `AKM_AUTO_MEMORY=0`; the plugin triggers it on `session.idle`.
dist/index.jsView on unpkg · L464Automatic memory extraction is enabled unless `AKM_AUTO_MEMORY=0`; the plugin triggers it on `session.idle`.
dist/index.jsView on unpkg · L3521Package source references dynamic require/import behavior.
dist/index.jsView on unpkg · L29Findings
Affected versions and remediation
This report applies to akm-opencode@0.10.261017.
The versions list below shows the verdict for each recorded version.
- Avoid installing akm-opencode@0.10.261017. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.