-
Notifications
You must be signed in to change notification settings - Fork 13
fix(security): defense-in-depth hardening for plugin_flowview #250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from 4 commits
3334853
c33d361
26a30ff
23e16ac
4518338
3bb9764
c67621c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| version: 2 | ||
| updates: | ||
| - package-ecosystem: "npm" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "weekly" | ||
| open-pull-requests-limit: 10 | ||
| - package-ecosystem: "github-actions" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "weekly" | ||
| open-pull-requests-limit: 10 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -79,7 +79,7 @@ public function get($key) | |
| if ($this->cache_serializer == 'json') { | ||
| return json_decode($this->cache_data[$key]['object']); | ||
| } else { | ||
| return unserialize($this->cache_data[$key]['object']); | ||
| return unserialize($this->cache_data[$key]['object'], array('allowed_classes' => false)); | ||
| } | ||
|
Comment on lines
79
to
83
|
||
| } else { | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This Dependabot config enables the
npmecosystem in/, but the repo does not contain apackage.json(or lockfile) at the root. That will cause Dependabot update jobs to fail. Either remove thenpmentry or point it at the directory that actually containspackage.json(and commit the manifest if it’s intended to exist).