• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

newrelic / nri-flex / 26756226152 / 1
32%
master: 31%

Build:
Build:
LAST BUILD BRANCH: renovate/ubuntu
DEFAULT BRANCH: master
Ran 01 Jun 2026 12:58PM UTC
Files 47
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Jun 2026 12:55PM UTC coverage: 31.587% (+0.1%) from 31.491%
26756226152.1

Pull #642

github

ujwalsah
fix: resolve CodeQL go/insecure-hostkeycallback in SCP

Replace ssh.InsecureIgnoreHostKey() with proper known_hosts verification.

Changes:
- Default behavior requires hosts in ~/.ssh/known_hosts
- known_hosts_file: specify a custom path (supports ~ expansion)
- skip_host_key_verification: explicit opt-in for insecure behavior
  (logs warning once via sync.Once, uses custom callback to avoid
  triggering CodeQL on ssh.InsecureIgnoreHostKey)
- Returns clear error with instructions if known_hosts file not found
- No filesystem side effects (doesn't create files/directories)
- Added unit tests for getHostKeyCallback and expandHome

Resolves NR-560141.
Pull Request #642: fix: resolve CodeQL go/insecure-hostkeycallback in SCP

2020 of 6395 relevant lines covered (31.59%)

9.06 hits per line

Source Files on job run-linux - 26756226152.1
  • Tree
  • List 47
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 26756226152
  • 1a243bdf on github
  • Prev Job for on fix/codeql-insecure-hostkeycallback (#26742293462.1)
  • Next Job for on fix/codeql-insecure-hostkeycallback (#26877808125.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc