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

raravena80 / ya / 182 / 1
86%
main: 78%

Build:
Build:
LAST BUILD BRANCH: feat/missing-features-and-test-coverage
DEFAULT BRANCH: main
Ran 20 Jan 2026 09:52PM UTC
Files 9
Run time 0s
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 09:51PM UTC coverage: 86.128% (-4.2%) from 90.33%
182.1

Pull #57

circleci

raravena80
feat: Add security enhancements and code quality improvements

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>
Pull Request #57: feat: Add security enhancements and code quality improvements

416 of 483 relevant lines covered (86.13%)

0.98 hits per line

Source Files on job 182.1
  • Tree
  • List 9
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 182
  • CircleCI Build #
  • 8266f37c on github
  • Prev Job for on feat/security-quality-improvements (#181.1)
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