smartcontractkit / smartcontractkit/chainlink

[FEAT] Allow to set headers on External Adaptor calls

Open
#7,431 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
8.2k
Forks
2k
Avg merge
1d 23h
Merged PRs (30d)
202

Description

Description
I want to protect an external adaptor so that only whitelist nodes can access it.

Right now, I can protect whoever makes requests to my operator.

Requesters -> Operator -> External Adaptor (This is secured!)

However, I can't protect who calls my External Adaptor directly.

Malicious Actor -> External Adaptor (Not secured)

Ideally on the UI below, we would be able to set an auth header with a secret api key.
Screenshot 2022-09-14 at 14 29 16

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the External Adaptor call configuration and the UI shown in the issue, then trace how requests reach the adaptor. Define how an authentication header and secret API key should be configured and sent, with completion requiring direct External Adaptor calls to be restricted to requests carrying the configured credential.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.