Skip to content

feat(surrogate): implement in-memory volatile decoy surrogate redactor (Phase 1) - #33

Merged
divyanshujethi merged 5 commits into
mainfrom
feat/phase1-surrogate-redactor
Nov 8, 2026
Merged

divyanshujethi merged 5 commits into
mainfrom
feat/phase1-surrogate-redactor

Conversation

@divyanshujethi

Copy link
Copy Markdown
Collaborator

Phase 1: Implements SurrogateManager with deterministic AST credential matching (AKIA..., ghp_..., sk-..., Bearer...) and Shannon entropy analysis (H > 4.5), substituting secrets with volatile decoy surrogates (RD_SURROGATE_) before child process execution.

@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown

👋 Thanks for opening this Pull Request, @divyanshujethi!

Thank you for contributing to AgentShield! 🛡️

Here is what happens next:

  1. 🧪 Automated Security Gate: Our CI workflow (pr-gate.yml) audits your diff for accidental credential exposure and runs test suites.
  2. 🔍 Code & Security Review: A maintainer from @RitualDev-Lab will review your changes shortly.
  3. 🌟 Contributor Recognition: Once merged, you'll be featured on our contributors list!

💡 Tip: Make sure secrets/mock API keys in tests are synthetic/redacted and tests pass locally (pnpm test).

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

🛡️ AgentShield Pull Request Security Audit

✅ Security Gate Passed — No Exposed Secrets Detected

  • Files Audited: 3
  • Commit Evaluated: b33c329
  • Status: Diff is clean. Zero-leak credential policy verified for autonomous AI & developer tools.

AgentShield: OWASP LLM06 Compliant


Protected by AgentShield — Zero-Leak Security for AI Agents & Engineering Teams.

Comment thread tests/surrogate.test.ts Fixed
Comment thread tests/surrogate.test.ts Fixed
Comment thread tests/surrogate.test.ts Fixed
Comment thread tests/surrogate.test.ts Fixed
Comment thread tests/surrogate.test.ts Fixed
Comment thread tests/surrogate.test.ts Fixed
@divyanshujethi
divyanshujethi merged commit 6c69caa into main Nov 8, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants