
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
github.com/euripidean/final-project
This package allows you to visualize data from a Google Sheets spreadsheet in a web browser. You can pass the ID of the Google Sheets spreadsheet as a flag at runtime, and the program will read the data from the spreadsheet, marshal it into a JSON object, and save it to a file. The program will then read the JSON object and display the data in an HTML bar chart using D3.js.
Clone the repository
Run go build
in the root directory
Run the executable using go run main.go
with the following flags:
-sid
(optional): The ID of the Google Sheets spreadsheet you want to visualize. If you don't pass it as a flag, the default value will be the value of the SPREADSHEET_ID
environment variable.-f
(optional): The name of the file where the JSON data will be saved (default: data.json
). This will also be the name of the HTML file that will be served.Open a web browser and navigate to http://localhost:3030/<file>.html
to see the visualizations
`API_KEY` - Your Google Cloud Console API key, which must have the Google Sheets API enabled
`SPREADSHEET_ID` - The ID of the Google Sheets spreadsheet you want to visualize. This is optional, as you can pass it as a flag at runtime. However, if you don't pass it as a flag, the default value will be the value of this environment variable.
`READ_RANGE` - The range of the Google Sheets spreadsheet you want to read. I recommend using the range `Sheet1!A1:Z1000` to read the entire sheet.
API_KEY
environment variable-sid
(required): The ID of the Google Sheets spreadsheet you want to visualize-file
(optional): The name of the file where the JSON data will be saved (default: data.json
). This will also be the name of the HTML file that will be served.http://localhost:5500/<file>.html
to see the visualizationsFAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.