core icon indicating copy to clipboard operation
core copied to clipboard

[Spike][8pt]Perform dynamic source code analysis to give more security related guidenance

Open fridex opened this issue 4 years ago • 20 comments

Is your feature request related to a problem? Please describe.

I, as a Thoth user, would like to consume recommendations that are derived out of dynamic source code analysis. As of now, we provide results of static source code analysis in SI workflow (derived out of tools such as bandit and cloc). Besides these static analyzers, I would like to know aspects of my application with respect to code execution.

Describe the solution you'd like

Provide a way to run dynamic source code analyzers in Thoth.

Additional context

See for example this article stating a similar solution:

https://jordan-wright.com/blog/post/2020-11-12-hunting-for-malicious-packages-on-pypi/

It might be a good idea to provide this functionality within the data aggregation workflow, but also - having a service that would check syscalls of an already existing application before pushing it to prod (e.g. to verify no data are leaked, no external communication is done) can be beneficial in many cases.

fridex avatar Nov 16 '20 07:11 fridex

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

/lifecycle stale

sesheta avatar Apr 28 '21 11:04 sesheta

/remove-lifecycle stale

fridex avatar Apr 29 '21 08:04 fridex

Part of the planned intern project.

fridex avatar Apr 29 '21 08:04 fridex

/priority backlog /sig indicators

goern avatar Apr 29 '21 10:04 goern

Rotten issues close after 30d of inactivity. Reopen the issue with /reopen. Mark the issue as fresh with /remove-lifecycle rotten.

/close

sesheta avatar Jul 15 '21 04:07 sesheta

@sesheta: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity. Reopen the issue with /reopen. Mark the issue as fresh with /remove-lifecycle rotten.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

sesheta avatar Jul 15 '21 04:07 sesheta

@fridex: This issue is currently awaiting triage. One of the @thoth-station/devsops will take care of the issue, and will accept the issue by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

sesheta avatar Jul 20 '21 10:07 sesheta

Stale issues rot after 30d of inactivity. Mark the issue as fresh with /remove-lifecycle rotten. Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

/lifecycle rotten

sesheta avatar Aug 24 '21 20:08 sesheta

Stale issues rot after 30d of inactivity. Mark the issue as fresh with /remove-lifecycle rotten. Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

/lifecycle rotten

sesheta avatar Sep 23 '21 23:09 sesheta

Rotten issues close after 30d of inactivity. Reopen the issue with /reopen. Mark the issue as fresh with /remove-lifecycle rotten.

/close

sesheta avatar Sep 23 '21 23:09 sesheta

@sesheta: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity. Reopen the issue with /reopen. Mark the issue as fresh with /remove-lifecycle rotten.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

sesheta avatar Sep 23 '21 23:09 sesheta

/lifecycle frozen

harshad16 avatar Oct 25 '21 21:10 harshad16

maybe also interessting https://archive.fosdem.org/2019/schedule/event/containers_kubectl_trace/

goern avatar Nov 23 '21 15:11 goern

/remove-lifecycle frozen /lifecycle active

mayaCostantini avatar Feb 22 '22 08:02 mayaCostantini

/assign @mayaCostantini /assign @fridex

mayaCostantini avatar Feb 22 '22 08:02 mayaCostantini

/sig stack-guidance

mayaCostantini avatar Mar 16 '22 10:03 mayaCostantini

/remove-lifecycle active

mayaCostantini avatar Apr 11 '22 14:04 mayaCostantini

/lifecycle frozen

mayaCostantini avatar Apr 11 '22 14:04 mayaCostantini

Suggestions:

  • [ ] [Spike]OSSF has an implementation of the this, maybe we can include these in prescriptions.

harshad16 avatar May 16 '22 13:05 harshad16

BTW it might be also good to check if this data source would be suitable for solver rules to automatically block malicious packages based on OpenSSF's scans.

fridex avatar May 16 '22 13:05 fridex