1 Star 0 Fork 1

gitee_jz / go-filecoin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
KNOWN_ISSUES.md 2.36 KB
一键复制 编辑 原始数据 按行查看 历史

Known issues

WARNING: The Go Filecoin implementation is a work in progress.

go-filecoin is development-ready, but not production ready. The majority of development focus to date has been on the block-chain and protocol building blocks. There are a number of security and scaling issues that we are yet to shake out.

This implementation is evolving from a prototype to a reference implementation. You should carefully consider the work-in-progress state of this effort when deciding whether and how to run a filecoin node.

Specific known security shortcomings we have yet to resolve include, but are not limited to:

  • Bootstrapping is not secure, e.g. there is nothing to prevent a eclipse attack.
  • There is no mechanism to mitigate spamming by bad players in the network.
  • Keys in the wallet are not encrypted.
  • The proofs implementation is incomplete.
  • Protocol implementations are incomplete, including
    • incomplete consensus rules (blocks not signed, tickets not properly checked, no finality),
    • no slashing for bad behavior,
    • no penalties for miners omitting a proof, mining power isn't verified.
  • The HTTP RPC endpoints are not secured. Anyone who can open a connection to the RPC API port of the node can issue requests, including administrative actions and transfers of value.
  • Inputs are not sanitised; bad input can likely panic the node.
  • Content checking is not strictly enforced.
  • Client data is not encrypted by default.
  • Some caches grow without bound, presenting a DOS vector.
  • Faucet rate limiting is primitive and not difficult to subvert.
  • Dashboard statistics are easy to pollute.

When performing new work, contributors should observe stronger security-consciousness, including being sure that:

  • DOS vectors are identified and defended (e.g. caches cannot grow infinitely);
  • unexpected or malformed inputs cannot cause a panic or the process to exit;
  • information, including error messages, cannot not leak, for example in a network message;
  • content reference by content identifier is validated as having that identifier.

Having said all this, we invite and welcome contribution of issues for specific problems in the code. If you notice a security issue please label it with the i-security label. If you notice a scaling issue please label it with the i-scaling label.

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/gitee_jz/go-filecoin.git
git@gitee.com:gitee_jz/go-filecoin.git
gitee_jz
go-filecoin
go-filecoin
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891