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

raravena80 / ya / 183
78%

Build:
DEFAULT BRANCH: main
Ran 20 Jan 2026 10:07PM UTC
Jobs 1
Files 9
Run time 1min
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

20 Jan 2026 10:06PM UTC coverage: 86.128% (-4.2%) from 90.33%
183

push

circleci

web-flow
feat: Add security enhancements and code quality improvements (#57)

Security improvements:
- Add SSH key permission validation with warnings for insecure permissions
- Validate HOME environment variable with fallback to homedir.Dir()
- Add file path sanitization to prevent directory traversal attacks
- Add SCP binary validation (existence and executable check)
- Add large file handling with 1MB limit for SSH key files

Code quality improvements:
- Add context support with SSHSessionWithContext for cancellation
- Add comprehensive godoc comments to exported functions
- Improve error messages with detailed context

Test coverage:
- Add TestValidatePath for path traversal detection
- Add TestValidateSCPPath for SCP binary validation
- Add TestMakeSignerPermissions for permission validation
- Add TestMakeSignerLargeFile for size limit handling

Signed-off-by: Ricardo Aravena <raravena80@gmail.com>

41 of 67 new or added lines in 4 files covered. (61.19%)

416 of 483 relevant lines covered (86.13%)

0.98 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
92.45
-2.9% common/crypto.go
6
84.46
-1.83% ops/copy.go
7
62.71
-8.44% cmd/root.go
11
85.71
-12.77% ops/exec.go
Jobs
ID Job ID Ran Files Coverage
1 183.1 20 Jan 2026 10:07PM UTC 9
86.13
CircleCI Job
Source Files on build 183
  • Tree
  • List 9
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #183
  • d1535e60 on github
  • Prev Build on main (#181)
  • Next Build on main (#185)
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