T09 · Insecure Skill Coding Practices
- Location
src/adapters/circle.ts:162- Finding
Circle API Failures Are Converted into Fabricated Successful Transfers
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
KarmaBank is a coherent USDC lending skill, but its financial and credential handling has serious review-worthy safety gaps before installation.
Review this skill before installing, especially in any environment with real Circle credentials or funds. Use only isolated testnet/sandbox credentials, avoid running npm install until the local file dependency is reviewed or scripts are disabled, do not paste secrets into shell commands, and do not rely on its loan ledger for real accounting until transfers fail closed and Moltbook identity ownership is verified.
src/adapters/circle.ts:162Circle API Failures Are Converted into Fabricated Successful Transfers
scripts/circle-entity-secret.ts:29Circle API Keys and Wallet Entity Secrets Are Exposed in Terminal Output
scripts/generate-circle-secret.ts:38Private Key Is Written Insecurely to a Predictable Shared Temporary File
src/cli/commands/register.ts:20Moltbook Reputation Can Be Registered and Used Without Proving Agent Ownership
package.json:39Unaudited Local Circle Dependency Executes an Installation Lifecycle Script
Dependency has known vulnerabilities (CVEs). Using packages with unpatched security flaws exposes the environment to known exploits.
The instruction echo "MOLTBOOK_API_KEY=your_key" >> .env encourages entering a secret directly into the shell command line, which may be captured in shell history, terminal logs, clipboard tools, or CI output. Although the secret ends up in .env, the immediate entry method is unsafe and can leak credentials beyond the intended file.
Solution:
# Add API key to .env
echo "MOLTBOOK_API_KEY=your_key" >> .env
# Re-run command
This line is part of the same unsafe shell-based API key insertion workflow and exposes the same risk of credential leakage through shell history or command auditing. In an agent-oriented environment, commands may also be logged by orchestration systems, magnifying exposure.
Solution:
# Add API key to .env
echo "MOLTBOOK_API_KEY=your_key" >> .env
# Re-run command
karmabank check youragentname
The skill presents itself as a karma-based USDC lending product, but the findings indicate materially different behaviors including credential handling, Circle wallet bootstrap/configuration, secret generation, and other undeclared infrastructure actions. This mismatch is dangerous because users may provide high-value API credentials under a false mental model, enabling sensitive wallet or payment operations they did not knowingly authorize.
The skill presents itself as a karma-based USDC lending product, but the findings indicate materially different behaviors including credential handling, Circle wallet bootstrap/configuration, secret generation, and other undeclared infrastructure actions. This mismatch is dangerous because users may provide high-value API credentials under a false mental model, enabling sensitive wallet or payment operations they did not knowingly authorize.
The skill presents itself as a karma-based USDC lending product, but the findings indicate materially different behaviors including credential handling, Circle wallet bootstrap/configuration, secret generation, and other undeclared infrastructure actions. This mismatch is dangerous because users may provide high-value API credentials under a false mental model, enabling sensitive wallet or payment operations they did not knowingly authorize.
The skill presents itself as a karma-based USDC lending product, but the findings indicate materially different behaviors including credential handling, Circle wallet bootstrap/configuration, secret generation, and other undeclared infrastructure actions. This mismatch is dangerous because users may provide high-value API credentials under a false mental model, enabling sensitive wallet or payment operations they did not knowingly authorize.
The skill presents itself as a karma-based USDC lending product, but the findings indicate materially different behaviors including credential handling, Circle wallet bootstrap/configuration, secret generation, and other undeclared infrastructure actions. This mismatch is dangerous because users may provide high-value API credentials under a false mental model, enabling sensitive wallet or payment operations they did not knowingly authorize.
The skill presents itself as a karma-based USDC lending product, but the findings indicate materially different behaviors including credential handling, Circle wallet bootstrap/configuration, secret generation, and other undeclared infrastructure actions. This mismatch is dangerous because users may provide high-value API credentials under a false mental model, enabling sensitive wallet or payment operations they did not knowingly authorize.
The skill presents itself as a karma-based USDC lending product, but the findings indicate materially different behaviors including credential handling, Circle wallet bootstrap/configuration, secret generation, and other undeclared infrastructure actions. This mismatch is dangerous because users may provide high-value API credentials under a false mental model, enabling sensitive wallet or payment operations they did not knowingly authorize.
The skill presents itself as a karma-based USDC lending product, but the findings indicate materially different behaviors including credential handling, Circle wallet bootstrap/configuration, secret generation, and other undeclared infrastructure actions. This mismatch is dangerous because users may provide high-value API credentials under a false mental model, enabling sensitive wallet or payment operations they did not knowingly authorize.
The skill presents itself as a karma-based USDC lending product, but the findings indicate materially different behaviors including credential handling, Circle wallet bootstrap/configuration, secret generation, and other undeclared infrastructure actions. This mismatch is dangerous because users may provide high-value API credentials under a false mental model, enabling sensitive wallet or payment operations they did not knowingly authorize.
The skill presents itself as a karma-based USDC lending product, but the findings indicate materially different behaviors including credential handling, Circle wallet bootstrap/configuration, secret generation, and other undeclared infrastructure actions. This mismatch is dangerous because users may provide high-value API credentials under a false mental model, enabling sensitive wallet or payment operations they did not knowingly authorize.
The skill presents itself as a karma-based USDC lending product, but the findings indicate materially different behaviors including credential handling, Circle wallet bootstrap/configuration, secret generation, and other undeclared infrastructure actions. This mismatch is dangerous because users may provide high-value API credentials under a false mental model, enabling sensitive wallet or payment operations they did not knowingly authorize.
The skill presents itself as a karma-based USDC lending product, but the findings indicate materially different behaviors including credential handling, Circle wallet bootstrap/configuration, secret generation, and other undeclared infrastructure actions. This mismatch is dangerous because users may provide high-value API credentials under a false mental model, enabling sensitive wallet or payment operations they did not knowingly authorize.
The skill presents itself as a karma-based USDC lending product, but the findings indicate materially different behaviors including credential handling, Circle wallet bootstrap/configuration, secret generation, and other undeclared infrastructure actions. This mismatch is dangerous because users may provide high-value API credentials under a false mental model, enabling sensitive wallet or payment operations they did not knowingly authorize.
The skill presents itself as a karma-based USDC lending product, but the findings indicate materially different behaviors including credential handling, Circle wallet bootstrap/configuration, secret generation, and other undeclared infrastructure actions. This mismatch is dangerous because users may provide high-value API credentials under a false mental model, enabling sensitive wallet or payment operations they did not knowingly authorize.
The skill presents itself as a karma-based USDC lending product, but the findings indicate materially different behaviors including credential handling, Circle wallet bootstrap/configuration, secret generation, and other undeclared infrastructure actions. This mismatch is dangerous because users may provide high-value API credentials under a false mental model, enabling sensitive wallet or payment operations they did not knowingly authorize.
The skill presents itself as a karma-based USDC lending product, but the findings indicate materially different behaviors including credential handling, Circle wallet bootstrap/configuration, secret generation, and other undeclared infrastructure actions. This mismatch is dangerous because users may provide high-value API credentials under a false mental model, enabling sensitive wallet or payment operations they did not knowingly authorize.
The skill presents itself as a karma-based USDC lending product, but the findings indicate materially different behaviors including credential handling, Circle wallet bootstrap/configuration, secret generation, and other undeclared infrastructure actions. This mismatch is dangerous because users may provide high-value API credentials under a false mental model, enabling sensitive wallet or payment operations they did not knowingly authorize.
The skill presents itself as a karma-based USDC lending product, but the findings indicate materially different behaviors including credential handling, Circle wallet bootstrap/configuration, secret generation, and other undeclared infrastructure actions. This mismatch is dangerous because users may provide high-value API credentials under a false mental model, enabling sensitive wallet or payment operations they did not knowingly authorize.
The skill presents itself as a karma-based USDC lending product, but the findings indicate materially different behaviors including credential handling, Circle wallet bootstrap/configuration, secret generation, and other undeclared infrastructure actions. This mismatch is dangerous because users may provide high-value API credentials under a false mental model, enabling sensitive wallet or payment operations they did not knowingly authorize.
The skill presents itself as a karma-based USDC lending product, but the findings indicate materially different behaviors including credential handling, Circle wallet bootstrap/configuration, secret generation, and other undeclared infrastructure actions. This mismatch is dangerous because users may provide high-value API credentials under a false mental model, enabling sensitive wallet or payment operations they did not knowingly authorize.
The skill presents itself as a karma-based USDC lending product, but the findings indicate materially different behaviors including credential handling, Circle wallet bootstrap/configuration, secret generation, and other undeclared infrastructure actions. This mismatch is dangerous because users may provide high-value API credentials under a false mental model, enabling sensitive wallet or payment operations they did not knowingly authorize.
The skill presents itself as a karma-based USDC lending product, but the findings indicate materially different behaviors including credential handling, Circle wallet bootstrap/configuration, secret generation, and other undeclared infrastructure actions. This mismatch is dangerous because users may provide high-value API credentials under a false mental model, enabling sensitive wallet or payment operations they did not knowingly authorize.
Detected: suspicious.env_credential_access, suspicious.exposed_secret_literal