
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
base-viewer
Advanced tools
Viewer components and library to build a 3D architecture web application
<base-viewer>
A customizable, mobile friendly 3D viewer for building interiors.
<head>
<link rel="import" href="https://code.archilogic.com/viewer/1.0.1/interior-viewer.html">
</head>
<body>
<base-viewer src="/3d-assets/some-building.ms.json" style="width:500px;height:300px;" />
</body>
<head>
<style>
.topbox {
position: absolute;
top: 5px;
left: 5px;
}
.bottombox {
position: absolute;
bottom: 5px;
left: 5px;
}
.fadeIn { … }
</style>
<link rel="import" href="https://code.archilogic.com/viewer/1.0.1/interior-viewer.html">
</head>
<body>
<base-viewer id="myViewer">
<base-loading-screen style="background:#f0f0f0">
<img src="my-company-logo.svg">
</base-loading-screen>
<data src="./3d-assets/some-building.ms.json" />
<base-webgl-renderer/>
<base-viewport>
<base-sky-map type="cylinder" src="panorama.jpg" scale="2" offsetY="-0.2"/>
<base-filter type="wireframe"/>
<base-controls>
<base-mouse pitch-lock="true"/>
<base-keyboard />
<base-touchscreen />
</base-controls>
</base-viewport>
<base-camera y="1.65" yaw="72">
<base-bookmark title="Bathroom" … />
<base-bookmark title="Living Room" … />
<base-bookmark id="cam-living-room" hide-in-menu="true" … />
</base-camera>
</base-viewer>
<div class="topbox">
<img class="logo fadeIn" src="…" alt="MyCorp" />
<archilogic-level-menu />
</div>
<div class="bottombox">
<base-cam-bookmarks-menu />
<base-camera-menu floorplan bird person /> <!-- use boolean attributes where appropriate! -->
</div>
<button class="cta" style="bottom: 5px; right: 5px;">Get your own 3D model</button>
<script>
let myViewer = document.querySelector("interior-viewer#myViewer")
myViewer.camera.stop()
console.log(myViewer.camera.getPosition())
</script>
</body>
Open source, web based and optimized for mobile.
FAQs
Viewer components and library to build a 3D architecture web application
We found that base-viewer 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
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.