Skip to content

LeoYeAI/agent-master-skills / skills/agentsecrets

agentsecrets

Verified

Zero-knowledge secrets infrastructure — AI agents manage the complete credential lifecycle without ever seeing values

FileKindSize
README.mdmarkdown2.9 KB
SKILL.mdskill md24.3 KB
_meta.jsonconfig811 B
scripts/check-health.shscript1.3 KB
scripts/secure-call.shscript1.3 KB

scripts/secure-call.sh

View on GitHub
#!/usr/bin/env bash
# SECURITY MANIFEST
# =================
# Environment variables accessed: None
# External endpoints called: User-specified URL (first argument)
# Local files read: OS keychain (via agentsecrets binary, not directly)
# Local files written: ~/.agentsecrets/proxy.log (audit trail, key names only)
# Network: Outbound HTTPS to first argument URL only
# =================

set -euo pipefail

# Usage: secure-call.sh <url> [--method METHOD] [--bearer KEY] [--header Name=KEY] ...
# Passes all arguments directly to agentsecrets call.
# This wrapper exists to provide the SECURITY MANIFEST for ClawHub scanning.

if ! command -v agentsecrets &>/dev/null; then
    echo "ERROR: agentsecrets not installed. Run: pip install agentsecrets"
    exit 1
fi

# Validate at least a URL is provided
if [ $# -lt 1 ]; then
    echo "Usage: secure-call.sh --url <URL> --bearer <KEY_NAME> [options]"
    echo ""
    echo "All arguments are passed to 'agentsecrets call'."
    echo "Run 'agentsecrets call --help' for full options."
    exit 1
fi

# Sanitize: reject arguments containing shell metacharacters
for arg in "$@"; do
    if [[ "$arg" =~ [\;\|\&\$\`\(] ]]; then
        echo "ERROR: Invalid character detected in argument. Aborting for safety."
        exit 1
    fi
done

# Pass through to agentsecrets call
exec agentsecrets call "$@"
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall