Giter Site home page Giter Site logo

makerdao / awesome-makerdao Goto Github PK

View Code? Open in Web Editor NEW
703.0 703.0 165.0 2.04 MB

A collection of tools, documents, articles, blog posts, interviews, and videos related to MakerDAO and the Dai stablecoin.

Home Page: https://awesome.makerdao.com/

License: GNU Affero General Public License v3.0

awesome-makerdao's People

Contributors

aburban90 avatar alexintosh avatar amy-jung avatar andersonmmi avatar chrisblec avatar colekennelly1 avatar davidutro avatar dizzy avatar doowannam avatar ethview avatar ghettodev avatar kathleenchu avatar keepkeyjon avatar lightnode avatar marcuswin avatar michaelhly avatar mikery avatar paulrberg avatar paxa1887 avatar probably-nothing1 avatar richatghettodev avatar rockfridrich avatar romaric-juniet avatar sb777 avatar sneg55 avatar stevemieskoski avatar thowar2 avatar twblack88 avatar wkampmann avatar zdumitru avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

awesome-makerdao's Issues

Multiple crtical vulns

Current image python:3.6.6 Vulns: 1097 83C260H286M468L
Minor upgrades python:3.10.0b4 Vulns: 445 12C56H86M291L

Current image | python:3.6.6

Critical : 83

python:3.10.0b4

Critical: 12

mocki information exposure graphql.js

Disable X-Powered-By header for your Express app (consider using Helmet middleware), because it exposes information about the used framework to potential attackers.

const express = require('express');
const bodyParser = require('body-parser');
const { ApolloServer } = require('apollo-server-express');
const supertest = require('supertest');
const { buildClientSchema } = require('graphql');

const generateMocks = obj => {
const result = {};
for (const property in obj) {
result[property] = () =>
typeof obj[property] === 'object' && !Array.isArray(obj[property])
? generateMocks(obj[property])
: obj[property];
}
return result;
};

const graphql = async (endpoint, req) => {
const schema = buildClientSchema(endpoint.graphql.schema);

const server = new ApolloServer({
schema,
path: '/',
mocks: endpoint.graphql.mocks ? generateMocks(endpoint.graphql.mocks) : true
});

const app = express();
app.use(bodyParser.json());
server.applyMiddleware({ app, path: '/' });

const result = await supertest(app).post('/').send(req.body);

return result.body;
};

module.exports = graphql;

XSS

res.set(
'Access-Control-Allow-Headers',
'Origin, X-Requested-With, Content-Type, Accept'
);
return res.send(graphqlResponse);

Unsanitized input from the HTTP request body flows into send, where it is used to render an HTML page returned to the user. This may result in a Cross-Site Scripting attack (XSS).

node fetch

Fix: Your dependencies are out of date, otherwise you would be using a newer node-fetch than [email protected]. Try relocking your lockfile or deleting node_modules, reinstalling and running . If the problem persists, one of your dependencies may be bundling outdated modules.
Overview
is a light-weight module that brings window.fetch to node.js

Affected versions of this package are vulnerable to Information Exposure when fetching a remote url with Cookie, if it get a Location response header, it will follow that url and try to fetch that url with provided cookie. This can lead to forwarding secure headers to 3th party.

XSS(High) mocki

res.set(
'Access-Control-Allow-Headers',
'Origin, X-Requested-With, Content-Type, Accept'
);
return res.send(graphqlResponse);

Unsanitized input from the HTTP request body flows into send, where it is used to render an HTML page returned to the user. This may result in a Cross-Site Scripting attack (XSS).

Remove duplicates

This list needs a little reorganization, because now we have some links twice, for example Stablecoin Index, mkr.tools, oasis.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.