Repair an offline multi-vault credential helper so it copies exact secrets safely and handles provider and clipboard failures.
Run
harbor run -t skill2env/task_c-secrets_wfg3kjgf
Download
harbor download skill2env/task_c-secrets_wfg3kjgf
Details
Revision
1
Published
Sep 18, 2026
Visibility
Public
Authors
skill2env
Content hash
Keywords
c-secrets
build_to_spec
extended
bash
python3
Repair Aster Bay's credential clipboard helper
The inherited /workspace/bin/credclip helper is leaking credentials and reporting success when nothing was safely copied. Repair it so support engineers can run:
text
credclip PROVIDER ITEM FIELD
Use the local integration contract in /workspace/share/credclip/operator-policy.md; /workspace/share/credclip/requests.tsv contains representative requests.
Required outcomes:
Support both op and bw, including item names and field names containing spaces or shell punctuation.
Copy the requested secret through the supplied pbcopy sink without displaying or saving the secret anywhere else.
On a complete success, exit zero and print only Copied to clipboard followed by a newline.
On validation, vault, lookup, or clipboard errors, exit nonzero, never print the success message, and emit only a safe diagnostic.
Follow the clipboard state rules in the operator policy so failed retrievals cannot leave stale credentials available.
Keep the provider emulators, vault fixtures, and clipboard shim unchanged; the deliverable is the repaired /workspace/bin/credclip executable.