microsoft / microsoft/go

Build official build using `buildmode=pie`, relro, stack protection

Open
#104 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

BinSkim
Dominant language
Go
Stars
431
Forks
44
Avg merge
21h 18m
Merged PRs (30d)
30

Description

Normally, Go builds without PIE (Position Independent Executable) or other C-style security measures because these attacks are dealt with at a language/runtime level: https://groups.google.com/g/golang-nuts/c/Jd9tlNc6jUE. However, Go compiles to native binaries, so our SDL tooling (binskim) treats it like any other binary and scans for these security measures.

Cgo and unsafe may make it worthwhile to apply the C-style security measures to Go, but this is debatable.

Contributor guide

No contributing guide indexed for this repository

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

The issue names no repository files, tests, or build entry points. Start by reviewing the official Go buildmode=pie documentation and the binskim expectations, then assess how cgo flags would apply; done requires a decided build configuration that satisfies the intended security checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
build-system, 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.