
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
gatsby-source-formspree
Advanced tools
The gatsby-source-formspree plugin uses Formspree's API to fetch form submissions. This allows Gatsby site creators to include user submissions in their website output.
You can find out more about Formspree here and the Formspree API here.
To install it, in the root of your site run:
npm install --save gatsby-source-formspree
Then add the plugin to your gatsby-config.js file including your form ID and API key:
{
resolve: "gatsby-source-formspree",
options: {
form: "YOUR_FORM_ID",
key: "YOUR_API_KEY",
},
},
You can obtain your form ID by creating a new form in the Formspree dashboard and then copying the 6 digit ID from the form's URL. See Getting your form's hashid in the Formspree help docs.
To create an API key, go into the new form's settings panel and enable the API. Then copy your read-only key and add it to the gatsby config. See API Keys in the Formspree help docs.
This plugin could be used any time you want to display user submitted content on your website. Here are some ideas:
Each of these ideas could be coupled with a deploy hook to rebuild your site when a form is submitted.
This usually shows a code example showing how to include this plugin in a site's config.js file.
code example
//See this Markdown Cheatsheet on how to format code examples.
This section could also include before-and-after examples of data when the plugin is enabled, if applicable.
If this is a source plugin README, source plugins ought to allow people to query for data within their Gatsby site. Please include code examples to show how to query for data using your source plugin.
If you have unanswered questions, would like help with enhancing or debugging the plugin, it is nice to include instructions for people who want to contribute to your plugin. Starter README template
FAQs
A Gatsby source plugin that fetches formspree submissions
The npm package gatsby-source-formspree receives a total of 1 weekly downloads. As such, gatsby-source-formspree popularity was classified as not popular.
We found that gatsby-source-formspree demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.