소스 정보
- 저장소
- lukemcqueen/hermes-cortex
- 최근 소스 활동
- 2026년 8월 4일 09:57
- 감지된 SKILL.md 언어
- 영어
- 스타
- 4
- 포크
- 1
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/lukemcqueen/hermes-cortex --skill credential-leak-response명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Cross-server agent health monitoring using binary status vectors — deploy health endpoints on each agent, poll from orchestrator, alert on state transitions.
Wire a self-hosted Langfuse instance to Hermes Agent — generate API keys, configure env vars, enable the bundled plugin, install SDK, and verify traces flow.
Use before enforcement code changes or shared-repo commits.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | credential-leak-response |
| version | 1.0.0 |
| category | security |
| description | Use when a credential leaks — verify live, scrub, rotate. |
| metadata | {"hermes":{"tags":["security","credentials","leak","rotation","secrets","incident-response"],"related_skills":["secure-credential-handling","pii-scrubbing","cortex-bus"]}} |
Test the credential against an auth-gated endpoint (e.g. /api/pgmq/queues,
NOT /health, which may or may not be gated), and always run a deliberately
wrong credential as control:
curl -sk -o /dev/null -w "%{http_code}" --basic -u "moses:LEAKED_VALUE" https://host:13004/api/pgmq/queues # 200 = live
curl -sk -o /dev/null -w "%{http_code}" --basic -u "moses:WRONG_CONTROL" https://host:13004/api/pgmq/queues # 401 = baseline
A 200 without the 401 baseline proves nothing. For bearer tokens, test against the DIRECT localhost bus port — Bearer through nginx is ignored (nginx demands Basic and sets X-Forwarded-User), so a token that "401s" through nginx can still be LIVE locally.
A token's owner is the DB row whose hash matches — never the account name in
the config/doc that carried it. (The "esther" setup guide actually held
moses' bus token; esther's .env was seeded with it, so it authenticated
as moses with full queue privileges.) Hash + lookup, then rotate the MAPPED row:
python3 -c "import hashlib; print(hashlib.pbkdf2_hmac('sha256', b'<token>', b'<salt>', <iters>).hex())"
# → SELECT agent_name FROM <tokens_table> WHERE token_hash='<hash>' AND is_active=true;
Use the system's own hash function (check the auth module) — don't guess the algorithm/salt.
The value remains in git history (git show <old-commit>:<file>), and the
credential may still be live server-side. Two closures:
git-filter-repo (see pii-scrubbing skill Phase 4) — needs user authorization, force-push coordinationDo whichever the user authorizes. Scrubbing alone only stops NEW exposure.
In comments/examples describe it ("a 16-char hex password") — never repeat the value. (Almost re-embedded the leaked password in the detector's own history comment while scrubbing.)
One value was in 6 files across 6 commits. git grep -l <string> finds every
current copy; git log -S <string> finds the commits that introduced it (dates
matter for exposure windows).
The pre-commit secret-leak-detector.sh was warn-only (exit 0) from creation,
which let the live credential through every commit for 12 days. Since
2026-08-03 it blocks (exit 1) real-looking inline creds
(curl -u "user:<12+ alnum>"); placeholders (your-password, $(cat file),
short demos) stay warn-only. If a commit is blocked: replace the literal — do
NOT --no-verify. When the detector report prints "N potential leaks",
REVIEW every line before pushing; don't tail-past the report.
cortex-bus skill →
references/credential-rotation.md — token rotation steps, bearer-vs-Basic
exposure model, htpasswd rotation blockers (sudo password required,
Docker userns remapping kills container-root writes, postgres images run as
USER postgres → --user root, gateway parser rejects ssh+heredoc → scp the
script), concurrent-session git safety.--no-verify to push a blocked commit → bypasses the enforcement the leak taught you to build.secure-credential-handling (user-owned) — behavioral rules for not leaking secrets into command strings in the first placepii-scrubbing (user-owned) — full repo PII inventory + git-filter-repo history rewritecortex-bus — bus-specific credential rotation playbook