Devblog of Sam Klein

Limitations of Opensource Security

Opensource is resistant to administrative cultural change. Without senior management, there is no appeals to make over tightening security holes. And since there are no managers to file a report to, rhetorical arguments rely on PoC and therefore demonstrations of a materially "real" threat to the "user." All symbolic instances reflect a subjective judgement from the maintainer who is already burnt out from feature creep and broader development projects.

A temptation is to rely on AI or automated work to reliably construct demonstrations, but the problem with AI usage is that it generates more work for the analyst. Analyst time is restricted to the finding of a security issue, confirming it, and reporting it. PoCs are viable but take up much of their time in documentation. Therefore I suggest two branches for the opensource security analyst.

The first is to develop a sense of leeway for opensource projects: not all security bugs are such -- they can be smaller bugs. These bugs are static source analysis findings: traditionally logs being written to another output or unauthorized changes to developer tools may be classified as security bugs, opensource developers see these reports regardless how detailed and painstakingly written as noise. Developer tools are not production tools. And that is a mistranslation of culture in opensource and production-ready tools for enterprise.

The second approach is to report hardening issues such as escaped HTML as an issue and suggest a one-line change to mitigate as a security engineer rather than a report as a security analyst. Since developers lack time to review the whole scope of the issue, an hardening issue resolves the immediate security concern regardless how unlikely it's to be exploited. Eventually automated tools will catch these hardening issues, but as for now, junior analysts can focus their time on this in opensource technology projects.

Following this method, the security analyst should be able to make effective change to security posture of a broad range of opensource projects without fearing outright rejection and may also be able to earn trust to make a large report or audit in the future.