T08 · Insecure Dependencies
- Location
package.json:12- Finding
Declared vendored dependency is absent from the distributed project
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill’s mail and DNS automation purpose is disclosed, but it would use high-value credentials with a missing unaudited vendored CLI and broader-than-necessary environment forwarding.
Install only after the exact vendored caduceusmail tarball is included and audited against the manifest. Use a dedicated least-privilege Entra service principal and Cloudflare DNS token, and avoid placing unrelated secrets in OPENCLAW_*, CADUCEUSMAIL_*, or EMAIL_ALIAS_FABRIC_* environment variables.
package.json:12Declared vendored dependency is absent from the distributed project
scripts/ensure-caduceusmail.sh:77Cached executable is trusted without validating its installed contents
scripts/run.sh:39Wildcard environment forwarding exposes variables beyond the documented minimum
The description emphasizes communications automation, but the skill also installs/extracts a vendored toolchain, verifies release artifacts, and manages local runtime state. This mismatch can mislead reviewers and users about the true execution and persistence behavior, reducing informed consent and increasing the chance that a powerful bootstrap/install workflow is approved without adequate scrutiny.
The skill declares no explicit tool scope despite clearly requiring shell execution and filesystem read/write behavior via the wrapper and extraction flow. In a high-privilege mail/DNS automation skill, missing permission declarations weakens reviewability and policy enforcement, making it easier for an operator or platform to grant broader capabilities than intended.
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
ensure_private_dir() {
mkdir -p "$1"
chmod 700 "$1" 2>/dev/null || true
}
add_if_set() {
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
ensure_private_dir() {
mkdir -p "$1"
chmod 700 "$1" 2>/dev/null || true
}
add_if_set() {
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
ensure_private_dir "${STATE_ROOT}"
ensure_private_dir "${INTEL_DIR}"
if [[ -f "${ENV_FILE}" ]]; then
chmod 600 "${ENV_FILE}" 2>/dev/null || true
fi
ENTRYPOINT="$(bash "${SCRIPT_DIR}/ensure-caduceusmail.sh")"
No suspicious patterns detected.