
Security News
Feross on the 10 Minutes or Less Podcast: Nobody Reads the Code
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.
super-easy-forms
Advanced tools
a script that generates serverless backends for contact forms using AWS
**This is the repo for Super Easy Forms 2.0. The First Version has been moved to this other repo

Super Easy Forms is a tool that generates serverless web forms (front-end and back-end) in seconds. it leverages CloudFormation to create all of your necessary resources in the AWS cloud including a A Dynamo DB table, an API Gateway endpoint, and a Lambda function. It also automatically generates a ready-to-go html contact form that you can copy-paste into your site. the tool is fast, easy to use/integrate, and completely free as all the AWS resources created have a free tier. Version 2.0 now features increased usability, security, and flexibility.
if you dont have an existing static website project you can create a new directory mkdir project-name replacing project-name with the desired name for your project.
Go into your desired project's directory cd project-name and install super easy forms npm install super-easy-forms
Install the super easy forms CLI globally npm install -g super-easy-forms-cli
Run the build command Run sef build -r=your-aws-region -p=profile-name from the root of your project's directory. replace profile-name with the desired name of the IAM user and your-aws-region with the desired AWS region code.
Finish creating your IAM user in the AWS Console and hold on to the access keys. If you had already created your IAM user you can ignore this step and close the browser window.
Update the local profile in your machine. The local profiles are stored in ~/.aws/credentials in mac/linux or in C:\Users\USER_NAME\.aws\credentials in windows. you can create/edit this file by runing sudo nano ~/.aws/credentials. add the profile keys in the format shown bellow.
[profilename]
aws_access_key_id = <YOUR_ACCESS_KEY_ID>
aws_secret_access_key = <YOUR_SECRET_ACCESS_KEY>
run sef init formname replace formname with the name you want to give to your new form. For example the domain name followed by paymentform.
edit the config file saved in ./forms/formname/config.json and add values for the variables shown bellow following the same format. captcha, emailMessage and emailSubject are optional.
run sef fullform formname
{
"email":"your@email.com",
"formFields":{
"fullName": {"type":"text", "label":"Full,Name", "required":true},
"email": {"type":"email","label":"Email","required":true},
},
"captcha":false,
"emailSubject":"",
"emailMessage":"",
}
Optionally you can provide your desired values directly as CLI flags without having to edit the config file as shown in the command bellow.
sef fullform formname --email=your@email.com --fields=fullName=text=required,email=email=required
const SEF = require('super-easy-forms')
SEF.CreateForm(formName, options, function(err, data){
if(err) console.error(err)
else{
//Do Something
}
})
FAQs
a script that generates serverless backends for contact forms using AWS
We found that super-easy-forms 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.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.