AR

Summary

  • add an AWSComprehend utility to @arakoodev/edgechains.js/ai using the official AWS Comprehend client
  • support PII detection, score/entity filtering, custom redaction replacements, containsPii(), and redactPrompt()
  • add redactPromptOptions() and asPromptMiddleware() so prompt/message options can be redacted before existing endpoint calls
  • keep ComprehendPIIRedactor as a compatibility alias
  • add Vitest coverage for default redaction, filtered custom replacement behavior, prompt-option redaction, and the alias
  • add an aws-comprehend-redaction Jsonnet example with prompt/config outside TypeScript

/claim #290

Closes #290.

Validation

  • npx vitest run src/ai/src/tests/comprehendPIIRedactor.test.ts
  • npm run build in JS/edgechains/arakoodev
  • npm run build in JS/edgechains/examples/aws-comprehend-redaction after building the local package

Claim

Total prize pool $75
Total paid $0
Status Pending
Submitted June 04, 2026
Last updated June 04, 2026

Contributors

AL

alejandrorivas-pixel

@alejandrorivas-pixel

100%

Sponsors

AR

Arakoo.ai

@arakoodev

$25
GI

gittare

@gittare

$50