Skip to content
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

Ezgov api and ui integration #351

Closed
wants to merge 4 commits into from

Conversation

bhatiadheeraj
Copy link
Contributor

No description provided.

- Add endpoint to create a new project (`POST /ezgov/project`)
- Add endpoint to update an existing project (`PUT /ezgov/project/:id`)
- Add endpoint to retrieve all projects (`GET /ezgov/projects`)
- Add endpoint to retrieve a specific project by ID (`GET /ezgov/project/:id`)
- Add endpoint to upload documents to a project (`POST /upload/:projectId`)
- Add endpoint to retrieve a specific document by project ID and document ID (`GET /project/:id/document/:docId`)
- Add endpoint to update details of a specific document within a project (`PUT /project/:id/document/:docId`)
- Add endpoint to serve the file of a specific document within a project (`GET /project/:projectId/file/:fileName`)
Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/autoprefixer@7.2.6 Transitive: environment, filesystem +3 2.57 MB ai
npm/axios@0.18.1 environment, network +2 318 kB emilyemorehouse
npm/babel-core@6.26.3 environment, filesystem, unsafe Transitive: eval, network +25 3.34 MB loganfsmyth
npm/babel-eslint@8.2.6 unsafe Transitive: environment +19 1.64 MB hzoo
npm/babel-loader@7.1.5 environment, filesystem +2 38.4 kB hzoo
npm/babel-plugin-istanbul@4.1.6 environment, filesystem +2 25.4 kB bcoe
npm/babel-plugin-transform-runtime@6.23.0 Transitive: environment, eval, filesystem +2 2.33 MB loganfsmyth
npm/babel-preset-env@1.7.0 Transitive: environment, eval, filesystem, network +64 5.7 MB existentialism
npm/babel-preset-stage-2@6.24.1 Transitive: environment, eval, filesystem, network +42 3.16 MB hzoo
npm/babel-register@6.26.0 environment, filesystem Transitive: eval +3 2.32 MB hzoo
npm/bibtex@0.9.0 None 0 505 kB digitalheir
npm/bootstrap-vue@2.23.1 Transitive: environment, filesystem, network, shell +9 54.1 MB xanf
npm/brace@0.11.1 None 0 8.46 MB thlorenz
npm/chai@4.3.10 None +4 805 kB keithamus
npm/chromedriver@2.46.0 environment, filesystem, shell Transitive: network +15 214 kB giggio
npm/compression-webpack-plugin@1.1.12 Transitive: environment, eval, filesystem, unsafe +10 887 kB evilebottnawi
npm/connect-history-api-fallback@1.6.0 None 0 11.5 kB bripkens
npm/copy-webpack-plugin@4.6.0 Transitive: environment, eval, filesystem, unsafe +17 975 kB evilebottnawi
npm/cross-env@5.2.1 environment Transitive: filesystem, shell +1 49.1 kB kentcdodds
npm/cross-spawn@5.1.0 environment, filesystem, shell 0 16.7 kB satazor
npm/css-loader@0.28.11 Transitive: environment, filesystem +23 19.6 MB michael-ciniawsky
npm/emoji-mart-vue@2.6.6 eval 0 3.91 MB david-collingwood
npm/eslint-config-standard@10.2.1 None 0 13.8 kB feross
npm/eslint-friendly-formatter@3.0.0 environment +4 96.1 kB royriojas
npm/eslint-loader@1.9.0 None 0 20.1 kB moox
npm/eslint-plugin-html@4.0.6 Transitive: network +7 248 kB benoitz
npm/eslint-plugin-import@2.29.0 filesystem, unsafe Transitive: eval +38 4.09 MB ljharb
npm/eslint-plugin-node@5.2.1 filesystem +2 234 kB mysticatea
npm/eslint-plugin-promise@3.8.0 None 0 37.2 kB macklinu
npm/eslint-plugin-standard@3.1.0 None 0 27.7 kB feross
npm/eslint@4.19.1 filesystem, unsafe Transitive: environment, eval, shell +47 9.49 MB eslint
npm/eventsource-polyfill@0.9.6 None 0 21.3 kB amvtek
npm/express@4.18.2 environment, filesystem, network Transitive: eval +19 861 kB dougwilson
npm/extract-text-webpack-plugin@3.0.2 filesystem 0 47 kB d3viant0ne
npm/file-loader@1.1.11 Transitive: eval, filesystem +6 1.08 MB michael-ciniawsky
npm/filesize@4.2.1 None 0 16.4 kB avoidwork
npm/friendly-errors-webpack-plugin@1.7.0 environment +3 67.2 kB timneutkens
npm/function-bind@1.1.2 None 0 31.4 kB ljharb
npm/html-webpack-plugin@2.30.1 filesystem, unsafe Transitive: environment, eval, network, shell +9 1.52 MB jantimon
npm/http-proxy-middleware@0.17.4 network +4 342 kB chimurai
npm/ify-loader@1.1.0 Transitive: filesystem, shell +7 122 kB bpostlethwaite
npm/inject-loader@3.0.1 None 0 19.6 kB justinmorris
npm/is-mergeable-object@1.1.1 None 0 2.25 kB tehshrike

🚮 Removed packages: npm/@cdxoo/dbscan@1.0.3, npm/@influxdata/influxdb-client@1.29.0, npm/amqp@0.2.7, npm/archiver@5.3.1, npm/async@3.2.4, npm/aws-sdk@2.1227.0, npm/axios@0.21.4, npm/body-parser@1.20.0, npm/brainlife@1.7.0, npm/chai@4.3.6, npm/compression@1.7.4, npm/cors@2.8.5, npm/coveralls@3.1.1, npm/crypto@1.0.1, npm/eslint-plugin-vue@9.8.0, npm/eslint@8.30.0, npm/express-jwt@6.1.2, npm/express-winston@3.4.0, npm/express@4.18.1, npm/gunzip-stream@1.0.1, npm/istanbul@0.4.5, npm/keyword-extractor@0.0.20, npm/mathjs@10.6.4, npm/mocha@5.2.0, npm/mongoose@6.6.3, npm/morgan@1.10.0, npm/n-stopwords@1.1.2, npm/nocache@2.1.0, npm/node-geocoder@3.29.0, npm/nodemailer@6.8.0, npm/pkgcloud@2.2.0, npm/redis@4.3.1, npm/request-promise-native@1.0.9, npm/request-promise@4.2.6, npm/request@2.88.2, npm/ssh2@1.11.0, npm/stream-meter@1.0.4, npm/supertest@3.4.2, npm/tar@4.4.19, npm/tmp@0.2.1, npm/winston@3.8.2, npm/xml-escape@1.1.0, npm/xml2js@0.4.23

View full report↗︎

Copy link

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSourceCI
Install scripts npm/highlight.js@9.18.5
  • Install script: postinstall
  • Source: node deprecated.js
  • orphan: npm/highlight.js@9.18.5
🚫
Install scripts npm/core-js@2.6.12
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"
🚫
Protestware/Troll package npm/es5-ext@0.10.62
  • Note: This package prints a protestware console message on install regarding Ukraine for users with Russian language locale
  • orphan: npm/es5-ext@0.10.62
🚫
Install scripts npm/es5-ext@0.10.62
  • Install script: postinstall
  • Source: node -e "try{require('./_postinstall')}catch(e){}" || exit 0
  • orphan: npm/es5-ext@0.10.62
🚫
Install scripts npm/fsevents@1.2.13
  • Install script: install
  • Source: node install.js
  • orphan: npm/fsevents@1.2.13
🚫
Install scripts npm/chromedriver@2.46.0
  • Install script: install
  • Source: node install.js
🚫
Install scripts npm/bootstrap-vue@2.23.1
  • Install script: postinstall
  • Source: opencollective || exit 0
🚫
Potential typo squat npm/gl-buffer@2.1.2
  • orphan: npm/gl-buffer@2.1.2
🚫

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

What is protestware?

This package is a joke, parody, or includes undocumented or hidden behavior unrelated to its primary function.

Consider that consuming this package may come along with functionality unrelated to its primary purpose.

What is a typosquat?

Package name is similar to other popular packages and may not be the package you want.

Use care when consuming similarly named packages and ensure that you did not intend to consume a different package. Malicious packages often publish using similar names as existing popular packages.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/highlight.js@9.18.5
  • @SocketSecurity ignore npm/core-js@2.6.12
  • @SocketSecurity ignore npm/es5-ext@0.10.62
  • @SocketSecurity ignore npm/fsevents@1.2.13
  • @SocketSecurity ignore npm/chromedriver@2.46.0
  • @SocketSecurity ignore npm/bootstrap-vue@2.23.1
  • @SocketSecurity ignore npm/gl-buffer@2.1.2

@bhatiadheeraj bhatiadheeraj deleted the ezgov_api branch July 29, 2024 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant