Skip to content

BOUNTY: integrate AWS Comprehend as a utility to redact data #290

Open

Description

@sandys

this bounty is for the javascript sdk only - https://github.com/arakoodev/EdgeChains/tree/ts/JS/edgechains

links:

this bounty will marked complete when:

  • add new classes that can be chained with existing Endpoint classes (as observables) to redact sensitive information in prompts.
  • add testcases for these classes
  • add a full working example (in example folder) and demonstrate it working using a loom.com video

Activity

  1. sandys commented on Dec 3, 2023

    @sandys
    ContributorAuthor

    /bounty 25

  2. algora-pbc commented on Dec 3, 2023

    @algora-pbc

    💎 $50 bounty • gittare

    💎 $25 bounty • Arakoo.ai

    Steps to solve:

    1. Start working: Comment /attempt #290 with your implementation plan
    2. Submit work: Create a pull request including /claim #290 in the PR body to claim the bounty
    3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

    ❗ Important guidelines:

    • To claim a bounty, you need to provide a short demo video of your changes in your pull request
    • If anything is unclear, ask for clarification before starting as this will help avoid potential rework
    • Low quality AI PRs will not receive review and will be closed
    • Do not ask to be assigned unless you've contributed before

    Thank you for contributing to arakoodev/EdgeChains!

    Attempt Started (UTC) Solution Actions
    🟢 @juandirahelia-a11y Apr 01, 2026, 10:36:59 PM #444 Reward
    🔴 @ishuu7 Dec 03, 2023, 09:39:29 AM WIP
    🟢 @alejandrorivas-pixel Jun 04, 2026, 11:15:52 PM #598 Reward
    🟢 @Myopes Mar 06, 2026, 03:53:29 PM WIP
    🟢 @maoshuorz Mar 07, 2026, 04:05:36 AM #434 Reward
    🟢 @alihani714 Apr 10, 2026, 06:53:23 AM WIP
    🟢 @alexanderxfgl-bit Apr 10, 2026, 01:23:11 PM #449 Reward
    🟢 @apollo-jpg May 11, 2026, 12:31:33 AM #474 Reward
    🟢 @josemariano-hub May 11, 2026, 07:47:23 PM #482 Reward
    🟢 @mt211211 May 11, 2026, 08:16:22 PM #483 Reward
    🟢 @Shaidyk Jun 12, 2026, 10:25:18 AM #609 Reward
    🟢 @MulaNele May 12, 2026, 03:38:02 PM #490 Reward
    🟢 @EazyHood Jun 13, 2026, 02:53:40 AM #611 Reward
    🟢 @ramrap May 13, 2026, 08:40:05 AM #494 Reward
    🟢 @oocheol May 13, 2026, 09:58:15 AM #495 Reward
    🟢 @Deivid00007 Jun 14, 2026, 07:49:19 AM #613 Reward
    🟢 @ssolis-dev May 17, 2026, 02:51:55 PM #513 Reward
    🟢 @Rohit27305 Dec 20, 2024, 06:57:53 AM WIP
    🟢 @Sambit003 Dec 20, 2023, 01:32:51 PM WIP
    🟢 @gebibd00-jpg May 22, 2026, 10:39:46 AM #540 Reward
    🟢 @Hrushi20 Dec 22, 2023, 07:01:42 PM WIP
    🟢 @Pearltechie Apr 23, 2026, 01:09:45 AM #461 Reward
    🟢 @SimplyRayYZL May 24, 2026, 01:23:39 PM WIP
    🟢 @VexCode24 May 25, 2026, 07:30:15 PM #555 Reward
    🟢 @dompiaskowa9c-hash Mar 26, 2026, 06:13:55 PM WIP
    🔴 @chintanpuggalok Dec 27, 2023, 06:04:03 PM WIP
    🟢 @nguyenduchuyhd May 27, 2026, 09:49:01 PM #561 Reward
    🟢 @GaruBrothers May 28, 2026, 12:07:01 AM #562 Reward
    🟢 @jonahsills May 28, 2026, 01:57:09 AM #564 Reward
    🟢 @misakaAron May 29, 2026, 12:35:19 PM #567 Reward
    🟢 @Qiu-Difeng May 29, 2026, 02:54:01 PM WIP
    🟢 @Jorel97 May 29, 2026, 02:48:31 PM #571 Reward
    🟢 @Somnath-Mishra Dec 30, 2024, 06:18:51 PM WIP
  3. ishuu7 commented on Dec 3, 2023

    @ishuu7

    /attempt #290

    Options
  4. sandys commented on Dec 3, 2023

    @sandys
    ContributorAuthor

    @ishuu7 thanks for your interest. before we assign this, want to check if you looked through the links, understood the code?
    are u confident of doing this and creating the video demonstration ?

  5. ishuu7 commented on Dec 3, 2023

    @ishuu7

    @ishuu7 thanks for your interest. before we assign this, want to check if you looked through the links, understood the code? are u confident of doing this and creating the video demonstration ?

    @sandys I looked through the links, Got a brief idea on what needs to be implemented. Currently going through JS sdk code to understand different classes.

  6. sandys commented on Dec 3, 2023

    @sandys
    ContributorAuthor
  7. ezhil56x commented on Dec 7, 2023

    @ezhil56x
    Contributor

    @ishuu7 Are you still working on this?

  8. Sambit003 commented on Dec 20, 2023

    @Sambit003

    /attempt #290

    Options
  9. algora-pbc commented on Dec 20, 2023

    @algora-pbc

    Note

    The user @ishuu7 is already attempting to complete issue #290 and claim the bounty. We recommend checking in on @ishuu7's progress, and potentially collaborating, before starting a new solution.

  10. Hrushi20 commented on Dec 22, 2023

    @Hrushi20

    /attempt #290

    Options
  11. chintanpuggalok commented on Dec 27, 2023

    @chintanpuggalok

    /attempt #290

    Options
  12. Rohit27305 commented on Dec 20, 2024

    @Rohit27305

    /attempt #290

  13. Somnath-Mishra commented on Dec 30, 2024

    @Somnath-Mishra

    /attempt #290

  14. samuel-asleep commented on Feb 3, 2026

    @samuel-asleep

    @sandys is Help still needed in this issue ?

  15. 151 remaining items

  16. flux-axiom commented on Nov 9, 2026

    @flux-axiom

    /attempt #290
    Submitted PR: #822 implementing redactPiiWithComprehend in JS/edgechains/lib/comprehend-redact/ with unit tests.

  17. ViviBeri commented on Nov 10, 2026

    @ViviBeri

    Hi @sandys

    I reviewed issue #290 and the existing PRs (#705, #803 and #822).

    Several implementations are already available. Before starting another contribution, could you confirm:

    1. Is this bounty still open for a new contributor?
    2. Which existing implementation is currently preferred?
    3. Would additional work on integration testing, documentation, or the Loom demonstration be useful?

    I'd prefer to contribute something that closes the remaining gaps rather than submit another duplicate implementation.

  18. almagas commented on Nov 10, 2026

    @almagas

    /claim #290

    I have implemented the AWS Comprehend PII redaction utility in PR #838.

    Features included:

    • ComprehendRedaction and AwsComprehendRedactor classes with chainable prompt sanitization.
    • Support for AWS Comprehend API DetectPiiEntitiesCommand with mockable client and local pattern fallback.
    • Unit tests covering PII redaction, asterisk masking, clean prompt passthrough, and edge cases.
    • Full runnable example in JS/edgechains/examples/comprehend-redactor/index.ts.
  19. pedropzz103-tech commented on Nov 11, 2026

    @pedropzz103-tech

    /attempt #290

    I'm interested in contributing to the JavaScript/TypeScript AWS Comprehend PII-redaction bounty with AI-assisted development (which I will disclose in any PR).

    Proposed approach:

    1. First review the existing submissions (feat(ai): integrate AWS Comprehend PII redaction utility and observable endpoint chaining (#290) #705, feat(js-sdk): add AWS Comprehend PII redaction utility (#290) and Qdrant vector DB client (#273) #803, feat(js-sdk): add AWS Comprehend PII detection & redaction utility (closes #290) #822, feat(ai): integrate AWS Comprehend utility for PII redaction (#290) #838) and the current JS SDK to avoid duplicating completed work.
    2. If there is an unaddressed, maintainer-approved gap, implement a composable redaction class consistent with the existing observable/Endpoint patterns, using a mockable Comprehend API client.
    3. Add focused tests for entity offsets, overlapping detections, empty input and failures; provide a runnable example and the requested short demonstration video.
    4. Submit a focused PR with actual test results and /claim #290 only after the missing scope and reward eligibility are confirmed.

    Given the existing PRs, could a maintainer please confirm whether there is still funded, reviewable work left on this bounty and what specific gap should be prioritized? I have not implemented a patch or claimed payment.

  20. satoshinakamoto666666 commented on Nov 11, 2026

    @satoshinakamoto666666

    /claim #290

    Submitted complete, unit-tested implementation in PR: #845

    Implementation & Verification Summary

    Payout Wallets

    • EVM (ERC-20 / Base / Arbitrum / Polygon / Optimism / Gnosis): 0x971b573b47357c22a67FcE8c56Aaeb478356C942
    • Solana (SOL / USDC): Aw2hhJvjewAcxssyWMzKmFge6jWxEzN6GiFQgyZNKakt
    • Stellar (XLM / USDC): GCJZA6CW23ABZSJIPSDCDHWAKDC35BQCSKDDMTIAKTCCZ6K3HV7TLOTD
    • RustChain Mainnet RTC: RTCfe0ac752b80e543048c0d91e7dddd1277678b8a5 (bcn_fe0ac752b80e)
    • Tari Mainnet XTM: 14KXqz6bKtJLq61guEFup3BWMarTDaxwwWBEcsYGtaFwXcvpLu5iJzBxnH88Mn8QSnvkEJZ2NcWy4Lw3ZcUtr4hvbkG
  21. wuliangshangren commented on Nov 11, 2026

    @wuliangshangren

    /attempt #290

    Implementation completed and submitted in PR #809: #809

    The PR includes the AWS Comprehend PII redaction utility, observable endpoint chaining, unit tests, a working example, and a public demonstration video.

  22. added a commit that references this issue on Nov 13, 2026
    0a4035c
  23. ItsMeSoumo commented on Nov 13, 2026

    @ItsMeSoumo

    /attempt #290

    Implementation Plan: AWS Comprehend PII Data Redaction for EdgeChains

    I would like to claim this bounty to build the AWS Comprehend PII redaction utility in EdgeChains.

    Technical Architecture & Deliverables:

    1. AWS Comprehend Client Integration:
      • Implement asynchronous and batched PII entity detection using boto3 (comprehend.detect_pii_entities).
      • Configure AWS credential management, region routing, and rate-limit retry handlers with exponential backoff.
    2. Entity Redaction & Masking Logic:
      • Support customizable masking strategies: replacement with entity labels (e.g. [SSN], [NAME], [EMAIL]), SHA-256 token hashing, or complete redaction.
      • Maintain character offset alignment to avoid text distortion in prompt contexts.
    3. Chain & Middleware Integration:
      • Plug the redaction utility as pre-processing middleware across EdgeChains prompt endpoints before routing to LLM providers.
    4. PyTest Suite & Documentation:
      • Unit tests covering various PII entity types, mock AWS responses, empty strings, and multi-language edge cases.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions